Skip to content

Commit 44a4d75

Browse files
committed
chore(renovate): use releasable commit type for runtime deps
Configure Renovate to emit fix(deps) for npm runtime dependency updates so Release Please treats them as releasable by default. Keep devDependencies as chore(deps) to avoid release noise from development-only updates.
1 parent 51df390 commit 44a4d75

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/renovate.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,38 @@
33
"globalExtends": [
44
"config:base"
55
],
6+
"semanticCommits": "enabled",
67
"extends": ["group:allNonMajor", "schedule:monthly"],
78
"packageRules": [
89
{
910
"description": "Create a PR whenever there is a new major version",
1011
"matchUpdateTypes": [
1112
"major"
1213
]
14+
},
15+
{
16+
"description": "Use releasable commit type for runtime dependency updates",
17+
"matchManagers": [
18+
"npm"
19+
],
20+
"matchDepTypes": [
21+
"dependencies",
22+
"optionalDependencies",
23+
"peerDependencies"
24+
],
25+
"semanticCommitType": "fix",
26+
"semanticCommitScope": "deps"
27+
},
28+
{
29+
"description": "Keep development-only dependency updates non-releasable",
30+
"matchManagers": [
31+
"npm"
32+
],
33+
"matchDepTypes": [
34+
"devDependencies"
35+
],
36+
"semanticCommitType": "chore",
37+
"semanticCommitScope": "deps"
1338
}
1439
],
1540
"ignorePaths": [

0 commit comments

Comments
 (0)