@wok-cli/task-bump

1.0.2 • Public • Published

Bump Task

Sharable task implementing gulp-bump.

Installation

This task requires @wok-cli/core as peer dependency.

npm i @wok-cli/core @wok-cli/task-bump --save-dev

CLI arguments

To programmatically specify the next version use the --type argument:

gulp bump --type patch

Accepted values are: major, minor or patch.

Parameters

parameter type default note
src string
string[]
['package.json'] Globs source files (1)
dest string '.' Destination folder (1)
  1. Supports environment templates.

Hooks

This task does not expose any hook.

Example

const $ = require('@wok-cli/core');
const bump = require('@wok-cli/task-bump');

exports.bump = $.task(bump, {
  src: ['./package.json'],
});

Readme

Keywords

none

Package Sidebar

Install

npm i @wok-cli/task-bump

Weekly Downloads

5

Version

1.0.2

License

MIT

Unpacked Size

4.41 kB

Total Files

4

Last publish

Collaborators

  • dwightjack