@spscommerce/slasher

6.13.1 • Public • Published

Slasher

Semantic release cutter 🔪🔪🔪

Installation

yarn add --dev @spscommerce/slasher

You will probably also want to install it globally, so you can run it with slasher instead of npx slasher:

npm install -g @spscommerce/slasher

Why "Slasher"?

Because it "cuts" things and was first written on Halloween. 🎃

Usage

Usage: slasher [options]

Options:
  --version       Show version number                                  [boolean]
  --verbose, -v   Print additional details to console                  [boolean]
  --dry-run, -d   Do a dry run. (Includes --verbose)                   [boolean]
  --from-tag, -t  Do a dry run showing what slasher would do based from the
                  given tag instead of from the most recent tag. (Includes
                  --dry-run)                                            [string]
  --help, -h      Show help                                            [boolean]

When you run slasher it will do the following things, in order:

  • Determine a version bump based on conventional commit messages since the last "vX.Y.Z" git tag
  • If there is a version bump, update package.json with the new version number
  • Create or update CHANGELOG.md using conventional-changelog
  • Add package.json and CHANGELOG.md to a commit called "chore(release): X.Y.Z [skip ci]" and tag it (without pushing)

Readme

Keywords

none

Package Sidebar

Install

npm i @spscommerce/slasher

Weekly Downloads

8

Version

6.13.1

License

UNLICENSED

Unpacked Size

12.8 kB

Total Files

7

Last publish

Collaborators

  • macybuan
  • jimthedev
  • pixelfish22
  • rena0601
  • cwnord
  • spsc_caf