0.1.4 • Published 2 years ago

workspace-version v0.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

workspace-version

A script to align package versions in an npm workspace

npm NPM Typescript

Keeps dependency and package versions within an npm workspace in line.

By default this script will update all child package versions to match that of the workspace version and update all dependency versions that refer to sibling packages:

$ workspace-version  

Alternatively you can run in independent mode:

$ workspace-version -i  

This will not update the child package versions but will still update all dependency versions to that of the sibling projects.

Lastly you can also add all modified files to git:

$ workspace-version -g  

Options

ArgumentAliasTypeDescription
workspacePackagewstringThe path of the workspace package.json. Defaults to 'package.json'
independentibooleanturns on independent versioning of child packages. This will prevent versions of child packages from being updated
gitAddgbooleanadds any target files to git after updating
jsonIndentjnumberThe number of spaces to indent your json file by. Defaults to 4.
helphbooleanShow this help text
0.1.4

2 years ago

0.1.3

2 years ago

0.1.1

2 years ago

0.0.1

2 years ago