diff --git a/package.json b/package.json index abe4be17..278a9029 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,27 @@ ], "plugins": [ "@semantic-release/commit-analyzer", - "@semantic-release/release-notes-generator", + ["@semantic-release/release-notes-generator", { + "preset": "conventionalcommits", + "parserOpts": { + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"] + }, + "presetConfig": { + "types": [ + {"type": "add", "section": "Added"}, + {"type": "fix", "section": "Fixed"}, + {"type": "change", "section": "Changed"}, + {"type": "deprecate", "section": "Deprecated"}, + {"type": "remove", "section": "Removed"}, + {"type": "security", "section": "Security"}, + {"type": "chore", "hidden": true}, + {"type": "docs", "hidden": true}, + {"type": "style", "hidden": true}, + {"type": "refactor", "hidden": true}, + {"type": "perf", "hidden": true}, + {"type": "test", "hidden": true} + ]} + }], "@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git",