diff --git a/package.json b/package.json index 4de03acb01..a6534d0bf9 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,6 @@ }, "peerDependencies": { "@babel/core": ">=7.0.0-beta.0 <8", - "@types/jest": "^27.0.0", "babel-jest": "^28.0.0", "jest": "^28.0.0", "typescript": ">=4.3" @@ -71,9 +70,6 @@ "@babel/core": { "optional": true }, - "@types/jest": { - "optional": true - }, "babel-jest": { "optional": true }, diff --git a/renovate.json b/renovate.json index f45d8f110c..cd1b77f0ab 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,68 @@ { "extends": [ - "config:base" + ":dependencyDashboard", + "group:babelMonorepo", + "group:commitlintMonorepo", + "group:docusaurusMonorepo", + ":prHourlyLimit2", + "workarounds:all" + ], + "timezone": "UTC", + "rangeStrategy": "bump", + "separateMajorMinor": true, + "prConcurrentLimit": 2, + "semanticCommits": "enabled", + "commitMessagePrefix": "build(deps):", + "ignorePaths": ["examples/react-app"], + "ignoreDeps": [ + "@mdx-js/react", + "@types/react", + "execa", + "chalk", + "husky" + ], + "packageRules": [ + { + "matchPaths": ["examples/**"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "matchPaths": ["examples/react-app"], + "enabled": false + }, + { + "matchPaths": ["package.json"], + "matchPackagePatterns": ["jest"], + "excludePackageNames": ["eslint-plugin-jest"], + "matchUpdateTypes": ["patch", "minor"], + "groupName": "Jest packages" + }, + { + "extends": ["packages:eslint"], + "groupName": "ESLint packages" + }, + { + "matchPackagePrefixes": ["esbuild"], + "groupName": "Esbuild packages" + }, + { + "matchFiles": ["package.json"], + "matchDepTypes": ["dependencies", "optionalDependencies"], + "rangeStrategy": "in-range-only" + }, + { + "matchPaths": ["e2e/**"], + "matchPackageNames": [ + "react", + "react-intl" + ], + "groupName": "React e2e packages", + "enabled": true + }, + { + "matchDepTypes": ["peerDependencies"], + "enabled": false + } ] }