Adding changelog to release-it

This commit is contained in:
simos
2025-09-23 10:22:16 +02:00
parent d7ed1de1cb
commit 1f25f1e79b
3 changed files with 167 additions and 1 deletions

19
.release-it.json Normal file
View File

@@ -0,0 +1,19 @@
{
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "v${version}",
"changelog": "npx auto-changelog --stdout --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"npm": {
"publish": true
},
"github": {
"release": true,
"releaseName": "Claude Code UI v${version}",
"releaseNotes": "## Installation\n\n```bash\nnpx @siteboon/claude-code-ui@${version}\n```\n\n## Changes\n\n${changelog}"
},
"hooks": {
"before:init": ["npm run build"],
"after:release": ["npx auto-changelog --package"]
}
}