Skip to content

Commit

Permalink
build(semantic-release): use conventioncommits preset
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDynamo committed Apr 18, 2024
1 parent 633868a commit 582982f
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,22 @@ const config = {
[
"@semantic-release/release-notes-generator",
{
//presetConfig:
types: [
{ type: "feat", section: "New Features" },
{ type: "fix", section: "Bug Fixes" },
{ type: "perf", section: "Performance Updates", hidden: false },
{ type: "build", section: "Build System", hidden: false },
{ type: "ci", section: "Continuous Integration", hidden: false },
{ type: "chore", section: "Chores", hidden: false },
{ type: "docs", section: "Documentation", hidden: false },
{ type: "style", section: "Style Changes", hidden: false },
{ type: "refactor", section: "Code Refactoring", hidden: false },
{ type: "test", section: "Test Cases", hidden: true },
],
preset: "conventionalcommits",
presetConfig: {
types: [
{ type: "feat", section: "New Features" },
{ type: "fix", section: "Bug Fixes" },
{ type: "perf", section: "Performance Improvements", hidden: false },
{ type: "revert", section: "Commit Reverts", hidden: false },
{ type: "build", section: "Build System", hidden: false },
{ type: "ci", section: "Continuous Integration", hidden: false },
{ type: "chore", section: "Chores", hidden: false },
{ type: "docs", section: "Documentation", hidden: false },
{ type: "style", section: "Style Changes", hidden: false },
{ type: "refactor", section: "Code Refactoring", hidden: false },
{ type: "test", section: "Test Cases", hidden: true },
],
},
},
],
[
Expand Down

0 comments on commit 582982f

Please sign in to comment.