|
1 | 1 | { |
2 | | - $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
| 2 | + $schema: "https://docs.renovatebot.com/renovate-schema.json", |
3 | 3 | extends: [ |
4 | | - 'config:best-practices', |
5 | | - // go ahead and update Docker FROM sources, and pin them with a hash |
6 | | - ':docker', |
7 | | - // update lockfile versions weekly |
8 | | - ':maintainLockFilesWeekly', |
9 | | - // keep all dependency versions pinned - except peerDependencies |
10 | | - ':pinAllExceptPeerDependencies', |
11 | | - // > wait until the npm package is three days old before raising the |
12 | | - // > update. This prevents npm unpublishing a package you already upgraded to. |
13 | | - 'npm:unpublishSafe', |
14 | | - // disable semantic commits |
15 | | - ':semanticCommitsDisabled', |
| 4 | + "config:best-practices", |
| 5 | + ":docker", |
| 6 | + ":maintainLockFilesWeekly", |
| 7 | + ":pinAllExceptPeerDependencies", |
| 8 | + "npm:unpublishSafe", |
| 9 | + ":semanticCommitsDisabled", |
16 | 10 | ], |
17 | 11 | packageRules: [ |
18 | | - // require manual approval for new minor OR major versions of these packages |
19 | 12 | { |
20 | 13 | matchPackageNames: [ |
21 | | - '@types/react-native', |
22 | | - 'react-native', |
23 | | - 'metro-react-native-babel-preset', |
24 | | - '@react-native/metro-config', |
25 | | - '@react-native/eslint-config', |
26 | | - '@types/react-test-renderer', |
27 | | - 'react-test-renderer', |
28 | | - '@types/react', |
29 | | - 'react', |
30 | | - 'com.facebook.flipper:flipper', |
31 | | - 'com.facebook.flipper:flipper-fresco-plugin', |
32 | | - 'com.facebook.flipper:flipper-network-plugin', |
| 14 | + "@types/react-native", |
| 15 | + "react-native", |
| 16 | + "metro-react-native-babel-preset", |
| 17 | + "@react-native/metro-config", |
| 18 | + "@react-native/eslint-config", |
| 19 | + "@types/react-test-renderer", |
| 20 | + "react-test-renderer", |
| 21 | + "@types/react", |
| 22 | + "react", |
| 23 | + "com.facebook.flipper:flipper", |
| 24 | + "com.facebook.flipper:flipper-fresco-plugin", |
| 25 | + "com.facebook.flipper:flipper-network-plugin", |
33 | 26 | ], |
34 | | - matchUpdateTypes: ['minor', 'major'], |
| 27 | + matchUpdateTypes: ["minor", "major"], |
35 | 28 | dependencyDashboardApproval: true, |
36 | 29 | }, |
37 | | - // require manual approval for new major versions of these packages |
38 | 30 | { |
39 | | - matchPackageNames: ['react-markdown'], |
40 | | - matchUpdateTypes: ['major'], |
| 31 | + matchPackageNames: ["react-markdown"], |
| 32 | + matchUpdateTypes: ["major"], |
41 | 33 | dependencyDashboardApproval: true, |
42 | 34 | }, |
43 | | - // stop widening peerDep ranges for custom modules |
44 | 35 | { |
45 | | - matchPaths: ['modules/**/package.json'], |
46 | | - matchDepTypes: ['peerDependencies'], |
47 | | - rangeStrategy: 'bump', |
| 36 | + matchFileNames: ["modules/**/package.json"], |
| 37 | + matchDepTypes: ["peerDependencies"], |
| 38 | + rangeStrategy: "bump", |
48 | 39 | }, |
49 | | - // group all redux packages together |
50 | 40 | { |
51 | | - groupName: 'redux', |
52 | | - matchPackageNames: ['@reduxjs/**', 'react-redux'], |
| 41 | + groupName: "redux", |
| 42 | + matchPackageNames: ["@reduxjs/**", "react-redux"], |
53 | 43 | }, |
54 | 44 | ], |
55 | | - // Allow Renovate to open as many PRs as it wants |
56 | 45 | prConcurrentLimit: 0, |
57 | 46 | } |
0 commit comments