Skip to content

Commit 55bfabb

Browse files
nkmr-jpclaude
andcommitted
chore: configure semantic-release to treat more commit types as patch updates
Configure semantic-release to release patch versions for: - fix: bug fixes - style: code formatting changes - refactor: code refactoring - perf: performance improvements - test: test additions or fixes - chore: build and tooling changes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent fffaf19 commit 55bfabb

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.releaserc.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,20 @@
77
}
88
],
99
"plugins": [
10-
"@semantic-release/commit-analyzer",
10+
[
11+
"@semantic-release/commit-analyzer",
12+
{
13+
"preset": "angular",
14+
"releaseRules": [
15+
{"type": "fix", "release": "patch"},
16+
{"type": "style", "release": "patch"},
17+
{"type": "refactor", "release": "patch"},
18+
{"type": "perf", "release": "patch"},
19+
{"type": "test", "release": "patch"},
20+
{"type": "chore", "release": "patch"}
21+
]
22+
}
23+
],
1124
"@semantic-release/release-notes-generator",
1225
"@semantic-release/changelog",
1326
[

0 commit comments

Comments
 (0)