xp-update-version-script
v1.0.38
Published
A script to programmatically update version numbers in package.json
Downloads
5
Readme
xp-update-version-script
A script to programmatically update version numbers in package.json
.
Installation
Install the package globally using Yarn:
yarn global add xp-update-version-script
Usage
After installing the package globally, you can run the update-version command in any project. The script increments the patch version in the package.json file.
Adding to package.json
To use the update-version script as a npm script in your project, add the following to your package.json:
{
"scripts": {
"update-version": "update-version"
},
// ... other fields ...
}
Now, you can run the script using:
yarn run update-version