build(package.json): preinstall 限制只能用 pnpm 包管理器运行
This commit is contained in:
parent
12fd82778e
commit
8f8b2ea02d
@ -22,6 +22,7 @@
|
||||
"pnpm": ">=7.30"
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"uvm": "npx @dcloudio/uvm@latest",
|
||||
"uvm-rm": "node ./scripts/postupgrade.js",
|
||||
"postuvm": "echo upgrade uni-app success!",
|
||||
|
Loading…
x
Reference in New Issue
Block a user