Skip to content

Commit 0714403

Browse files
committed
chore(scripts): allow only pnpm
1 parent e3f7843 commit 0714403

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"generate:language-readme": "node build/scripts/generate-language-readme.js ",
2121
"copy:plist": "copyfiles *.plist build",
2222
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
23-
"prepare": "husky install"
23+
"prepare": "husky install",
24+
"preinstall": "npx only-allow pnpm"
2425
},
2526
"repository": "https://github.com/massCodeIO/massCode",
2627
"author": {
@@ -125,6 +126,9 @@
125126
"vite": "^2.9.6",
126127
"vue-tsc": "^0.30.6"
127128
},
129+
"engines": {
130+
"pnpm": ">=6.32.9 <7"
131+
},
128132
"volta": {
129133
"node": "16.15.0"
130134
}

0 commit comments

Comments
 (0)