Skip to content

laggingreflex/bumpx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bumpx

Bump version (like npm-version) and also create tags like x.x.x

Install

npm i [-g] bumpx

Usage

CLI

bumpx major|minor|patch [--dry]

Node

const bumpX = require('bumpx')
const { version, operations } = bumpX({
  packageJson: 'package.json',
  // or
  version: '1.0.0',
  range: 'major' || 'minor' || 'patch',
})
operations.run({ dry: true }) // modify package.json, execute git tag ... etc

About

Bump version and create tags like x.x.x

Resources

Stars

Watchers

Forks

Packages

No packages published