My personal changeset changelog configuration.
npm install @mheob/changeset-changelog@mheob/changeset-changelog


Add my own style for the changelogs generated by the awesome changesets library. The
style was inspired by the original
@changesets/changelog-github and the
@svitejs/changesets-changelog-github-compact packages.
``sh`
npm install -D @mheob/changeset-changelog
`sh`
yarn add -D @mheob/changeset-changelog
`sh`
pnpm add -D @mheob/changeset-changelog
Set in your .changeset/config.json file the following snippet:
`jsonc`
{
"changelog": ["@mheob/changeset-changelog", { "repo": "YOUR_ORG_OR_USER/YOUR_REPO" }],
}
There are differences between this changelog output and the others:
- #PR-ID commit Thanks @user! - Add nice feature to the project with a PR and commit
- commit Thanks @user! - Add nice feature to the project without a PR
- Add nice feature to the project with a PR and commit (#PR)
- Add nice feature to the project without a PR (commit)
- PR (@user): Add nice feature to the project with a PR and commit
- commit (@user): Add nice feature to the project without a PR
_Thanks to @svitejs/changesets-changelog-github-compact for this nice feature!_
All links to issues (or pull requests) in the chageset will automatically converted to a link.\
To enable the changeset have to called it like this variants:
- (fix: #123),(fixes: #123)
- ,(resolves: #123)
- or(see: #123)
-
The changeset
`yml``
---
'@mheob/changeset-changelog': patch
---
Add nice feature to the project (see #123)
will outputted in the changelog like