switch to pnpm

This commit is contained in:
Fractal-Tess
2022-09-18 04:10:30 +03:00
parent 99cfe08232
commit 8472508005
5 changed files with 2993 additions and 1826 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env sh #!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh" . "$(dirname -- "$0")/_/husky.sh"
yarn lint pnpm lint
yarn format pnpm format

View File

@@ -17,7 +17,7 @@
"build": "tauri build", "build": "tauri build",
"dev": "tauri dev", "dev": "tauri dev",
"format": "prettier --write .", "format": "prettier --write .",
"preinstall": "npx only-allow yarn", "preinstall": "npx only-allow pnpm",
"postinstall": "husky install", "postinstall": "husky install",
"lint": "prettier --check . && eslint .", "lint": "prettier --check . && eslint .",
"start": "tauri dev", "start": "tauri dev",
@@ -59,5 +59,5 @@
"typescript": "^4.8.3", "typescript": "^4.8.3",
"vite": "^3.1.0" "vite": "^3.1.0"
}, },
"packageManager": "yarn@1.22.19" "packageManager": "pnpm@7.9.3"
} }

2987
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,8 @@
{ {
"$schema": "../node_modules/@tauri-apps/cli/schema.json", "$schema": "../node_modules/@tauri-apps/cli/schema.json",
"build": { "build": {
"beforeBuildCommand": "yarn svelte:build", "beforeBuildCommand": "pnpm svelte:build",
"beforeDevCommand": "yarn svelte:dev", "beforeDevCommand": "pnpm svelte:dev",
"devPath": "http://localhost:3000", "devPath": "http://localhost:3000",
"distDir": "../dist" "distDir": "../dist"
}, },

1820
yarn.lock

File diff suppressed because it is too large Load Diff