Skip to content

Commit

Permalink
chore(release): include more types in the release notes (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs authored Oct 12, 2020
1 parent 1d260b9 commit cd5225d
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 8 deletions.
20 changes: 15 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"types": "lib/index.d.ts",
"husky": {
"hooks": {
"pre-commit": "oclif-dev readme && git add README.md",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
Expand Down
25 changes: 23 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ module.exports = {
type: "refactor",
release: "patch",
},
{
type: "perf",
release: "patch",
},
{
type: "build",
scope: "deps",
Expand All @@ -16,7 +20,24 @@ module.exports = {
],
},
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/release-notes-generator",
{
presetConfig: {
types: [
{ type: "feat", section: "Features" },
{ type: "fix", section: "Bug Fixes" },
{ type: "perf", section: "Improvements" },
{ type: "refactor", section: "Improvements" },
{ type: "build", section: "Improvements" },
{ type: "chore", hidden: true },
{ type: "docs", hidden: true },
{ type: "style", hidden: true },
{ type: "test", hidden: true },
],
},
},
],
"@semantic-release/changelog",
[
"@semantic-release/npm",
Expand All @@ -40,7 +61,7 @@ module.exports = {
"@semantic-release/github",
{
assets: "dist/*.tgz",
addReleases: "bottom"
addReleases: "bottom",
},
],
],
Expand Down

0 comments on commit cd5225d

Please sign in to comment.