Skip to content

Commit ccc00c6

Browse files
committed
asd
1 parent 09d2591 commit ccc00c6

File tree

1 file changed

+64
-68
lines changed

1 file changed

+64
-68
lines changed

renovate.json5

Lines changed: 64 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,38 @@
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
9-
schedule: [
10-
"after 6am on Monday, Thurday, Friday",
11-
"before 12pm on Monday, Thurday, Friday",
12-
],
9+
schedule: ['after 6am and before 10am on Monday, Wednesday, Friday'],
1310

1411
prConcurrentLimit: 8,
1512
prHourlyLimit: 4,
16-
timezone: "Europe/Rome",
13+
timezone: 'Europe/Rome',
1714

1815
// 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"],
16+
commitBody: 'See associated pull request for more information.',
17+
semanticCommits: 'enabled',
18+
semanticCommitScope: '',
19+
semanticCommitType: 'build',
20+
labels: ['area: build & ci', 'action: merge', 'target: automation'],
2421

2522
lockFileMaintenance: {
2623
enabled: true,
27-
schedule: ["before 4am on Tuesday"],
24+
schedule: ['after 5am and on before 7am Tuesday'],
2825
},
2926

3027
// Feature disabled: permission to enable vulnerability alerts is not granted
31-
osvVulnerabilityAlerts: true,
3228
vulnerabilityAlerts: {
33-
enabled: true,
29+
enabled: false,
3430
},
3531

3632
// Ignored dependencies in all repositories
3733
ignoreDeps: [
38-
"rules_pkg",
39-
"yarn", // Yarn is copied locally in all repositories where needed.
34+
'rules_pkg',
35+
'yarn', // Yarn is copied locally in all repositories where needed.
4036
],
4137

