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