Skip to content

Commit 378e58f

Browse files
authored
chore: update releaserc (#170)
1 parent 4d7b6b3 commit 378e58f

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.releaserc

+18-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,24 @@
66
{"type": "chore", "release": "patch"}
77
]
88
}],
9-
"@semantic-release/release-notes-generator",
9+
["@semantic-release/release-notes-generator", {
10+
"preset": "conventionalcommits",
11+
"presetConfig": {
12+
"types": [
13+
{"type": "feat", "section": "Features"},
14+
{"type": "fix", "section": "Bug Fixes"},
15+
{"type": "perf", "section": "Performance Improvements"},
16+
{"type": "revert", "section": "Reverts"},
17+
{"type": "chore", "section": "Miscellaneous Chores"},
18+
{"type": "refactor", "section": "Code Refactoring"},
19+
{"type": "docs", "section": "Documentation", "hidden": true},
20+
{"type": "style", "section": "Styles", "hidden": true},
21+
{"type": "test", "section": "Tests", "hidden": true},
22+
{"type": "build", "section": "Build System", "hidden": true},
23+
{"type": "ci", "section": "Continuous Integration", "hidden": true}
24+
]
25+
}
26+
}],
1027
["@semantic-release/changelog", {
1128
"changelogFile": "CHANGELOG.md"
1229
}],
@@ -18,4 +35,3 @@
1835
"@semantic-release/github"
1936
]
2037
}
21-

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
"babel-plugin-source-map-support": "^2.2.0",
8585
"chai": "^4.1.2",
8686
"chai-as-promised": "^7.1.1",
87+
"conventional-changelog-conventionalcommits": "^5.0.0",
8788
"eslint": "^7.32.0",
8889
"eslint-config-prettier": "^8.5.0",
8990
"eslint-plugin-import": "^2.26.0",

0 commit comments

Comments
 (0)