Skip to content

Commit

Permalink
ci(semantic-release): include deps upgrades in release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Sep 27, 2023
1 parent 471ccf7 commit ded518f
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .commitlintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@
2,
"always",
1000
],
"type-enum": [
2,
"always",
[
"build",
"ci",
"docs",
"feat",
"fix",
"perf",
"style",
"revert",
"test"
]
]
}
}
46 changes: 43 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"release": "patch"
},
{
"type": "chore",
"scope": "deps",
"type": "build",
"scope": "dev-deps",
"release": "patch"
},
{
Expand All @@ -33,6 +33,10 @@
"type": "feat",
"release": "minor"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
Expand All @@ -53,7 +57,43 @@
[
"@semantic-release/release-notes-generator",
{
"preset": "angular"
"preset": "conventionalcommits",
"writerOpts": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "revert",
"section": "Reverts"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "style",
"section": "Styles"
},
{
"type": "refactor",
"section": "Code Refactoring"
},
{
"type": "build",
"section": "Dependencies Upgrades"
}
]
}
}
],
"@semantic-release/changelog",
Expand Down

0 comments on commit ded518f

Please sign in to comment.