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..4dcf848fe1590c --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,86 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "automerge": false, + "commitMessageAction": "Bump", + "commitMessageExtra": "to {{newValue}}", + "commitMessageTopic": "{{depName}}", + "dependencyDashboard": true, + "ignoreDeps": [], + "labels": ["dependencies"], + "packageRules": [ + { + "groupName": "babel", + "matchPackagePatterns": "@babel/*" + }, + { + "groupName": "date-io", + "matchPackagePatterns": "@date-io/*" + }, + { + "groupName": "Emotion", + "matchPackagePatterns": "@emotion/*" + }, + { + "groupName": "core-js", + "matchPackageNames": ["core-js"], + "allowedVersions": "< 2.0.0" + }, + { + "groupName": "JSS", + "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": "raw-loader", + "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"] + }, + { + "groupName": "tslint", + "matchPackageNames": ["tslint"], + "allowedVersions": "<= 5.14.0" + }, + { + "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" + }, + { + "groupName": "examples", + "matchPaths": ["examples/**/package.json"], + "minor": { + "enabled": false + }, + "patch": { + "enabled": false + } + } + ], + "prConcurrentLimit": 30, + "prHourlyLimit": 0, + "schedule": "on sunday before 6:00am", + "timezone": "UTC" +}