Skip to content

Latest commit

 

History

History
 
 

plugin-lib-npm-version

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

🔢 plugin-lib-npm-version

Bump package version.

Install

$ yarn add --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' })