diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..6baea0200 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +manage-package-manager-versions = true \ No newline at end of file diff --git a/package.json b/package.json index 7d2f14970..724b712ea 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "type-check": "tsc --noEmit --isolatedDeclarations", "new-post": "node scripts/new-post.js", "format": "biome format --write ./src", - "lint": "biome check --apply ./src" + "lint": "biome check --apply ./src", + "preinstall": "npx only-allow pnpm" }, "dependencies": { "@astrojs/check": "^0.9.4", @@ -65,5 +66,5 @@ "@types/mdast": "^4.0.4", "@types/sanitize-html": "^2.13.0" }, - "packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e" + "packageManager": "pnpm@9.14.4" }