Skip to content

dospolov/please-use-pnpm-en

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
    }
}

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

About

Force using pnpm in the project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%