Skip to content
This repository was archived by the owner on Mar 27, 2020. It is now read-only.

Latest commit

 

History

History
38 lines (24 loc) · 1.35 KB

File metadata and controls

38 lines (24 loc) · 1.35 KB

🔢 plugin-lib-npm-version

npm linux windows coverage deps

Bump package version.

Install

$ yarn add --dev @start/plugin-lib-npm-version
# or
$ npm install --save-dev @start/plugin-lib-npm-version

Usage

Signature

npmVersion(version: string, options?: {)

version

<newversion> | major | minor | patch | premajor | premin or | prepatch | prerelease | from-git

options

NPM version options.

Example

import npmVersion from '@start/plugin-npm-plugin-lib-npm-version'

export task = (version) => npmVersion(version, { message: '📦 v%s' })