From 04dcbad58202c6a0e91dc951a8d8df724af44478 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:09:56 +0100 Subject: [PATCH] Configure Renovate (#91) * Add renovate.json * update default renovate config * move renovate config file to .json5 * fix renovate schedule * remove renovate schedule * group packages together * add dependency dashboard * require dashboard approval for major node updates * turn off prs for patch updates --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alice Rose --- renovate.json5 | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 renovate.json5 diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 0000000..f76f0f0 --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,56 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base", + ":dependencyDashboard" + ], + "prConcurrentLimit": 3, // only three PRs can be open at a time. + "timezone": "Europe/Berlin", + // Add some custom labels + // - {{manager}} adds the name of the manager used (https://docs.renovatebot.com/modules/manager/) + "labels": [ + "dependencies", + "{{manager}}" + ], + // Group package updates together in one PR + "packageRules": [ + { + "matchPackagePatterns": ["^eslint", "^babel-eslint$"], + "groupName": "eslint packages" + }, + { + "matchPackagePatterns": ["^jest", "^babel-jest$"], + "groupName": "jest packages" + }, + { + "matchPackagePatterns": ["^@babel"], + "groupName": "@babel packages" + }, + { + "matchPackagePatterns": ["^webpack", "^babel-loader$"], + "groupName": "webpack packages" + }, + { + "matchPackagePatterns": ["^vue[^3]", "^@vue/test-utils$"], + "groupName": "vue2 packages" + }, + { + "matchPackagePatterns": ["^vue3$", "^@vue/test-utils3$"], + "groupName": "vue3 packages" + }, + { + "matchPackagePatterns": ["^node$"], + "groupName": "node", + "major": { + "dependencyDashboardApproval": true + } + } + ], + "patch": { + "enabled": false + }, + "assignees": [ + "axlwaii", + "heldinz" + ] +}