Skip to content

sandfox/bundled-yarn-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bundled yarn updater

A small command for updating a bundled copy of yarn. If you use a bundled copy of yarn for something like your CI enviroment or anything else you might want a way to update it. This package does that! (crudely)

If this means nothing to you maybe reading yarn's blog post might help

Usage

bundled-yarn-updater PATH_TO_YARN_BUNDLE

e.g

npx @sandfox/bundled-yarn-updater scripts/yarn

or:

npm install -g @sandfox/bundled-yarn-updater
bundled-yarn-updater path/to/project/bin/yarn

or:

yarn add --dev @sandfox/bundled-yarn-updater

// the next command shows an example script from a package.json 

{ ... scripts:{ ... "update-yarn": "bundled-yarn-updater travis/ci-yarn", ... } ... }


yarn run update-yarn

About

updates a bundled copy of yarn

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published