|
1 | 1 | {
|
2 |
| - '$schema': 'https://docs.renovatebot.com/renovate-schema.json', |
3 |
| - 'extends': ['group:monorepos'], |
4 |
| - 'dependencyDashboard': true, |
5 |
| - 'rangeStrategy': 'replace', |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + "extends": ["group:monorepos"], |
| 4 | + "dependencyDashboard": true, |
| 5 | + "rangeStrategy": "replace", |
6 | 6 |
|
7 | 7 | // Schedule Renovate to run during off-peak hours
|
8 |
| - 'schedule': ['after 10:00pm every weekday', 'before 5:00am every weekday', 'every weekend'], |
9 |
| - 'prConcurrentLimit': 8, |
10 |
| - 'prHourlyLimit': 4, |
11 |
| - 'timezone': 'America/Tijuana', |
| 8 | + "schedule": ["after 10:00pm every weekday", "before 5:00am every weekday", "every weekend"], |
| 9 | + "prConcurrentLimit": 8, |
| 10 | + "prHourlyLimit": 4, |
| 11 | + "timezone": "America/Tijuana", |
12 | 12 |
|
13 | 13 | // Commit and PR customization
|
14 |
| - 'commitBody': 'See associated pull request for more information.', |
15 |
| - 'semanticCommits': 'enabled', |
16 |
| - 'semanticCommitScope': '', |
17 |
| - 'semanticCommitType': 'build', |
18 |
| - 'labels': ['area: build & ci', 'action: review'], |
19 |
| - |
20 |
| - 'lockFileMaintenance': { |
21 |
| - 'enabled': true, |
| 14 | + "commitBody": "See associated pull request for more information.", |
| 15 | + "semanticCommits": "enabled", |
| 16 | + "semanticCommitScope": "", |
| 17 | + "semanticCommitType": "build", |
| 18 | + "labels": ["area: build & ci", "action: review"], |
| 19 | + |
| 20 | + "lockFileMaintenance": { |
| 21 | + "enabled": true, |
22 | 22 | },
|
23 | 23 |
|
24 | 24 | // Ignored dependencies in all repositories
|
25 |
| - 'ignoreDeps': [ |
26 |
| - 'build_bazel_rules_nodejs', |
27 |
| - 'rules_pkg', |
28 |
| - 'yarn', // Yarn is copied locally in all repositories where needed. |
| 25 | + "ignoreDeps": [ |
| 26 | + "build_bazel_rules_nodejs", |
| 27 | + "rules_pkg", |
| 28 | + "yarn", // Yarn is copied locally in all repositories where needed. |
29 | 29 | ],
|
30 | 30 |
|
31 |
| - 'packageRules': [ |
| 31 | + "packageRules": [ |
32 | 32 | // ============================================================================
|
33 | 33 | // GENERAL GROUPING & UPDATE BEHAVIOR
|
34 | 34 | // ============================================================================
|
35 | 35 |
|
36 | 36 | // Group all non-major updates (minor and patch) together
|
37 | 37 | {
|
38 |
| - 'groupName': 'all non-major dependencies', |
39 |
| - 'matchPackageNames': ['*', '!node', '!pnpm', '!npm', '!yarn'], |
40 |
| - 'matchUpdateTypes': ['digest', 'patch', 'minor'], |
| 38 | + "groupName": "all non-major dependencies", |
| 39 | + "matchDepNames": ["*", "!node", "!pnpm", "!npm", "!yarn"], |
| 40 | + "matchUpdateTypes": ["digest", "patch", "minor"], |
41 | 41 | },
|
42 | 42 |
|
43 | 43 | // ============================================================================
|
|
46 | 46 |
|
47 | 47 | // Group Bazel updates
|
48 | 48 | {
|
49 |
| - 'groupName': 'bazel dependencies', |
50 |
| - 'matchManagers': ['bazel'], |
| 49 | + "groupName": "bazel dependencies", |
| 50 | + "matchManagers": ["bazel"], |
51 | 51 | },
|
52 | 52 |
|
53 | 53 | // ============================================================================
|
|
56 | 56 |
|
57 | 57 | // Group updates related to Angular ecosystem across repositories
|
58 | 58 | {
|
59 |
| - 'groupName': 'cross-repo angular dependencies', |
60 |
| - 'followTag': 'next', |
61 |
| - 'separateMajorMinor': false, |
62 |
| - 'schedule': ['at any time'], |
63 |
| - 'matchPackageNames': [ |
64 |
| - '@angular-devkit/**', |
65 |
| - '@angular/**', |
66 |
| - '@schematics/**', |
67 |
| - 'angular/**', |
68 |
| - 'ng-packagr', |
| 59 | + "groupName": "cross-repo angular dependencies", |
| 60 | + "followTag": "next", |
| 61 | + "separateMajorMinor": false, |
| 62 | + "schedule": ["at any time"], |
| 63 | + "matchDepNames": [ |
| 64 | + "@angular-devkit/**", |
| 65 | + "@angular/**", |
| 66 | + "@schematics/**", |
| 67 | + "angular/**", |
| 68 | + "ng-packagr", |
69 | 69 | ],
|
70 | 70 | },
|
71 | 71 |
|
72 |
| - // Disable 'next' tag tracking on non-main branches |
| 72 | + // Disable "next" tag tracking on non-main branches |
73 | 73 | {
|
74 |
| - 'matchBaseBranches': ['!main'], |
75 |
| - 'followTag': null, |
| 74 | + "matchBaseBranches": ["!main"], |
| 75 | + "followTag": null, |
76 | 76 | },
|
77 | 77 |
|
78 | 78 | // Keep minor and patch updates separate for TypeScript
|
79 | 79 | {
|
80 |
| - 'matchPackageNames': ['typescript'], |
81 |
| - 'separateMinorPatch': true, |
| 80 | + "matchDepNames": ["typescript"], |
| 81 | + "separateMinorPatch": true, |
82 | 82 | },
|
83 | 83 |
|
84 | 84 | // Group TypeScript-related packages
|
85 | 85 | {
|
86 |
| - 'groupName': 'typescript dependencies', |
87 |
| - 'matchPackageNames': ['typescript', 'tslib'], |
| 86 | + "groupName": "typescript dependencies", |
| 87 | + "matchDepNames": ["typescript", "tslib"], |
88 | 88 | },
|
89 | 89 |
|
90 | 90 | // Limit how many times these packages get updated (They deploy each merged PR)
|
91 | 91 | {
|
92 |
| - 'matchPackageNames': ['renovate', 'quicktype-core'], |
93 |
| - 'schedule': ['on sunday and wednesday'], |
| 92 | + "matchDepNames": ["renovate", "quicktype-core"], |
| 93 | + "schedule": ["on sunday and wednesday"], |
94 | 94 | },
|
95 | 95 |
|
96 | 96 | // ============================================================================
|
|
99 | 99 |
|
100 | 100 | // Group dependencies in the scorecard GitHub Actions workflow
|
101 | 101 | {
|
102 |
| - 'groupName': 'scorecard action dependencies', |
103 |
| - 'matchFileNames': ['.github/workflows/scorecard.yml'], |
104 |
| - 'matchPackageNames': ['*'], |
| 102 | + "groupName": "scorecard action dependencies", |
| 103 | + "matchFileNames": [".github/workflows/scorecard.yml"], |
| 104 | + "matchDepNames": ["*"], |
105 | 105 | },
|
106 | 106 |
|
107 | 107 | // ============================================================================
|
|
110 | 110 |
|
111 | 111 | // Disable updates for placeholder or 0.0.0-style versions
|
112 | 112 | {
|
113 |
| - 'enabled': false, |
114 |
| - 'matchCurrentVersion': '/^[~^]?0\\.0\\.0-/', |
| 113 | + "enabled": false, |
| 114 | + "matchCurrentVersion": "/^[~^]?0\\.0\\.0-/", |
115 | 115 | },
|
116 | 116 |
|
117 | 117 | // Disable major updates for specified dependencies
|
118 | 118 | {
|
119 |
| - 'enabled': false, |
120 |
| - 'matchDepNames': [ |
121 |
| - 'bazel', // bazelisk bazel verison |
| 119 | + "enabled": false, |
| 120 | + "matchDepNames": [ |
| 121 | + "@types/node", |
| 122 | + "node", |
| 123 | + "bazel", // bazelisk bazel verison |
| 124 | + "npm", |
| 125 | + "pnpm", |
| 126 | + "rxjs", |
| 127 | + "tslib", |
| 128 | + "yarn", |
122 | 129 | ],
|
123 |
| - 'matchPackageNames': [ |
124 |
| - '@types/node', |
125 |
| - 'node', |
126 |
| - 'npm', |
127 |
| - 'pnpm', |
128 |
| - 'rxjs', |
129 |
| - 'tslib', |
130 |
| - 'yarn', |
131 |
| - ], |
132 |
| - 'matchUpdateTypes': ['major'], |
| 130 | + "matchUpdateTypes": ["major"], |
133 | 131 | },
|
134 | 132 |
|
135 | 133 | // Disable TypeScript major and minor updates
|
136 | 134 | {
|
137 |
| - 'enabled': false, |
138 |
| - 'matchPackageNames': ['typescript'], |
139 |
| - 'matchUpdateTypes': ['major', 'minor'], |
140 |
| - }, |
141 |
| - ], |
| 135 | + "enabled": false, |
| 136 | + "matchDepNames": ["typescript"], |
| 137 | + "matchUpdateTypes": ["major", "minor"], |
| 138 | + } |
| 139 | + ] |
142 | 140 | }
|
0 commit comments