Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitbook-bumper

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-bumper

Easily bump your node module, following GitBook's convention for SemVer

  • 2.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

gitbook-bumper

Bump your Node modules using GitBook's convention for SemVer!

Installation

This module just contains one script bin/gitbook-bumper.

Global

You can install this script globally using:

npm install -g gitbook-bumper

Local

You can also install it locally to your project:

npm install --save-dev gitbook-bumper

It will be accessible from the command line if you added node_modules to your path.

Example

Bump X.0.0

$ gitbook-bumper -c -p minor

Bump 1.X.0

$ gitbook-bumper -c -p minor

Bump 1.0.X

$ gitbook-bumper -c -p patch

With a custom package.json directory

$ gitbook-bumper -d ./modules -c -p patch

Here is the preview of an interaction with the script:

$ gitbook-bumper -c -p minor

? Bump from 1.5.6 to 1.6.0 ? Yes
Writing version 1.6.0 to package.json...
Committing "Bump version to 1.6.0 :rocket:"...
Tagging...
Pushing...
Pushing tags...
Done.

Usage

  Usage: gitbook-bumper [options] <level> [prerelease-id]

	 Where level is one of major, minor, patch, premajor, preminor, prepatch, prerelease

  Options:

    -h, --help        output usage information
    -V, --version     output the version number
    -d, --dir <path>  directory of the Node module (default './')
    --no-confirm      do not ask for confirmation
    -c, --commit      make a commit and tag with version
    -p, --push        push commit and tag to remote

FAQs

Package last updated on 11 Aug 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc