Asini Changelog
Generate a changelog for a asini monorepo.
Based on @hzoo's long-lived PR for lerna changelog
.
Uses github PR/Issue names categorized by labels with configurable headings.
Usage
Install:
$ npm install -g asini-changelog
Configure:
$ git diff asini.json
...
{
+ "changelog": {
+ "repo": "my-org/my-repo",
+ "labels": {
+ "bug": "Bug fix",
+ "cleanup": "Housekeeping"
+ },
+ "cacheDir": ".changelog"
+ },
"asini": "x.x.x",
"version": "0.2.11"
}
Authenticate:
$ export GITHUB_AUTH="..."
Run:
$ asini-changelog
* `my-package-a`, `my-package-b`
* [
* `my-package-c`
* [
- helpful-hacker
- careful-coder
Copypasta. You're done!
GitHub Auth
You'll need a GitHub API personal access token.
Configuration
repo
: Your "org/repo" on GitHubcacheDir
[optional]: A place to stash GitHub API responses to avoid throttlinglabels
: GitHub issue/PR labels mapped to changelog section headers