From 0878b4d079a5b1b01196bb944092f781e86e0583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 22 Jul 2024 14:41:27 +0900 Subject: [PATCH] chore: Configure renovate to respect semver https://github.com/renovatebot/renovate/issues/3588#issuecomment-486401056 --- renovate.json | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/renovate.json b/renovate.json index 8c9ad358750..8cc2c41669d 100644 --- a/renovate.json +++ b/renovate.json @@ -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"]