Skip to content

Commit 0c78057

Browse files
authored
feat(chore): generate detailed and informative changelog (#116)
Using Customizable npm package to generate changelog GH-115
1 parent 34f26d1 commit 0c78057

File tree

7 files changed

+1044
-28
lines changed

7 files changed

+1044
-28
lines changed

.cz-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ module.exports = {
4444
// used if allowCustomScopes is true
4545
customScope: 'Mention the SCOPE of this change:',
4646
subject: 'Write a SHORT, IMPERATIVE tense description of the change:\n',
47-
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
47+
body: 'Provide a LONGER description of the change (mandatory). Use "\\n" to break new line:\n',
4848
breaking: 'List any BREAKING CHANGES (optional):\n',
4949
footer:
50-
'List any ISSUES CLOSED by this change (optional). E.g.: #31, #34:\n',
50+
'List any ISSUES CLOSED by this change (optional). E.g.: GH-31, GH-34:\n',
5151
confirmCommit: 'Are you sure you want to proceed with the commit above?',
5252
},
5353

commitlint.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,12 @@ module.exports = {
44
'header-max-length': [2, 'always', 100],
55
'body-leading-blank': [2, 'always'],
66
'footer-leading-blank': [0, 'always'],
7+
'references-empty': [2, 'never'],
8+
'body-empty': [2, 'never'],
9+
},
10+
parserPreset: {
11+
parserOpts: {
12+
issuePrefixes: ['GH-'],
13+
},
714
},
815
};

0 commit comments

Comments
 (0)