@andrash/project-version-updator
v1.0.0
Published
A CLI tool to update the version of a project in package.json and other files.
Readme
Project Version Updator
Project Version Updator is a CLI tool for updating project versions in package.json and other related files. It will also create a git commit for the new version.
Installation
npm install -g project-version-updatorcreate a script in package.json to easily run the tool:
"scripts": {
"update-version": "node @andrash/project-version-updator"
}Usage
To update the version, run:
npm run update-version 1.2.3Use +c to create a git commit for the new version:
npm run update-version 1.2.3 +cUse +force to force the version update:
npm run update-version 1.2.3 +force