Skip to content

Commit 0878b4d

Browse files
committed
chore: Configure renovate to respect semver
renovatebot/renovate#3588 (comment)
1 parent 7f19eb0 commit 0878b4d

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

renovate.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,22 @@
33
"extends": ["config:recommended"],
44
"automergeStrategy": "squash",
55
"automergeType": "pr",
6-
"separateMinorPatch": true,
7-
"separateMajorMinor": true,
86
"packageRules": [
7+
{
8+
"matchCurrentVersion": "< 1.0.0",
9+
"separateMinorPatch": true,
10+
"patch": {
11+
"groupName": "all non-breaking updates",
12+
"groupSlug": "non-breaking"
13+
}
14+
},
15+
{
16+
"matchCurrentVersion": ">= 1.0.0",
17+
"minor": {
18+
"groupName": "all non-breaking updates",
19+
"groupSlug": "non-breaking"
20+
}
21+
},
922
{
1023
"groupName": "npm",
1124
"matchDatasources": ["npm"]

0 commit comments

Comments
 (0)