From 0ba455da017b04cc7f9a41a955a7dbbae7b92986 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 28 Jun 2021 13:41:45 +0000 Subject: [PATCH 1/6] Add renovate.json --- renovate.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000000000..f45d8f110c3034 --- /dev/null +++ b/renovate.json @@ -0,0 +1,5 @@ +{ + "extends": [ + "config:base" + ] +} From 1e584f07cfd02d6d342756fc624ba04f5ed7333e Mon Sep 17 00:00:00 2001 From: eps1lon Date: Mon, 28 Jun 2021 10:13:53 +0200 Subject: [PATCH 2/6] [core] Switch to Renovate from Dependabot --- .github/dependabot.yml | 59 ------------------------------------- .github/renovate.json | 66 ++++++++++++++++++++++++++++++++++++++++++ renovate.json | 5 ---- 3 files changed, 66 insertions(+), 64 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 .github/renovate.json delete mode 100644 renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index c465303c2b2ca8..00000000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,59 +0,0 @@ -# https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates -version: 2 -updates: - - package-ecosystem: npm - directory: '/' - schedule: - interval: weekly - day: sunday - time: '02:00' - open-pull-requests-limit: 30 - labels: - - dependencies - ignore: - # These should be grouped. Maintainer advise: Watch https://github.com/babel/babel - # for new releases and file a PR if you got time. - - dependency-name: '@babel/*' - versions: - - '>= 0' - # https://github.com/mui-org/material-ui/pull/17604#issuecomment-536262291 - - dependency-name: core-js - versions: - - '>= 0' - # These should be grouped once a PR for `jss` is opened - - dependency-name: jss-* - versions: - - '>= 0' - # These should be grouped. Maintainer advise: Watch https://github.com/dmtrKovalenko/date-io - # for new releases and file a PR if you got time. - - dependency-name: '@date-io/*' - versions: - - '>= 0' - # 2.0 started using ES modules instead of CommonJS modules - - dependency-name: raw-loader - versions: - - '>= 0' - # not ignoring `react`. We'll hijack those PRs and also upgrade the other - # packages in the facebook/react repository - # should be grouped with `react` - - dependency-name: react-dom - versions: - - '>= 0' - # should be grouped with `react` - - dependency-name: react-is - versions: - - '>= 0' - # should be grouped with `react` - - dependency-name: react-test-renderer - versions: - - '>= 0' - # https://github.com/mui-org/material-ui/pull/17168#issuecomment-524861427 - - dependency-name: tslint - versions: - - 5.x - # Should be grouped with @typescript-eslint/eslint-plugin - # They sometimes are mergable independently but create a different dependency when merged leading to a changed yarn.lock - # TODO: Revisit once https://github.com/dependabot/dependabot-core/issues/1190 is resolved. - - dependency-name: '@typescript-eslint/parser' - versions: - - '>= 0' diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 00000000000000..23947793348b6b --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,66 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "automerge": false, + "commitMessageAction": "Bump", + "commitMessageExtra": "to {{newValue}}", + "commitMessageTopic": "{{depName}}", + "dependencyDashboard": true, + "ignoreDeps": [], + "labels": ["dependencies"], + "packageRules": [ + { + "matchPackagePatterns": "@babel/*", + "groupName": "babel" + }, + { + "matchPackagePatterns": "@date-io/*", + "groupName": "date-io" + }, + { + "matchPackagePatterns": "@emotion/*", + "groupName": "Emotion" + }, + { + "matchPackageNames": ["core-js"], + "allowedVersions": "< 2.0.0", + "groupName": "core-js" + }, + { + "matchPackageNames": [ + "jss", + "jss-plugin-camel-case", + "jss-plugin-default-unit", + "jss-plugin-global", + "jss-plugin-nested", + "jss-plugin-props-sort", + "jss-plugin-props-sort", + "jss-plugin-rule-value-function", + "jss-plugin-vendor-prefixer", + "react-jss" + ], + "groupName": "JSS" + }, + { + "matchPackageNames": ["raw-loader"], + "allowedVersions": "< 2.0.0", + "groupName": "raw-loader" + }, + { + "matchPackageNames": ["react", "react-dom", "react-is", "react-test-renderer"], + "groupName": "React" + }, + { + "matchPackageNames": ["tslint"], + "allowedVersions": "*", + "groupName": "tslint" + }, + { + "matchPackagePatterns": "@typescript-eslint/*", + "groupName": "typescript-eslint" + } + ], + "prConcurrentLimit": 30, + "prHourlyLimit": 0, + "schedule": "on sunday before 6:00am", + "timezone": "UTC" +} diff --git a/renovate.json b/renovate.json deleted file mode 100644 index f45d8f110c3034..00000000000000 --- a/renovate.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": [ - "config:base" - ] -} From c0e2292f309e6943b3a174675cc8b6fca7d01792 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Mon, 28 Jun 2021 16:32:16 +0200 Subject: [PATCH 3/6] fix tslint ignore --- .github/renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index 23947793348b6b..2ccaf61dee8f32 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -51,7 +51,7 @@ }, { "matchPackageNames": ["tslint"], - "allowedVersions": "*", + "allowedVersions": "<= 5.14.0", "groupName": "tslint" }, { From 95b96d97112f19fa153d3c0f7dbed15151289e1a Mon Sep 17 00:00:00 2001 From: eps1lon Date: Mon, 28 Jun 2021 16:40:59 +0200 Subject: [PATCH 4/6] Throttle bundling fixture updates --- .github/renovate.json | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 2ccaf61dee8f32..420f80802e7aa4 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -9,23 +9,24 @@ "labels": ["dependencies"], "packageRules": [ { - "matchPackagePatterns": "@babel/*", - "groupName": "babel" + "groupName": "babel", + "matchPackagePatterns": "@babel/*" }, { - "matchPackagePatterns": "@date-io/*", - "groupName": "date-io" + "groupName": "date-io", + "matchPackagePatterns": "@date-io/*" }, { - "matchPackagePatterns": "@emotion/*", - "groupName": "Emotion" + "groupName": "Emotion", + "matchPackagePatterns": "@emotion/*" }, { + "groupName": "core-js", "matchPackageNames": ["core-js"], - "allowedVersions": "< 2.0.0", - "groupName": "core-js" + "allowedVersions": "< 2.0.0" }, { + "groupName": "JSS", "matchPackageNames": [ "jss", "jss-plugin-camel-case", @@ -37,26 +38,30 @@ "jss-plugin-rule-value-function", "jss-plugin-vendor-prefixer", "react-jss" - ], - "groupName": "JSS" + ] }, { + "groupName": "raw-loader", "matchPackageNames": ["raw-loader"], - "allowedVersions": "< 2.0.0", - "groupName": "raw-loader" + "allowedVersions": "< 2.0.0" }, { - "matchPackageNames": ["react", "react-dom", "react-is", "react-test-renderer"], - "groupName": "React" + "groupName": "React", + "matchPackageNames": ["react", "react-dom", "react-is", "react-test-renderer"] }, { + "groupName": "tslint", "matchPackageNames": ["tslint"], - "allowedVersions": "<= 5.14.0", - "groupName": "tslint" + "allowedVersions": "<= 5.14.0" }, { - "matchPackagePatterns": "@typescript-eslint/*", - "groupName": "typescript-eslint" + "groupName": "typescript-eslint", + "matchPackagePatterns": "@typescript-eslint/*" + }, + { + "groupName": "bundling fixtures", + "matchPaths": ["test/bundling/fixtures/**/package.json"], + "schedule": "every 6 months on the first day of the month" } ], "prConcurrentLimit": 30, From 10fe831b87ae8cf37b6407fa8f7376284418260b Mon Sep 17 00:00:00 2001 From: eps1lon Date: Thu, 1 Jul 2021 09:54:57 +0200 Subject: [PATCH 5/6] Only update major versions in examples --- .github/renovate.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index 420f80802e7aa4..31559be2922d4a 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -62,6 +62,16 @@ "groupName": "bundling fixtures", "matchPaths": ["test/bundling/fixtures/**/package.json"], "schedule": "every 6 months on the first day of the month" + }, + { + "groupName": "examples", + "matchPaths": ["examples/**/package.json"], + "minor": { + "enabled": false + }, + "patch": { + "enabled": false + } } ], "prConcurrentLimit": 30, From 3d140483c13dcf27ebf0443db103f232b7c3ee59 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Thu, 1 Jul 2021 09:55:37 +0200 Subject: [PATCH 6/6] Ignore react-spring 9.x which has no IE 11 support --- .github/renovate.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index 31559be2922d4a..4dcf848fe1590c 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -45,6 +45,11 @@ "matchPackageNames": ["raw-loader"], "allowedVersions": "< 2.0.0" }, + { + "groupName": "react-spring", + "matchPackageNames": ["react-spring"], + "allowedVersions": "< 9.0.0" + }, { "groupName": "React", "matchPackageNames": ["react", "react-dom", "react-is", "react-test-renderer"]