From 364041ea7fe3987f64a1b85e1877febd618e1d23 Mon Sep 17 00:00:00 2001 From: literat Date: Mon, 2 Dec 2024 15:53:00 +0100 Subject: [PATCH] Chore(deps): Group dependency updates into smaller PRs * current state of non-major dependency updates is not managgable * there is a lot of different package changes * in the case when CI fails it take a lot of time to resolve where is the root of the problem and which package update is responsible * thus groupping the dependency updates into some smaller contexts will help us with dependency management to be more faster and reliable * and if something fails we should be able to recover fast refs #1769 --- .renovaterc.json | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/.renovaterc.json b/.renovaterc.json index 07fa4efb86..0b90c20dcc 100644 --- a/.renovaterc.json +++ b/.renovaterc.json @@ -23,6 +23,66 @@ "matchPackageNames": ["typescript"], "allowedVersions": "4.7.4", "matchPaths": ["+(package.json)"] + }, + { + "groupName": "monorepo:supernovaio non-major", + "groupSlug": "monorepo-supernovaio-non-major", + "matchPackagePatterns": ["^@supernovaio"], + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "eslint plugins and configs non-major", + "groupSlug": "eslint-plugins-configs-non-major", + "matchPackagePatterns": ["^eslint"], + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "compile tools non-major", + "groupSlug": "compile-tools-non-major", + "matchPackagePatterns": ["^@babel", "^@swc"], + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "types non-major", + "groupSlug": "types-non-major", + "matchPackagePatterns": ["^@types"], + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "monorepo:react non-major", + "groupSlug": "monorepo-react-non-major", + "matchPackagePatterns": ["^react"], + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "lint tools non-major", + "groupSlug": "lint-tools-non-major", + "matchPackagePatterns": ["^prettier", "^lint-staged", "^husky"], + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "stylelint non-major", + "groupSlug": "stylelint-non-major", + "matchPackagePatterns": ["^stylelint"], + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "build tools non-major", + "groupSlug": "build-tools-non-major", + "matchPackagePatterns": ["^rollup", "^vite", "^webpack", "`^@rollup"], + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "monorepo tools non-major", + "groupSlug": "monorepo-tools-non-major", + "matchPackagePatterns": ["^lerna", "^nx"], + "matchUpdateTypes": ["minor", "patch"] + }, + { + "groupName": "typescript non-major", + "groupSlug": "typescript-non-major", + "matchPackagePatterns": ["^typescript"], + "matchUpdateTypes": ["minor", "patch"] } ] }