preversion
v0.1.1
Published
A tiny cli helps you to publish alpha/beta versions to npm before releasing the final latest version
Downloads
18
Readme
preversion
A tiny cli helps you to publish alpha/beta versions to npm before releasing the final latest version
TOC
Usage
Install
# pnpm
pnpm add -D preversion
# yarn
yarn add -D preversion
# npm
npm i -D preversion
CLI
Usage: preversion [options]
A tiny cli helps you to publish alpha/beta versions to npm before releasing the final latest version
Options:
-V, --version output the version number
-b, --branch [string] optional specified branch to be pushed after releasing successfully
-m, --message [string] optional commit message when `branch` option enabled (default: "chore: release preversion v{{version}}")
-v, --preversion [string] optional specified version to be released
-t, --tag [string] optional specified npm tag to be released
-h, --help display help for command
API
import { getPreversionTag, getPreversion, preversion } from 'preversion'
Sponsors
| 1stG | RxTS | UnTS | | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | | | | |
Backers
| 1stG | RxTS | UnTS | | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | | | | |
Changelog
Detailed changes for each release are documented in CHANGELOG.md.