Skip to content

un-ts/preversion

This branch is 1 commit ahead of main.

Folders and files

NameName
Last commit message
Last commit date
Jan 5, 2024
Jan 5, 2024
Jan 6, 2024
Jan 5, 2024
Jan 5, 2024
Jan 5, 2024
Jan 5, 2024
Dec 7, 2023
Dec 7, 2023
Jan 5, 2024
Dec 7, 2023
Dec 7, 2023
Jan 5, 2024
Dec 7, 2023
Dec 7, 2023
Dec 7, 2023
Dec 7, 2023
Dec 7, 2023
Dec 7, 2023
Dec 7, 2023
Dec 7, 2023
Jan 5, 2024
Dec 7, 2023
Dec 11, 2023
Jan 5, 2024
Dec 7, 2023
Jan 6, 2024
Dec 7, 2023
Feb 21, 2025
Jan 5, 2024
Jan 5, 2024
Jan 5, 2024
Dec 11, 2023
Feb 21, 2025

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