Launch Week Day 3: Introducing Organization Notifications in Socket.Learn More
Socket
Book a DemoSign in
Socket

bump-simple

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bump-simple

update changelog, add git tag, commit and publish the new version to npm in ONE COMMAND

latest
Source
npmnpm
Version
1.0.29
Version published
Maintainers
1
Created
Source

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 :)

FAQs

Package last updated on 31 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts