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

Latest commit

 

History

History

plugin-lib-npm-version

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

🔢 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' })