Skip to content

Commit 108e76f

Browse files
committed
chore: Add @release-it/conventional-changelog.
1 parent 19e8f02 commit 108e76f

File tree

5 files changed

+869
-28
lines changed

5 files changed

+869
-28
lines changed

.release-it.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,31 @@
77
},
88
"github": {
99
"release": true
10+
},
11+
"plugins": {
12+
"@release-it/conventional-changelog": {
13+
"infile": "CHANGELOG.md",
14+
"preset": {
15+
"name": "conventionalcommits",
16+
"types": [
17+
{
18+
"type": "feat",
19+
"section": "Features"
20+
},
21+
{
22+
"type": "fix",
23+
"section": "Bug Fixes"
24+
},
25+
{
26+
"type": "refactor",
27+
"section": "Changes"
28+
},
29+
{
30+
"type": "chore",
31+
"section": "Maintenance"
32+
}
33+
]
34+
}
35+
}
1036
}
1137
}

CHANGELOG.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
# Change Log
2-
3-
## 1.0.0 (unreleased)
4-
5-
### Breaking
1+
## 1.0.0 (2021+08+18)
62

73
### Feature
84

9-
### Bugfix
10-
11-
### Internal
5+
- Initial release

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ['@commitlint/config-conventional'] };

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
"@plone/volto": ">=13.8.0"
1818
},
1919
"devDependencies": {
20+
"@commitlint/cli": "^13.1.0",
21+
"@commitlint/config-conventional": "^13.1.0",
22+
"@release-it/conventional-changelog": "^3.2.0",
2023
"prettier": "2.0.5",
2124
"release-it": "*",
2225
"stylelint": "13.3.3",

0 commit comments

Comments
 (0)