ar-changelog
TypeScript icon, indicating that this package has built-in type declarations

4.0.2 • Public • Published

ar-changelog

Automate the workflow for generating Monorepo's changelog, which will ask you some questions to choose from and generate a changelog based on commits. You can also choose whether to automatically push to github by configuring ar-changelog.config.js.

Install

$ pnpm add ar-changelog -D

if you don't install conventional-changelog-cli, you can install it by:

$ pnpm add conventional-changelog-cli -D

Usage

commands

release

Feature:

  • Generate a changelog based on commits.
  • Create the corresponding version of the tag for the corresponding package.

It will ask some questions and then create a version and Changelog based on your answers.

$ ar-changelog release

publish

It is mainly responsible for publishing package to NPM

$ ar-changelog publish <packageName>@tag

Custom config

You can provide a custom configuration in a ar-changelog.config.js file in your repo, or in any parent folder. ar-changelog will search for the closest config file. Below is default config:

module.exports = {
  // main package, it will generate tag like v1.0.0
  mainPackage: '',
  // whether to automatically push to github
  autoPushToGithub: false
}

Package Sidebar

Install

npm i ar-changelog

Weekly Downloads

2

Version

4.0.2

License

none

Unpacked Size

944 kB

Total Files

13

Last publish

Collaborators

  • dpxxx