Skip to content

Latest commit

Β 

History

History
104 lines (75 loc) Β· 2.65 KB

File metadata and controls

104 lines (75 loc) Β· 2.65 KB

πŸš€ Bumpify - Smarter Versioning for Your Projects

npm version License

πŸ”₯ 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 (like npm version)
  • βœ… Creates/updates public/version.json automatically
  • βœ… 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 major

What Happens When You Run It?

  1. The version in package.json is updated.
  2. The new version is written to public/version.json.
  3. The changes are committed (git commit -m "Bump version to X.X.X").
  4. 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:

  1. Fork the repo
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m "Added feature XYZ")
  4. Push to the branch (git push origin feature-branch)
  5. 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! πŸš€