Skip to content

Commit

Permalink
feat(chore): generate detailed and informative changelog (#86)
Browse files Browse the repository at this point in the history
Using Customizable npm package to generate changelog

GH-85
  • Loading branch information
yeshamavani authored Jan 10, 2023
1 parent b0d8d42 commit 8f22dfc
Show file tree
Hide file tree
Showing 7 changed files with 1,052 additions and 39 deletions.
5 changes: 3 additions & 2 deletions .cz-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module.exports = {

scopes: [
{name: 'ci-cd'},
{name: 'chore'},
{name: 'deps'},
{name: 'tests'},
{name: 'datasources'},
Expand All @@ -48,10 +49,10 @@ module.exports = {
// used if allowCustomScopes is true
customScope: 'Denote the SCOPE of this change:',
subject: 'Write a SHORT, IMPERATIVE tense description of the change:\n',
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
body: 'Provide a LONGER description of the change (mandatory). Use "\\n" to break new line:\n',
breaking: 'List any BREAKING CHANGES (optional):\n',
footer:
'List any ISSUES CLOSED by this change (optional). E.g.: AF-31, AF-34:\n',
'List any ISSUES CLOSED by this change (optional). E.g.: GH-31, GH-34:\n',
confirmCommit: 'Are you sure you want to proceed with the commit above?',
},

Expand Down
2 changes: 2 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ module.exports = {
'header-max-length': [2, 'always', 100],
'body-leading-blank': [2, 'always'],
'footer-leading-blank': [0, 'always'],
'references-empty': [2, 'never'],
'body-empty': [2, 'never'],
},
parserPreset: {
parserOpts: {
Expand Down
Loading

0 comments on commit 8f22dfc

Please sign in to comment.