Skip to content

Commit 831944d

Browse files
author
Ahmad Nassri
committed
chore(template): update .semantic.json
1 parent 39bf074 commit 831944d

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.semantic.json

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"plugins": [
3+
["@semantic-release/commit-analyzer", {
4+
"preset": "conventionalcommits",
5+
"releaseRules": [
6+
{ "breaking": true, "release": "major" },
7+
{ "revert": true, "release": "patch" },
8+
{ "type": "build", "release": "patch" },
9+
{ "type": "docs", "release": "patch" },
10+
{ "type": "feat", "release": "minor" },
11+
{ "type": "fix", "release": "patch" },
12+
{ "type": "perf", "release": "patch" },
13+
{ "type": "refactor", "release": "patch" }
14+
]
15+
}],
16+
["@semantic-release/release-notes-generator", {
17+
"preset": "conventionalcommits",
18+
"presetConfig": {
19+
"types": [
20+
{ "type": "build", "section": "Build", "hidden": false },
21+
{ "type": "chore", "section": "Chores", "hidden": false },
22+
{ "type": "ci", "section": "CI/CD", "hidden": false },
23+
{ "type": "docs", "section": "Docs", "hidden": false },
24+
{ "type": "feat", "section": "Features", "hidden": false },
25+
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
26+
{ "type": "perf", "section": "Performance", "hidden": false },
27+
{ "type": "refactor", "section": "Refactor", "hidden": false },
28+
{ "type": "style", "section": "Code Style", "hidden": false },
29+
{ "type": "test", "section": "Tests", "hidden": false }
30+
]
31+
}
32+
}],
33+
"@semantic-release/github"
34+
]
35+
}

0 commit comments

Comments
 (0)