1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-05-11 18:46:25 +08:00

feat: 引入only-allow严格校验pnpm使用

This commit is contained in:
chufan
2024-10-16 14:38:48 +08:00
parent f27aad5080
commit f79c7e70fe
3 changed files with 20 additions and 47 deletions

View File

@@ -16,7 +16,7 @@
"pnpm": "9.6.0"
},
"scripts": {
"preinstall": "chmod +x ./scripts/*",
"preinstall": "npx only-allow pnpm && chmod +x ./scripts/*",
"postinstall": "pnpm build:mark-map",
"clean": "npx fa clean --ignore-tips --dist --vite --all",
"lint": "npx fa lint",
@@ -42,6 +42,7 @@
"hls.js": "^1.5.13",
"markmap-cli": "^0.15.8",
"mermaid": "^10.9.1",
"only-allow": "^1.2.1",
"reveal.js": "^5.1.0",
"sass-embedded": "^1.79.3",
"typescript": "^5.5.4",