Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.
/ bump Public archive

Easily bump the version of all the different package.json equivalents.

Notifications You must be signed in to change notification settings

ianstormtaylor/bump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bump

Easily bump the version of all the different package.json equivalents.

Installation

$ npm install -g ianstormtaylor/bump

Usage

$ bump 0.4.1

    Version bumped to 0.4.1 in package.json and component.json.

$ bump patch

    Version bumped to 0.4.2 in package.json and component.json.

$ bump minor

    Version bumped to 0.5.0 in package.json and component.json.

$ bump major

    Version bumped to 1.0.0 in package.json and component.json.

API

bump(root, version, manifests)

Bump to version in root, an optional array of manifests can be provided.

bump('/path/to/pkg', '0.3.1');
bump('/path/to/pkg', 'patch');
bump('/path/to/pkg', 'minor');
bump('/path/to/pkg', 'major', ['package.json']); // only package.json

License

MIT

About

Easily bump the version of all the different package.json equivalents.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •