chore: Configure renovate to respect semver

https://github.com/renovatebot/renovate/issues/3588#issuecomment-486401056
This commit is contained in:
강동윤 (Donny) 2024-07-22 14:41:27 +09:00
parent 7f19eb0aba
commit 0878b4d079

View File

@ -3,9 +3,22 @@
"extends": ["config:recommended"],
"automergeStrategy": "squash",
"automergeType": "pr",
"separateMinorPatch": true,
"separateMajorMinor": true,
"packageRules": [
{
"matchCurrentVersion": "< 1.0.0",
"separateMinorPatch": true,
"patch": {
"groupName": "all non-breaking updates",
"groupSlug": "non-breaking"
}
},
{
"matchCurrentVersion": ">= 1.0.0",
"minor": {
"groupName": "all non-breaking updates",
"groupSlug": "non-breaking"
}
},
{
"groupName": "npm",
"matchDatasources": ["npm"]