Skip to content

Language independent module publishing, following Conventional Commits and SemVer, with support for monorepos.

License

Notifications You must be signed in to change notification settings

standard-release/cli

Repository files navigation

@standard-release/cli npm version github release License

Publish new project to NPM following Conventional Commits specification and SemVer. Uses git-commits-since for detecting git commits since last SemVer tag and detect-next-version for what next version bump should be.

Please consider following this project's author, Charlike Mike Reagent, and ⭐ the project to show your ❤️ and support.

Code style CircleCI linux build CodeCov coverage status DavidDM dependency status Renovate App Status Make A Pull Request Semantically Released

If you have any how-to kind of questions, please read the Contributing Guide and Code of Conduct documents.
For bugs reports and feature requests, please create an issue or ping @tunnckoCore at Twitter.

Become a Patron Conventional Commits Spectrum community NPM Downloads Monthly NPM Downloads Total Share Love Tweet

Project is semantically versioned & automatically released through CircleCI with Standard Release.

Automating all @tunnckoCore and @tunnckoCoreLabs repos since December 2017. 🚀
Previously installable through @tunnckocore/release-cli and new-release.

Table of Contents

(TOC generated by verb using markdown-toc)

Install

This project requires Node.js ^8.10.0 || >=10.13.0 (see Support & Release Policy). Install it using yarn or npm.
We highly recommend to use Yarn when you think to contribute to this project.

$ yarn global add @standard-release/cli

CLI

Just run standard-release and that's it! It will detect next needed bump for your package and execute npm version and npm publish.

Make note that it is meant to be used in CI services, but if you want to run it locally pass the --no-ci flag, otherwise it will exit the program.

Usage:
  stanard-release [flags]

Flags:
  --ci          to be called on CI or locally; default: true
  --dry         dry run, won't publish; it will output metadata
  --cwd         a directory where the package.json is; default: process.cwd()
  --token       a npm token to be used, or pass NPM_TOKEN env
  --registry    a npm registry to be published to, or pass NPM_REGISTRY env

API

Generated using docks.

back to top

See Also

Some of these projects are used here or were inspiration for this one, others are just related. So, thanks for your existance!

back to top

Contributing

Guides and Community

Please read the Contributing Guide and Code of Conduct documents for advices.

For bug reports and feature requests, please join our Spectrum community forum and open a thread there with prefixing the title of the thread with the name of the project if there's no separate channel for it.

Consider reading the Support and Release Policy guide if you are interested in what are the supported Node.js versions and how we proceed. In short, we support latest two even-numbered Node.js release lines.

Support the project

Become a Partner or Sponsor? 💵 Check the Partner, Sponsor or Omega-level tiers! 🎉 You can get your company logo, link & name on this file. It's also rendered on package page in npmjs.com and yarnpkg.com sites too! 🚀

Not financial support? Okey! Pull requests, stars and all kind of contributions are always welcome. ✨

OPEN Open Source

This project is following OPEN Open Source model

Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is built on collective efforts and it's not strongly guarded by its founders.

There are a few basic ground-rules for its contributors

  1. Any significant modifications must be subject to a pull request to get feedback from other contributors.
  2. Pull requests to get feedback are encouraged for any other trivial contributions, but are not required.
  3. Contributors should attempt to adhere to the prevailing code-style and development workflow.

Wonderful Contributors

Thanks to the hard work of these wonderful people this project is alive! It follows the all-contributors specification.
Don't hesitate to add yourself to that list if you have made any contribution! ;) See how, here.


Charlike Mike Reagent

💻 📖 💬 👀 🔍

Consider showing your support to them. 💖

License

Copyright (c) 2017-present, Charlike Mike Reagent <mameto2011@gmail.com> & contributors.
Released under the Apache-2.0 License.