@kwai-explore/is-corepack
Block installation with a package manager that is not the specified version of corepack.
Use
Add this script in package.json
:
"scripts": {
"pnpm:devPreinstall": "npx @kwai-explore/is-corepack",
...
Block installation with a package manager that is not the specified version of corepack.
Add this script in package.json
:
"scripts": {
"pnpm:devPreinstall": "npx @kwai-explore/is-corepack",
...
npm i @kwai-explore/is-corepack
1
1.0.1
ISC
979 B
3