|
1 | 1 | { |
2 | | - "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
3 | | - "extends": [ |
4 | | - "config:base", |
5 | | - // go ahead and update Docker FROM sources, and pin them with a hash |
6 | | - ":docker", |
7 | | - "docker:pinDigests", |
8 | | - // update lockfile versions weekly |
9 | | - ":maintainLockFilesWeekly", |
10 | | - // keep all dependency versions pinned - except peerDependencies |
11 | | - ":pinAllExceptPeerDependencies", |
12 | | - // pin github-actions with a digest, to avoid surprises when they update |
13 | | - "helpers:pinGitHubActionDigests", |
14 | | - // > wait until the npm package is three days old before raising the |
15 | | - // > update. This prevents npm unpublishing a package you already upgraded to. |
16 | | - "npm:unpublishSafe", |
17 | | - // include ts-jest and @types/jest in jestjs grouped updates |
18 | | - "group:jestPlusTSJest", |
19 | | - "group:jestPlusTypes" |
20 | | - ], |
21 | | - "packageRules": [ |
22 | | - // require manual approval for new minor OR major versions of these packages |
23 | | - { |
24 | | - "matchPackageNames": [ |
25 | | - "@types/react-native", |
26 | | - "react-native", |
27 | | - "metro-react-native-babel-preset", |
28 | | - "@types/react-test-renderer", |
29 | | - "react-test-renderer", |
30 | | - "@types/react", |
31 | | - "react" |
32 | | - ], |
33 | | - "matchUpdateTypes": ["minor", "major"], |
34 | | - "dependencyDashboardApproval": true |
35 | | - }, |
36 | | - // require manual approval for new major versions of these packages |
37 | | - { |
38 | | - "matchPackageNames": [ |
39 | | - "react-markdown" |
40 | | - ], |
41 | | - "matchUpdateTypes": ["major"], |
42 | | - "dependencyDashboardApproval": true |
43 | | - }, |
44 | | - // disable renovate for the app/build.gradle react-native and webkit dependencies |
45 | | - { |
46 | | - "matchPackageNames": ["com.facebook.react:react-native", "org.webkit:android-jsc"], |
47 | | - "enabled": false |
48 | | - }, |
49 | | - // stop widening peerDep ranges for custom modules |
50 | | - { |
51 | | - "matchPaths": ["modules/**/package.json"], |
52 | | - "matchDepTypes": ["peerDependencies"], |
53 | | - "rangeStrategy": "bump" |
54 | | - } |
55 | | - ] |
| 2 | + $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
| 3 | + extends: [ |
| 4 | + 'config:base', |
| 5 | + // go ahead and update Docker FROM sources, and pin them with a hash |
| 6 | + ':docker', |
| 7 | + 'docker:pinDigests', |
| 8 | + // update lockfile versions weekly |
| 9 | + ':maintainLockFilesWeekly', |
| 10 | + // keep all dependency versions pinned - except peerDependencies |
| 11 | + ':pinAllExceptPeerDependencies', |
| 12 | + // pin github-actions with a digest, to avoid surprises when they update |
| 13 | + 'helpers:pinGitHubActionDigests', |
| 14 | + // > wait until the npm package is three days old before raising the |
| 15 | + // > update. This prevents npm unpublishing a package you already upgraded to. |
| 16 | + 'npm:unpublishSafe', |
| 17 | + // include ts-jest and @types/jest in jestjs grouped updates |
| 18 | + 'group:jestPlusTSJest', |
| 19 | + 'group:jestPlusTypes', |
| 20 | + ], |
| 21 | + packageRules: [ |
| 22 | + // require manual approval for new minor OR major versions of these packages |
| 23 | + { |
| 24 | + matchPackageNames: [ |
| 25 | + '@types/react-native', |
| 26 | + 'react-native', |
| 27 | + 'metro-react-native-babel-preset', |
| 28 | + '@types/react-test-renderer', |
| 29 | + 'react-test-renderer', |
| 30 | + '@types/react', |
| 31 | + 'react', |
| 32 | + 'com.facebook.flipper:flipper', |
| 33 | + 'com.facebook.flipper:flipper-fresco-plugin', |
| 34 | + 'com.facebook.flipper:flipper-network-plugin', |
| 35 | + ], |
| 36 | + matchUpdateTypes: ['minor', 'major'], |
| 37 | + dependencyDashboardApproval: true, |
| 38 | + }, |
| 39 | + // require manual approval for new major versions of these packages |
| 40 | + { |
| 41 | + matchPackageNames: ['react-markdown'], |
| 42 | + matchUpdateTypes: ['major'], |
| 43 | + dependencyDashboardApproval: true, |
| 44 | + }, |
| 45 | + // stop widening peerDep ranges for custom modules |
| 46 | + { |
| 47 | + matchPaths: ['modules/**/package.json'], |
| 48 | + matchDepTypes: ['peerDependencies'], |
| 49 | + rangeStrategy: 'bump', |
| 50 | + }, |
| 51 | + ], |
56 | 52 | } |
0 commit comments