1.1.2 • Published 3 years ago

bulk-update-versions v1.1.2

Weekly downloads
315
License
MIT
Repository
github
Last release
3 years ago

Bulk update versions

Script to bulk update versions matching a certain pattern.

Install

$ npm install --save bulk-update-versions

Usage

Certain dependencies are usually released and updated in bulk as they follow a single Lerna version bump. Updating those packages can get quite verbose, as you need to check which packages have been released, find the right version, and update them.

To make this process simpler, you can use this package to bump all versions of dependencies matching the given pattern. The script will make sure that the versions of the packages matching the given pattern do exist, and bump the version only then.

$ bulk-update-versions --match '^@babel/(.*)' 7.9.2

Force updating to latest version

If you want to update all the matching packages to their latest version, you can pass the --force-latest flag instead of a fixed version.

$ bulk-update-versions --match '^@babel/(.*)' --force-latest