A changelog entry generator for changeset on GitHub with links to commits, PRs and optionally users.
@ncontiero/changelog-githubA changelog entry generator for changeset on GitHub with links to commits, PRs, and optionally users.
First Install the package:
npm i --save-dev @ncontiero/changelog-githubAnd use it on .changeset/config.json:
{
  // ...
  "changelog": ["@ncontiero/changelog-github", { "repo": "<org>/<repo>" }]
  // ...
}There is also an optional option, which is exclude, an object and can have the user,pr and commit keys and their values being boolean.
{
  // ...
  "changelog": [
    "@ncontiero/changelog-github",
    {
      "repo": "<org>/<repo>",
      "exclude": { "user": true }
    }
  ]
  // ...
}This option does not add the comment: "Thanks <@user>!".
And you can use to remove the pull releases:
{
  // ...
  "changelog": [
    "@ncontiero/changelog-github",
    {
      "repo": "<org>/<repo>",
      "exclude": { "pr": true }
    }
  ]
  // ...
}And to remove the commits:
{
  // ...
  "changelog": [
    "@ncontiero/changelog-github",
    {
      "repo": "<org>/<repo>",
      "exclude": { "commit": true }
    }
  ]
  // ...
}