From 7ac8a0b092fca5cab4cd8bf95847c6f7eaf04988 Mon Sep 17 00:00:00 2001 From: Alex Nault Date: Thu, 4 Feb 2021 21:45:09 -0500 Subject: [PATCH] chores(): Fix missing sections in release notes --- .releaserc.json | 52 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/.releaserc.json b/.releaserc.json index 2e83e12..a6c6571 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -3,11 +3,11 @@ "master", { "name": "next", "channel": "next", "prerelease": "next" } ], + "preset": "angular", "plugins": [ [ "@semantic-release/commit-analyzer", { - "preset": "angular", "releaseRules": [ { "type": "docs", "release": "patch" }, { "type": "refactor", "release": "patch" }, @@ -20,7 +20,55 @@ } } ], - "@semantic-release/release-notes-generator", + [ + "@semantic-release/release-notes-generator", + { + "presetConfig": { + "types": [ + { + "type": "feat", + "section": "Features", + "hidden": false + }, + { + "type": "fix", + "section": "Bug Fixes", + "hidden": false + }, + { + "type": "docs", + "section": "Documentation", + "hidden": false + }, + { + "type": "refactor", + "section": "Code Refactors", + "hidden": false + }, + { + "type": "perf", + "section": "Performance", + "hidden": false + }, + { + "type": "style", + "section": "Styles", + "hidden": false + }, + { + "type": "test", + "section": "Tests", + "hidden": false + }, + { + "type": "chore", + "section": "Chores", + "hidden": false + } + ] + } + } + ], "@semantic-release/npm", "@semantic-release/github" ]