Npm Check Updates — Vivid Module
This packages allows you to easily update all rexlabs dependencies to their latest versions (picking dev or latest, whichever is the higher version number). The motivation for this package was that the actual npm-check-updates package didn't really work reliably.
Usage
npx @rexlabs/npm-check-updates
# or
yarn add @rexlabs/npm-check-updates --dev
ncu
Roadmap
The plan for this package is to add support for a config file, which then allows us to use it to define blobs for packages and the version rules we want to apply, instead of just hard coding rexlabs packages as we did for now.
- add support for config and remove hardcoded rexlabs package limitation
- add support for different version rules (incl/excl dev tag, version as/not as range, etc)
- add
--allargument to skip manual selection of packages - add
--installargument to automatically runyarn installafter version changes
Development
Install dependencies
$ yarn
Available Commands
$ yarn test # runs all units tests
$ yarn test:watch # runs unit tests when files change
$ yarn build # bundles the package for production