A tiny cli helps you to publish alpha/beta versions to npm before releasing the final latest version
# pnpm
pnpm add -D preversion
# yarn
yarn add -D preversion
# npm
npm i -D preversion
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
import { getPreversionTag, getPreversion, preversion } from 'preversion'
1stG | RxTS | UnTS |
---|---|---|
1stG | RxTS | UnTS |
---|---|---|
Detailed changes for each release are documented in CHANGELOG.md.