Skip to content

Commit cb94c92

Browse files
author
Ryan Sonshine
committed
build(semantic-release): add configuration for releasing dependabot updates
1 parent 76ceec2 commit cb94c92

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-0
lines changed

package-lock.json

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"@typescript-eslint/eslint-plugin": "^4.22.0",
5555
"@typescript-eslint/parser": "^4.22.0",
5656
"codecov": "^3.8.3",
57+
"conventional-changelog-conventionalcommits": "^5.0.0",
5758
"eslint": "^7.25.0",
5859
"eslint-config-prettier": "^8.3.0",
5960
"eslint-plugin-node": "^11.1.0",
@@ -78,6 +79,46 @@
7879
"release": {
7980
"branches": [
8081
"main"
82+
],
83+
"plugins": [
84+
[
85+
"@semantic-release/commit-analyzer",
86+
{
87+
"preset": "conventionalcommits",
88+
"releaseRules": [
89+
{
90+
"type": "build",
91+
"scope": "deps",
92+
"release": "patch"
93+
}
94+
]
95+
}
96+
],
97+
[
98+
"@semantic-release/release-notes-generator",
99+
{
100+
"preset": "conventionalcommits",
101+
"presetConfig": {
102+
"types": [
103+
{
104+
"type": "feat",
105+
"section": "Features"
106+
},
107+
{
108+
"type": "fix",
109+
"section": "Bug Fixes"
110+
},
111+
{
112+
"type": "build",
113+
"section": "Dependencies and Other Build Updates",
114+
"hidden": false
115+
}
116+
]
117+
}
118+
}
119+
],
120+
"@semantic-release/npm",
121+
"@semantic-release/github"
81122
]
82123
}
83124
}

0 commit comments

Comments
 (0)