1.1.0 • Published 1 year ago

please-use-pnpm-en v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

please-use-pnpm

Force using pnpm in the project

When using npm i or pnpm to install the package, an error will be thrown and the installation will stop.

Usage

Update package.json:

{
    "scripts": {
        "preinstall": "npx please-use-pnpm"
    }
}

npm.io

Note: If you don’t want to see npx: 1 installed successfully, took xxxx seconds, you can use the --quiet option (or -q):

{
  "scripts": {
    "preinstall": "npx -q please-use-pnpm"
  }
}

License

MIT

1.1.0

1 year ago