Package Exports
- gulp-ccr-bump
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-ccr-bump) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-ccr-bump
Bump project version programmatically or interactively. A cascading configurable gulp recipe for gulp-chef.
Install
$ npm install --save-dev gulp-chef gulp-ccr-bump
Recipe
Bump Version
Ingredients
API
config.interactive
Enable interactive operation. Once enabled, values in "version
" and "type
" are ignored.
config.version
Specific version to bump to. Once specified, "type
" value is ignored.
config.type
Method of updating.
Valid values are: "prerelease
", "patch
", "minor
", and "major
".
config.preid
Prerelease id.
config.field
Field to update. Defaults to "version
".
Usage
var gulp = require('gulp');
var chef = require('gulp-chef');
var meals = chef({
bumpi: {
description: 'bump version interactively',
recipe: 'bump',
interactive: true
},
bumpm: {
description: 'bump major version',
recipe: 'bump',
type: 'major'
},
bumpn: {
description: 'bump minor version',
recipe: 'bump',
type: 'minor'
},
bump: {
description: 'bump patch version'
}
});
gulp.registry(meals);