Installing
# use pnpm
$ pnpm install -g reinstaller
# use npm
$ npm install -g reinstaller
# use yarn
$ yarn global add reinstaller
Usage
- Upgrade packages
reinstaller
# or
reinstaller webapp/app
- Install new packages
reinstaller install rm-all vue -- -D
# or
reinstaller i rm-all vue -- -D
Configuration
Use .reinstallerrc
file
packageTags
: Specify the tags to be installed
{
"packageTags": {
"vue": "next",
"js-cool": "^2.8.0"
}
}
exclude
: Exclude packages that you don't want to install
{
"exclude": ["tsnd"]
}
registry
: Set registry
{
"registry": "https://registry.npmmirror.com"
}
Support & Issues
Please open an issue here.