Skip to content

Commit 7b285dd

Browse files
committed
enforce pnpm without packageManager field
1 parent b1f3b2d commit 7b285dd

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
1010
"dev": "vite dev",
1111
"format": "npm run lint:fix && npm run prettier:fix",
12+
"preinstall": "npx only-allow pnpm",
1213
"lint": "eslint .",
1314
"lint:fix": "eslint --fix .",
1415
"prepare": "svelte-kit sync",
@@ -60,6 +61,7 @@
6061
"globals": "^16.3.0",
6162
"mdsvex": "^0.12.6",
6263
"music-metadata": "^11.7.3",
64+
"only-allow": "^1.2.1",
6365
"prettier": "^3.6.2",
6466
"prettier-plugin-jsdoc": "^1.3.3",
6567
"prettier-plugin-packagejson": "^2.5.19",
@@ -79,6 +81,5 @@
7981
"vite": "^7.0.6",
8082
"vitest": "^3.2.4",
8183
"zod": "^4.0.15"
82-
},
83-
"packageManager": "pnpm@10.6.5+sha512.cdf928fca20832cd59ec53826492b7dc25dc524d4370b6b4adbf65803d32efaa6c1c88147c0ae4e8d579a6c9eec715757b50d4fa35eea179d868eada4ed043af"
84+
}
8485
}

pnpm-lock.yaml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)