2026-09-06 00:36:01 +07:00
|
|
|
{
|
|
|
|
|
"branches": ["main"],
|
|
|
|
|
"plugins": [
|
2026-09-19 00:54:30 +07:00
|
|
|
[
|
|
|
|
|
"@semantic-release/commit-analyzer",
|
|
|
|
|
{
|
|
|
|
|
"releaseRules": [
|
|
|
|
|
{ "type": "refactor", "release": "patch" },
|
|
|
|
|
{ "type": "test", "release": "patch" },
|
|
|
|
|
{ "type": "build", "release": "patch" },
|
|
|
|
|
{ "type": "ci", "release": "patch" },
|
|
|
|
|
{ "type": "docs", "release": "patch" }
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
2026-09-06 00:36:01 +07:00
|
|
|
"@semantic-release/release-notes-generator",
|
|
|
|
|
[
|
|
|
|
|
"@semantic-release/changelog",
|
|
|
|
|
{
|
|
|
|
|
"changelogFile": "CHANGELOG.md"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
"@semantic-release/exec",
|
|
|
|
|
{
|
2026-09-06 00:47:39 +07:00
|
|
|
"prepareCmd": "node ./.semrel/prepare.mjs '${nextRelease.version}' && bunx biome check package.json flake.nix CHANGELOG.md 2>/dev/null || true",
|
|
|
|
|
"successCmd": "node ./.semrel/dispatch.mjs '${nextRelease.version}'"
|
2026-09-06 00:36:01 +07:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
"@semantic-release/git",
|
|
|
|
|
{
|
|
|
|
|
"assets": ["package.json", "flake.nix", "CHANGELOG.md"],
|
|
|
|
|
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"@semantic-release/github"
|
|
|
|
|
]
|
|
|
|
|
}
|