Skip to content

Commit 2b93660

Browse files
committed
d
1 parent 49e9bdc commit 2b93660

File tree

1 file changed

+63
-58
lines changed

1 file changed

+63
-58
lines changed

renovate.json5

Lines changed: 63 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
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: ['after 10:00pm every weekday', 'before 5:00am every weekday', 'every weekend'],
9+
schedule: [
10+
"after 10:00pm every weekday",
11+
"before 5:00am every weekday",
12+
"every weekend",
13+
],
1014
prConcurrentLimit: 8,
1115
prHourlyLimit: 4,
12-
timezone: 'America/Tijuana',
16+
timezone: "America/Tijuana",
1317

1418
// Commit and PR customization
15-
commitBody: 'See associated pull request for more information.',
16-
semanticCommits: 'enabled',
17-
semanticCommitScope: '',
18-
semanticCommitType: 'build',
19-
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"],
2024

2125
lockFileMaintenance: {
2226
enabled: true,
@@ -29,8 +33,8 @@
2933

3034
// Ignored dependencies in all repositories
3135
ignoreDeps: [
32-
'rules_pkg',
33-
'yarn', // Yarn is copied locally in all repositories where needed.
36+
"rules_pkg",
37+
"yarn", // Yarn is copied locally in all repositories where needed.
3438
],
3539

3640
packageRules: [
@@ -44,31 +48,31 @@
4448
{
4549
postUpgradeTasks: {
4650
commands: [
47-
'git restore .npmrc || true', // In case `.npmrc` avoid a hard error.
48-
'bazel mod deps --lockfile_mode=update',
51+
"git restore .npmrc || true", // In case `.npmrc` avoid a hard error.
52+
"bazel mod deps --lockfile_mode=update",
4953
],
5054
// This is theory should be `branch` but in some cases this is causing the command not to
5155
// run when in the same branch there are mixtures of update types by different managers.
52-
executionMode: 'update',
56+
executionMode: "update",
5357
},
54-
matchManagers: ['bazel', 'bazel-module', 'bazelisk'],
58+
matchManagers: ["bazel", "bazel-module", "bazelisk"],
5559
},
5660

5761
// Rule to disable NPM updates on branches other than 'main'.
5862
// But allow updating engines and packageManagers.
5963
{
6064
enabled: false,
61-
matchBaseBranches: ['!main'],
62-
matchDepNames: ['!node', '!pnpm', '!npm', '!yarn'],
63-
matchManagers: ['npm'],
65+
matchBaseBranches: ["!main"],
66+
matchDepNames: ["!node", "!pnpm", "!npm", "!yarn"],
67+
matchManagers: ["npm"],
6468
},
6569

6670
// Group all non-major dependencies together for updates.
6771
{
68-
groupName: 'all non-major dependencies',
69-
matchDepNames: ['*', '!node', '!pnpm', '!npm', '!yarn'],
70-
matchUpdateTypes: ['digest', 'patch', 'minor'],
71-
matchManagers: ['npm'],
72+
groupName: "all non-major dependencies",
73+
matchDepNames: ["*", "!node", "!pnpm", "!npm", "!yarn"],
74+
matchUpdateTypes: ["digest", "patch", "minor"],
75+
matchManagers: ["npm"],
7276
},
7377

7478
// ============================================================================
@@ -83,14 +87,14 @@
8387

8488
// Group Bazel updates
8589
{
86-
groupName: 'bazel dependencies',
87-
matchManagers: ['bazel', 'bazel-module'],
90+
groupName: "bazel dependencies",
91+
matchManagers: ["bazel", "bazel-module"],
8892
},
8993

9094
// Group GitHub Actions workflow
9195
{
92-
groupName: 'all github actions',
93-
matchManagers: ['github-actions'],
96+
groupName: "all github actions",
97+
matchManagers: ["github-actions"],
9498
},
9599

96100
// ============================================================================
@@ -100,53 +104,54 @@
100104
// Group updates related to Angular ecosystem across repositories
101105
{
102106
enabled: true, // Enable NPM updates of cross-repo dependencies on all branches.
103-
groupName: 'cross-repo angular dependencies',
104-
followTag: 'next',
107+
groupName: "cross-repo angular dependencies",
108+
followTag: "next",
105109
minimumReleaseAge: null,
106110
separateMajorMinor: false,
107-
schedule: ['* 0-22/2 * * *'],
111+
// schedule: ["* 0-22/2 * * *"],
112+
schedule: ['Every minute','every 2 hours'],
108113
matchPackageNames: [
109-
'@angular-devkit/**',
110-
'@angular/**',
111-
'@schematics/**',
112-
'angular/**',
113-
'ng-packagr',
114+
"@angular-devkit/**",
115+
"@angular/**",
116+
"@schematics/**",
117+
"angular/**",
118+
"ng-packagr",
114119
],
115120
},
116121

117122
// @angular/benchpress is not released as 'next'
118123
{
119124
followTag: null,
120-
matchDepNames: ['@angular/benchpress'],
125+
matchDepNames: ["@angular/benchpress"],
121126
},
122127

123128
// Disable 'next' tag tracking on non-main branches
124129
{
125-
matchBaseBranches: ['!main'],
130+
matchBaseBranches: ["!main"],
126131
followTag: null,
127132
},
128133

129134
// Keep minor and patch updates separate for TypeScript
130135
{
131-
matchDepNames: ['typescript'],
136+
matchDepNames: ["typescript"],
132137
separateMinorPatch: true,
133138
},
134139

135140
// Group TypeScript-related packages
136141
{
137-
groupName: 'typescript dependencies',
138-
matchDepNames: ['typescript', 'tslib'],
142+
groupName: "typescript dependencies",
143+
matchDepNames: ["typescript", "tslib"],
139144
},
140145

141146
// Limit how many times these packages get updated (They deploy each merged PR)
142147
{
143148
matchDepNames: [
144-
'github/codeql-action',
145-
'google-closure-compiler',
146-
'quicktype-core',
147-
'renovate',
149+
"github/codeql-action",
150+
"google-closure-compiler",
151+
"quicktype-core",
152+
"renovate",
148153
],
149-
schedule: ['on sunday and wednesday'],
154+
schedule: ["on sunday and wednesday"],
150155
},
151156

152157
// ============================================================================
@@ -156,36 +161,36 @@
156161
// Disable updates for placeholder or 0.0.0-style versions
157162
{
158163
enabled: false,
159-
matchCurrentVersion: '/^[~^]?0\\.0\\.0-/',
164+
matchCurrentVersion: "/^[~^]?0\\.0\\.0-/",
160165
},
161166

162167
// Disable major updates for specified dependencies
163168
{
164169
enabled: false,
165170
matchDepNames: [
166-
'@types/node',
167-
'node',
168-
'bazel', // bazelisk bazel version
169-
'npm',
170-
'rxjs',
171-
'tslib',
172-
'yarn',
171+
"@types/node",
172+
"node",
173+
"bazel", // bazelisk bazel version
174+
"npm",
175+
"rxjs",
176+
"tslib",
177+
"yarn",
173178
],
174-
matchUpdateTypes: ['major'],
179+
matchUpdateTypes: ["major"],
175180
},
176181

177182
// Disable TypeScript major and minor updates
178183
{
179184
enabled: false,
180-
matchDepNames: ['typescript'],
181-
matchUpdateTypes: ['major', 'minor'],
185+
matchDepNames: ["typescript"],
186+
matchUpdateTypes: ["major", "minor"],
182187
},
183188

184189
// Rule to disable major updates on branches other than 'main'.
185190
{
186191
enabled: false,
187-
matchBaseBranches: ['!main'],
188-
matchUpdateTypes: ['major'],
192+
matchBaseBranches: ["!main"],
193+
matchUpdateTypes: ["major"],
189194
},
190195
],
191196
}

0 commit comments

Comments
 (0)