diff --git a/release.config.js b/release.config.js index b78ff9d..e3fb7e5 100644 --- a/release.config.js +++ b/release.config.js @@ -46,7 +46,25 @@ module.exports = { ], plugins: [ '@semantic-release/commit-analyzer', - '@semantic-release/release-notes-generator', + ['@semantic-release/release-notes-generator', { + "preset": "conventionalcommits", + presetConfig: { + "types": [ + {type: 'feat', section: 'Features'}, + {type: 'feature', section: 'Features'}, + {type: 'fix', section: 'Bug Fixes'}, + {type: 'perf', section: 'Performance Improvements'}, + {type: 'revert', section: 'Reverts'}, + {type: 'docs', section: 'Documentation'}, + {type: 'style', section: 'Styles', hidden: true}, + {type: 'chore', section: 'Miscellaneous Chores', hidden: true}, + {type: 'refactor', section: 'Code Refactoring', hidden: true}, + {type: 'test', section: 'Tests', hidden: true}, + {type: 'build', section: 'Build System'}, + {type: 'ci', section: 'Continuous Integration', hidden: true} + ] + } + }], '@semantic-release/changelog', ['@semantic-release/exec', {prepareCmd, publishCmd, successCmd}], ['@semantic-release/git', {assets: '.'}],