Skip to content

AndersDJohnson/use-yarn

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

use-yarn

Force users to use yarn instead of npm.

📖 Read the docs!

If running npm install instead of yarn, the process will exit with error code 1 and print an error message.

Note: this will not work if installing specific packages like npm install my-package.

Note: this will not work if used with npm install --save-dev --ignore-scripts.

Note: Use with >= yarn@1 requires >= use-yarn@2.

About

Force users to use yarn instead of npm.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •