version-bumpify
v1.1.0
Published
A Node.js CLI tool to automatically update the version in package.json, package-lock.json, and the version badge in README.md
Downloads
13
Maintainers
Readme
Version Bumpify
A Node.js CLI tool to automatically update the version in package.json
, package-lock.json
, and the version badge in README.md
.
Features
- Automatically updates the
version
field inpackage.json
andpackage-lock.json
. - Updates the version badge in
README.md
(Shields.io style). - Simple CLI tool with easy integration into any Node.js project.
Installation
To install globally:
npm install -g version-bumpify
Usage
To update the version across package.json
, package-lock.json
, and the version badge in README.md
:
bumpify <new_version>
Example:
bumpify 2.0.2
This command will:
- Update
package.json
andpackage-lock.json
to version2.0.2
. - Update the Shields.io version badge in
README.md
.
Example
Before running the command:
![Version](https://img.shields.io/badge/version-v1.0.2-blue.svg)
After running bump 2.0.2
:
![Version](https://img.shields.io/badge/version-v2.0.2-blue.svg)
Running Tests
To run the test suite:
npm test
This will execute the test cases to ensure the functionality of the bumpify.
Contributing
Contributions are welcome! For detailed contribution guidelines, please refer to the CONTRIBUTING file.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Bugs and Issues
If you find any bugs or have issues, please report them via GitHub Issues.