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
. "$(dirname -- "$0")/_/husky.sh"
yarn lint
yarn format
pnpm lint
pnpm format

View File

@@ -17,7 +17,7 @@
"build": "tauri build",
"dev": "tauri dev",
"format": "prettier --write .",
"preinstall": "npx only-allow yarn",
"preinstall": "npx only-allow pnpm",
"postinstall": "husky install",
"lint": "prettier --check . && eslint .",
"start": "tauri dev",
@@ -59,5 +59,5 @@
"typescript": "^4.8.3",
"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",
"build": {
"beforeBuildCommand": "yarn svelte:build",
"beforeDevCommand": "yarn svelte:dev",
"beforeBuildCommand": "pnpm svelte:build",
"beforeDevCommand": "pnpm svelte:dev",
"devPath": "http://localhost:3000",
"distDir": "../dist"
},

1820
yarn.lock

File diff suppressed because it is too large Load Diff