JSPM

gulp-ccr-bump

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q13243F
  • License MIT

Bump project version programmatically or interactively. A cascading configurable gulp recipe for gulp-chef.

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);