0.0.2 • Published 7 years ago

@sandfox/bundled-yarn-updater v0.0.2

Weekly downloads
840
License
LGPL-3.0
Repository
github
Last release
7 years ago

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