terbit

A better `npm publish`

Usage no npm install needed!

<script type="module">
  import terbit from 'https://cdn.skypack.dev/terbit';
</script>

README

terbit

A better npm publish, inspired by np

NPM Version Licence Build Status Coverage Status Dependency Status

Install

$ npm install --global terbit

Usage

$ terbit --help

  Usage
    $ terbit <version>

    Version can be:
      patch | minor | major | prepatch | preminor | premajor | prerelease | 1.2.3

  Options
    --any-branch       Allow publishing from any branch
    --skip-cleanup     Skip cleanup of node_modules
    --skip-test        Skip cleanup and testing
    --changelog-preset Use `conventional-changelog`
    --tag              Publish under a given dist-tag

  Examples
    $ np patch
    $ np 1.0.2
    $ np 1.0.2-beta.3 --tag=beta