Skip to content
generated from un-ts/lib-boilerplate

A tiny cli helps you to publish alpha/beta versions to npm before releasing the final latest version

License

Notifications You must be signed in to change notification settings

un-ts/preversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

preversion

GitHub Actions Codecov type-coverage npm GitHub Release

Conventional Commits Renovate enabled JavaScript Style Guide Code Style: Prettier changesets

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'

CI

GitHub Actions

.github/workflows/release-beta.yml

Sponsors

1stG RxTS UnTS
1stG Open Collective backers and sponsors RxTS Open Collective backers and sponsors UnTS Open Collective backers and sponsors

Backers

Backers

1stG RxTS UnTS
1stG Open Collective backers and sponsors RxTS Open Collective backers and sponsors UnTS Open Collective backers and sponsors

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

License

MIT © JounQin@1stG.me