Skip to content

Really simple automatic all in one npm publisher, git pusher, package updater and changelog maintainer

License

Notifications You must be signed in to change notification settings

top-kat/bump-simple

Repository files navigation

BUMP SIMPLE

This package allow you with only one command to automatically:

  • Update package.json version
  • Generate changelog based on all commits messages that begin with *
  • Add a git tag with version name
  • Commit changes
  • And finally npm publish

SETUP

Edit your package.json to add the scripts needed to update your npm package:

{
    ...
    "scripts": {
        ...
        "bump:major": "node node_modules/bump-simple/bump-simple.js --major", // update to major version
        "bump:minor": "node node_modules/bump-simple/bump-simple.js --minor", //   #    #  minor   #
        "bump:patch": "node node_modules/bump-simple/bump-simple.js --patch", //   #    #  patch   #
        ...
    },
    ...
}

USAGE

npm run bump:minor => this will update your package changing the minor version (Eg: v1.1.0 => v1.2.0)

FEEDBACK

Don't hesitate to write an issue for any request or make a pull request :)

About

Really simple automatic all in one npm publisher, git pusher, package updater and changelog maintainer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published