rush-upgrade-self-plugin
v1.1.2
Published
Rush plugin for upgrade rush.js in monorepo
Downloads
120,737
Readme
rush-upgrade-self-plugin
Rush plugin for upgrade Rush.js itself in monorepo.
Prerequisite
Rush.js >= 5.57.0
Quick Start
- Enabling this rush plugin
Please follow the official doc to enable this plugin in your repo.
- Upgrade Rush.js
rush upgrade-self
Working process
- Fetch
microsoft/rush
versions bypacote
- Prompt user to choose a version, which decides the target versions of dependencies should be updated.(Those who prefixes with
@microsoft/
or@rushstack/
) - Update dependencies(including devDependencies) in all
package.json
files - Update autoinstallers accordingly.
- Prompt user whether to run
rush update
Something went wrong?
- Run
git checkout .
to revert all changes by this plugin. - This plugin is designed to be idempotent. just run it again!