Skip to content

Commit

Permalink
build: 📦️ semantic release config
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 14, 2020
1 parent e93c8f5 commit 7f8e9c4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ module.exports = {
parserOpts: {
noteKeywords: ["BREAKING CHANGE", "BREAKING CHANGES"],
},
},
],
[
"@semantic-release/release-notes-generator",
{
preset: "conventionalcommits",
presetConfig: {
types: [
{ type: "feat", section: "Features" },
{ type: "fix", section: "Bug Fixes" },
{ type: "chore", section: "Other" },
{ type: "docs", section: "Other" },
{ type: "docs", section: "Documentation" },
{ type: "style", section: "Other" },
{ type: "refactor", section: "Other" },
{ type: "perf", section: "Other" },
Expand All @@ -28,7 +34,6 @@ module.exports = {
},
},
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/github",
"@semantic-release/npm",
Expand Down

0 comments on commit 7f8e9c4

Please sign in to comment.