chore: enforce pnpm usage (#238)

This commit is contained in:
Katsuyuki Karasawa 2024-12-01 17:29:42 +09:00 committed by GitHub
parent ff9e82091a
commit 87e83fc601
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
manage-package-manager-versions = true

View File

@ -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"
}