Skip to content

Commit de7b2cd

Browse files
committed
`x
1 parent 5fb53d1 commit de7b2cd

File tree

1 file changed

+65
-65
lines changed

1 file changed

+65
-65
lines changed

renovate.json5

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
{
2-
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3-
extends: ['mergeConfidence:all-badges', 'group:monorepos'],
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
extends: ["mergeConfidence:all-badges", "group:monorepos"],
44
dependencyDashboard: true,
5-
rangeStrategy: 'replace',
5+
rangeStrategy: "replace",
66
automerge: false,
77

88
// Schedule Renovate to run during off-peak hours
99
schedule: [
10-
'after 6am on Monday, Thurday, Friday',
11-
'before 12pm on Monday, Thurday, Friday',
10+
"after 6am on Monday, Thurday, Friday",
11+
"before 12pm on Monday, Thurday, Friday",
1212
],
1313

1414
prConcurrentLimit: 8,
1515
prHourlyLimit: 4,
16-
timezone: 'Europe/Rome',
16+
timezone: "Europe/Rome",
1717

1818
// Commit and PR customization
19-
commitBody: 'See associated pull request for more information.',
20-
semanticCommits: 'enabled',
21-
semanticCommitScope: '',
22-
semanticCommitType: 'build',
23-
labels: ['area: build & ci', 'action: merge', 'target: automation'],
19+
commitBody: "See associated pull request for more information.",
20+
semanticCommits: "enabled",
21+
semanticCommitScope: "",
22+
semanticCommitType: "build",
23+
labels: ["area: build & ci", "action: merge", "target: automation"],
2424

2525
lockFileMaintenance: {
2626
enabled: true,
27-
"schedule": ["before 4am on Tuesday"],
27+
schedule: ["before 4am on Tuesday"],
2828
},
2929

3030
// Feature disabled: permission to enable vulnerability alerts is not granted
3131
osvVulnerabilityAlerts: true,
32-
vulnerabilityAlerts: {
32+
vulnerabilityAlerts: {
3333
enabled: true,
3434
},
3535

3636
// Ignored dependencies in all repositories
3737
ignoreDeps: [
38-
'rules_pkg',
39-
'yarn', // Yarn is copied locally in all repositories where needed.
38+
"rules_pkg",
39+
"yarn", // Yarn is copied locally in all repositories where needed.
4040
],
4141

4242
packageRules: [
@@ -50,31 +50,31 @@
5050
{
5151
postUpgradeTasks: {
5252
commands: [
53-
'git restore .npmrc || true', // In case `.npmrc` avoid a hard error.
54-
'bazel mod deps --lockfile_mode=update',
53+
"git restore .npmrc || true", // In case `.npmrc` avoid a hard error.
54+
"bazel mod deps --lockfile_mode=update",
5555
],
5656
// This is theory should be `branch` but in some cases this is causing the command not to
5757
// run when in the same branch there are mixtures of update types by different managers.
58-
executionMode: 'update',
58+
executionMode: "update",
5959
},
60-
matchManagers: ['bazel', 'bazel-module', 'bazelisk'],
60+
matchManagers: ["bazel", "bazel-module", "bazelisk"],
6161
},
6262

6363
// Rule to disable NPM updates on branches other than 'main'.
6464
// But allow updating engines and packageManagers.
6565
{
6666
enabled: false,
67-
matchBaseBranches: ['!main'],
68-
matchDepNames: ['!node', '!pnpm', '!npm', '!yarn'],
69-
matchManagers: ['npm'],
67+
matchBaseBranches: ["!main"],
68+
matchDepNames: ["!node", "!pnpm", "!npm", "!yarn"],
69+
matchManagers: ["npm"],
7070
},
7171

7272
// Group all non-major dependencies together for updates.
7373
{
74-
groupName: 'all non-major dependencies',
75-
matchDepNames: ['*', '!node', '!pnpm', '!npm', '!yarn'],
76-
matchUpdateTypes: ['digest', 'patch', 'minor'],
77-
matchManagers: ['npm'],
74+
groupName: "all non-major dependencies",
75+
matchDepNames: ["*", "!node", "!pnpm", "!npm", "!yarn"],
76+
matchUpdateTypes: ["digest", "patch", "minor"],
77+
matchManagers: ["npm"],
7878
},
7979

8080
// ============================================================================
@@ -83,20 +83,20 @@
8383
// Delay NPM updates to mitigate dependency chain attacks by malicious actors.
8484
// This rule only affects direct dependencies.
8585
{
86-
minimumReleaseAge: '1 day',
87-
matchManagers: ['npm'],
86+
minimumReleaseAge: "1 day",
87+
matchManagers: ["npm"],
8888
},
8989

9090
// Group Bazel updates
9191
{
92-
groupName: 'bazel dependencies',
93-
matchManagers: ['bazel', 'bazel-module'],
92+
groupName: "bazel dependencies",
93+
matchManagers: ["bazel", "bazel-module"],
9494
},
9595

9696
// Group GitHub Actions workflow
9797
{
98-
groupName: 'all github actions',
99-
matchManagers: ['github-actions'],
98+
groupName: "all github actions",
99+
matchManagers: ["github-actions"],
100100
},
101101

102102
// ============================================================================
@@ -106,53 +106,53 @@
106106
// Group updates related to Angular ecosystem across repositories
107107
{
108108
enabled: true, // Enable NPM updates of cross-repo dependencies on all branches.
109-
groupName: 'cross-repo angular dependencies',
110-
followTag: 'next',
109+
groupName: "cross-repo angular dependencies",
110+
followTag: "next",
111111
minimumReleaseAge: null,
112112
separateMajorMinor: false,
113-
schedule: ['* 0-22/2 * * *'], // Every minute, every 2 hours
113+
// schedule: ["* 0-22/2 * * *"], // Every minute, every 2 hours
114114
matchPackageNames: [
115-
'@angular-devkit/**',
116-
'@angular/**',
117-
'@schematics/**',
118-
'angular/**',
119-
'ng-packagr',
115+
"@angular-devkit/**",
116+
"@angular/**",
117+
"@schematics/**",
118+
"angular/**",
119+
"ng-packagr",
120120
],
121121
},
122122

123123
// @angular/benchpress is not released as 'next'
124124
{
125125
followTag: null,
126-
matchDepNames: ['@angular/benchpress'],
126+
matchDepNames: ["@angular/benchpress"],
127127
},
128128

129129
// Disable 'next' tag tracking on non-main branches
130130
{
131-
matchBaseBranches: ['!main'],
131+
matchBaseBranches: ["!main"],
132132
followTag: null,
133133
},
134134

135135
// Keep minor and patch updates separate for TypeScript
136136
{
137-
matchDepNames: ['typescript'],
137+
matchDepNames: ["typescript"],
138138
separateMinorPatch: true,
139139
},
140140

141141
// Group TypeScript-related packages
142142
{
143-
groupName: 'typescript dependencies',
144-
matchDepNames: ['typescript', 'tslib'],
143+
groupName: "typescript dependencies",
144+
matchDepNames: ["typescript", "tslib"],
145145
},
146146

147147
// Limit how many times these packages get updated (They deploy each merged PR)
148148
{
149149
matchDepNames: [
150-
'github/codeql-action',
151-
'google-closure-compiler',
152-
'quicktype-core',
153-
'renovate',
150+
"github/codeql-action",
151+
"google-closure-compiler",
152+
"quicktype-core",
153+
"renovate",
154154
],
155-
schedule: ['on sunday and wednesday'],
155+
schedule: ["on sunday and wednesday"],
156156
},
157157

158158
// ============================================================================
@@ -162,45 +162,45 @@
162162
// Disable updates for placeholder or 0.0.0-style versions
163163
{
164164
enabled: false,
165-
matchCurrentVersion: '/^[~^]?0\\.0\\.0-/',
165+
matchCurrentVersion: "/^[~^]?0\\.0\\.0-/",
166166
},
167167

168168
// Disable major updates for specified dependencies
169169
{
170170
enabled: false,
171171
matchDepNames: [
172-
'@types/node',
173-
'node',
174-
'bazel', // bazelisk bazel version
175-
'npm',
176-
'rxjs',
177-
'tslib',
178-
'yarn',
172+
"@types/node",
173+
"node",
174+
"bazel", // bazelisk bazel version
175+
"npm",
176+
"rxjs",
177+
"tslib",
178+
"yarn",
179179
],
180-
matchUpdateTypes: ['major'],
180+
matchUpdateTypes: ["major"],
181181
},
182182

183183
// Disable TypeScript major and minor updates
184184
{
185185
enabled: false,
186-
matchDepNames: ['typescript'],
187-
matchUpdateTypes: ['major', 'minor'],
186+
matchDepNames: ["typescript"],
187+
matchUpdateTypes: ["major", "minor"],
188188
},
189189

190190
// Rule to disable major updates on branches other than 'main'.
191191
{
192192
enabled: false,
193-
matchBaseBranches: ['!main'],
194-
matchUpdateTypes: ['major'],
193+
matchBaseBranches: ["!main"],
194+
matchUpdateTypes: ["major"],
195195
},
196196

197197
// TODO(alanagius): delete the below rule once RC branch is `21.0.x`
198198
// Temporary disable updates of `rules_angular` on non main branches due to the APF breaking change
199199
// See: https://github.com/devversion/rules_angular/pull/63
200200
{
201201
enabled: false,
202-
matchBaseBranches: ['!main'],
203-
matchDepNames: ['rules_angular'],
202+
matchBaseBranches: ["!main"],
203+
matchDepNames: ["rules_angular"],
204204
},
205205
],
206206
}

0 commit comments

Comments
 (0)