@brillout/release-me

0.4.2 • Public • Published

@brillout/release-me

Publish your npm packages.

Used by:

  • Vike
  • Telefunc
  • @brillout/*

[!WARNING] Don't use this: it isn't meant for others to use. That said, feel free to fork this project.


Features

  • Automatically generates and updates CHANGELOG.md.
  • Automatic monorepo support.
  • Generates Git tags.
  • Pre-release support.
  • Asks for confirmation before publishing, and shows a preview of the changes (e.g. to CHANGELOG.md) enabling you to double check before publishing.

Installation

// package.json
{
  "name": "my-package",
  "version": "0.1.2",
  "scripts": {
    "build": "echo 'I am used by release-me'",
    "release": "release-me patch",
    "release:minor": "release-me minor",
    "release:commit": "release-me commit"
  },
  "devDependencies": {
    "@brillout/release-me": "^0.3.8"
  }
}

[!NOTE] Installation examples:


Usage

Release new patch/minor/major version:

pnpm exec release-me patch
pnpm exec release-me minor
pnpm exec release-me major

[!NOTE] For a slight DX improvement, we recommend defining package.json#scripts and use $ pnpm run instead of $ pnpm exec.

Release specific version:

pnpm exec release-me v0.1.2

You can also publish pre-releases such as 0.4.177-commit-ff3d6cd:

pnpm exec release-me commit

Readme

Keywords

none

Package Sidebar

Install

npm i @brillout/release-me

Weekly Downloads

1,445

Version

0.4.2

License

MIT

Unpacked Size

37.4 kB

Total Files

14

Last publish

Collaborators

  • brillout