0.0.8 • Published 10 years ago

ya-bump v0.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

ya-bump

Yet Another module to Bump, Commit and Publish

Install

Globally

npm install -g ya-bump

CLI Usage

ya-bump [options]

CLI Options:

optiondescription
-h, --helpoutput usage information
-V, --versionoutput the version number
-P, --publishEnable publishing to NPM
-C, --commitEnable commiting changes
-c, --clipboardNo writing - Copy the new version on NPM
-n, --new [value]Set a custom new version
-M, --majorSet a major bump. Eg. 1.0.2 -> 2.0.0
-m, --minorSet a minor bump. Eg. 1.0.2 -> 1.1.0

As a Module

npm install --save ya-bump

Module Usage

var bump = require( "ya-bump" );

// default values listed below
bump({

	// Commits the modified bumped file
	commit: false,

	// Publishes in NPM
	publish: false,

	// Copy to clipboard, this option discards any writing change
	clipboard: false,

	// Version, it can be a valid semver or "patch", "minor" or "major"
	bump: "patch"
});

TODO:

Set commit long description with last changes from git log

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago