This is a quick post to show the tool that I use to upgrade all my dependencies to the newest versions there are. It is called
yarn-up and I use it all the time: the great advantage of NPM that facilitates rapid agile development is the ability to publish packages many times a day, be it bug-fixes, or new features. However, all dependent packages need to keep with the updates, and with
yarn-up, the developer does not have to do this job manually.
For example, I have just fixed a bug in one of dependencies of a context-testing framework Zoroaster. Now, in Zoroaster, I can skip explicitly calling
yarn install -E snapshot-context to get it upgraded. Instead, I just type
yarn-up -E. Under the hood, the package will create a yarn command based on the list of dependencies found in the Zoroaster’s
yarn-up will then execute the command to make sure that all dependencies are up to date without any effort from the developer!
The usage is very simple, install it globally with
yarn global add yarn-up and call
yarn-up to upgrade dependencies, or