bumpify-cli
v1.0.4
Published
Custom npm version command with version.json in public folder and Git commit/tag
Downloads
3
Readme
🚀 Bumpify - Smarter Versioning for Your Projects
🔥 The best way to bump your version and keep version.json in sync!
bumpify-cli extends npm version patch/minor/major with additional automation:
- ✅ Updates
package.json(likenpm version) - ✅ Creates/updates
public/version.jsonautomatically - ✅ Commits & tags the changes in Git
🚀 Installation
Install bumpify-cli globally to use it in any project:
npm install -g bumpify-cli🔧 Usage
Run bumpify just like npm version:
bumpify version patch
bumpify version minor
bumpify version majorWhat Happens When You Run It?
- The version in
package.jsonis updated. - The new version is written to
public/version.json. - The changes are committed (
git commit -m "Bump version to X.X.X"). - A Git tag is created (
git tag vX.X.X).
🎯 Examples
Bump a Patch Version
bumpify version patch💡 Updates from 1.0.0 → 1.0.1
Bump a Minor Version
bumpify version minor💡 Updates from 1.0.0 → 1.1.0
Bump a Major Version
bumpify version major💡 Updates from 1.0.0 → 2.0.0
📌 Why Use Bumpify?
| Feature | npm version | bumpify-cli |
|--------------------------------------|--------------|-----------|
| Updates package.json | ✅ Yes | ✅ Yes |
| Creates/updates public/version.json | ❌ No | ✅ Yes |
| Commits the changes | ✅ Yes | ✅ Yes |
| Creates a Git tag | ✅ Yes | ✅ Yes |
📦 Uninstall
If you ever need to remove bumpify-cli:
npm uninstall -g bumpify-cli📄 License
MIT License © Antonio Budiselić
👥 Contributing
We welcome contributions! To contribute:
- Fork the repo
- Create a new branch (
git checkout -b feature-branch) - Commit your changes (
git commit -m "Added feature XYZ") - Push to the branch (
git push origin feature-branch) - Create a PR 🚀
🌟 Support & Feedback
If you found bumpify-cli helpful, please star this repo ⭐ on GitHub and share your feedback!
For issues or feature requests, open an issue here.
🚀 Happy versioning with bumpify-cli! 🚀
