@start/plugin-lib-npm-version
v2.0.0
Published
🔢 Bump package version
Downloads
21
Readme
🔢 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
Example
import npmVersion from '@start/plugin-npm-plugin-lib-npm-version'
export task = (version) => npmVersion(version, { message: '📦 v%s' })