4238
packageRules: [
@@ -50,31 +46,31 @@
5046
{
5147
postUpgradeTasks: {
5248
commands: [
53-
"git restore .npmrc || true", // In case `.npmrc` avoid a hard error.
54-
"bazel mod deps --lockfile_mode=update",
49+
'git restore .npmrc || true', // In case `.npmrc` avoid a hard error.
50+
'bazel mod deps --lockfile_mode=update',
5551
],
5652
// This is theory should be `branch` but in some cases this is causing the command not to
5753
// run when in the same branch there are mixtures of update types by different managers.
58-
executionMode: "update",
54+
executionMode: 'update',
5955
},
60-
matchManagers: ["bazel", "bazel-module", "bazelisk"],
56+
matchManagers: ['bazel', 'bazel-module', 'bazelisk'],
6157
},
6258

6359
// Rule to disable NPM updates on branches other than 'main'.
6460
// But allow updating engines and packageManagers.
6561
{
6662
enabled: false,
67-
matchBaseBranches: ["!main"],
68-
matchDepNames: ["!node", "!pnpm", "!npm", "!yarn"],
69-
matchManagers: ["npm"],
63+
matchBaseBranches: ['!main'],
64+
matchDepNames: ['!node', '!pnpm', '!npm', '!yarn'],
65+
matchManagers: ['npm'],
7066
},
7167

7268
// Group all non-major dependencies together for updates.
7369
{
74-
groupName: "all non-major dependencies",
75-
matchDepNames: ["*", "!node", "!pnpm", "!npm", "!yarn"],
76-
matchUpdateTypes: ["digest", "patch", "minor"],
77-
matchManagers: ["npm"],
70+
groupName: 'all non-major dependencies',
71+
matchDepNames: ['*', '!node', '!pnpm', '!npm', '!yarn'],
72+
matchUpdateTypes: ['digest', 'patch', 'minor'],
73+
matchManagers: ['npm'],
7874
},
7975

8076
// ============================================================================
@@ -83,20 +79,20 @@
8379
// Delay NPM updates to mitigate dependency chain attacks by malicious actors.
8480
// This rule only affects direct dependencies.
8581
{
86-
minimumReleaseAge: "1 day",
87-
matchManagers: ["npm"],
82+
minimumReleaseAge: '1 day',
83+
matchManagers: ['npm'],
8884
},
8985

9086
// Group Bazel updates
9187
{
92-
groupName: "bazel dependencies",
93-
matchManagers: ["bazel", "bazel-module"],
88+
groupName: 'bazel dependencies',
89+
matchManagers: ['bazel', 'bazel-module'],
9490
},
9591

9692
// Group GitHub Actions workflow
9793
{
98-
groupName: "all github actions",
99-
matchManagers: ["github-actions"],
94+
groupName: 'all github actions',
95+
matchManagers: ['github-actions'],
10096
},
10197

10298
// ============================================================================
@@ -106,53 +102,53 @@
106102
// Group updates related to Angular ecosystem across repositories
107103
{
108104
enabled: true, // Enable NPM updates of cross-repo dependencies on all branches.
109-
groupName: "cross-repo angular dependencies",
110-
followTag: "next",
105+
groupName: 'cross-repo angular dependencies',
106+
followTag: 'next',
111107
minimumReleaseAge: null,
112108
separateMajorMinor: false,
113-
// schedule: ["* 0-22/2 * * *"], // Every minute, every 2 hours
109+
schedule: ['* 0-22/2 * * *'], // Every minute, every 2 hours
114110
matchPackageNames: [
115-
"@angular-devkit/**",
116-
"@angular/**",
117-
"@schematics/**",
118-
"angular/**",
119-
"ng-packagr",
111+
'@angular-devkit/**',
112+
'@angular/**',
113+
'@schematics/**',
114+
'angular/**',
115+
'ng-packagr',
120116
],
121117
},
122118

123119
// @angular/benchpress is not released as 'next'
124120
{
125121
followTag: null,
126-
matchDepNames: ["@angular/benchpress"],
122+
matchDepNames: ['@angular/benchpress'],
127123
},
128124

129125
// Disable 'next' tag tracking on non-main branches
130126
{
131-
matchBaseBranches: ["!main"],
127+
matchBaseBranches: ['!main'],
132128
followTag: null,
133129
},
134130

135131
// Keep minor and patch updates separate for TypeScript
136132
{
137-
matchDepNames: ["typescript"],
133+
matchDepNames: ['typescript'],
138134
separateMinorPatch: true,
139135
},
140136

141137
// Group TypeScript-related packages
142138
{
143-
groupName: "typescript dependencies",
144-
matchDepNames: ["typescript", "tslib"],
139+
groupName: 'typescript dependencies',
140+
matchDepNames: ['typescript', 'tslib'],
145141
},
146142

147143
// Limit how many times these packages get updated (They deploy each merged PR)
148144
{
149145
matchDepNames: [
150-
"github/codeql-action",
151-
"google-closure-compiler",
152-
"quicktype-core",
153-
"renovate",
146+
'github/codeql-action',
147+
'google-closure-compiler',
148+
'quicktype-core',
149+
'renovate',
154150
],
155-
schedule: ["on sunday and wednesday"],
151+
schedule: ['after 6am and before 10am on Wednesday'],
156152
},
157153

158154
// ============================================================================
@@ -162,45 +158,45 @@
162158
// Disable updates for placeholder or 0.0.0-style versions
163159
{
164160
enabled: false,
165-
matchCurrentVersion: "/^[~^]?0\\.0\\.0-/",
161+
matchCurrentVersion: '/^[~^]?0\\.0\\.0-/',
166162
},
167163

168164
// Disable major updates for specified dependencies
169165
{
170166
enabled: false,
171167
matchDepNames: [
172-
"@types/node",
173-
"node",
174-
"bazel", // bazelisk bazel version
175-
"npm",
176-
"rxjs",
177-
"tslib",
178-
"yarn",
168+
'@types/node',
169+
'node',
170+
'bazel', // bazelisk bazel version
171+
'npm',
172+
'rxjs',
173+
'tslib',
174+
'yarn',
179175
],
180-
matchUpdateTypes: ["major"],
176+
matchUpdateTypes: ['major'],
181177
},
182178

183179
// Disable TypeScript major and minor updates
184180
{
185181
enabled: false,
186-
matchDepNames: ["typescript"],
187-
matchUpdateTypes: ["major", "minor"],
182+
matchDepNames: ['typescript'],
183+
matchUpdateTypes: ['major', 'minor'],
188184
},
189185

190186
// Rule to disable major updates on branches other than 'main'.
191187
{
192188
enabled: false,
193-
matchBaseBranches: ["!main"],
194-
matchUpdateTypes: ["major"],
189+
matchBaseBranches: ['!main'],
190+
matchUpdateTypes: ['major'],
195191
},
196192

197193
// TODO(alanagius): delete the below rule once RC branch is `21.0.x`
198194
// Temporary disable updates of `rules_angular` on non main branches due to the APF breaking change
199195
// See: https://github.com/devversion/rules_angular/pull/63
200196
{
201197
enabled: false,
202-
matchBaseBranches: ["!main"],
203-
matchDepNames: ["rules_angular"],
198+
matchBaseBranches: ['!main'],
199+
matchDepNames: ['rules_angular'],
204200
},
205201
],
206202
}

0 commit comments

Comments
 (0)