Skip to content

Commit 7a96870

Browse files
committed
sad
1 parent c205688 commit 7a96870

File tree

1 file changed

+63
-67
lines changed

1 file changed

+63
-67
lines changed

renovate-preset/default.json5

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

88
// Temporary workaround for https://github.com/renovatebot/renovate/discussions/30812
99
ignoreScripts: false,
1010

1111
// Schedule Renovate to run during off-peak hours
12-
schedule: ['after 10:00pm every weekday', 'before 5:00am every weekday', 'every weekend'],
12+
schedule: [
13+
"after 10:00pm every weekday",
14+
"before 5:00am every weekday",
15+
"every weekend",
16+
],
1317
prConcurrentLimit: 8,
1418
prHourlyLimit: 4,
15-
timezone: 'America/Tijuana',
19+
timezone: "America/Tijuana",
1620

1721
// Commit and PR customization
18-
commitBody: 'See associated pull request for more information.',
19-
semanticCommits: 'enabled',
20-
semanticCommitScope: '',
21-
semanticCommitType: 'build',
22-
labels: ['area: build & ci', 'action: merge'],
22+
commitBody: "See associated pull request for more information.",
23+
semanticCommits: "enabled",
24+
semanticCommitScope: "",
25+
semanticCommitType: "build",
26+
labels: ["area: build & ci", "action: merge"],
2327

2428
lockFileMaintenance: {
2529
enabled: true,
@@ -32,20 +36,20 @@
3236

3337
// Ignored dependencies in all repositories
3438
ignoreDeps: [
35-
'rules_pkg',
36-
'yarn', // Yarn is copied locally in all repositories where needed.
39+
"rules_pkg",
40+
"yarn", // Yarn is copied locally in all repositories where needed.
3741
],
3842

3943
// Renovate does not update Bazel lockfile for the time being.
4044
// Workaround for https://github.com/renovatebot/renovate/issues/25557
4145
postUpgradeTasks: {
4246
commands: [
43-
'.npmrc',
44-
'pnpm install --frozen-lockfile',
45-
'pnpm bazel mod deps --lockfile_mode=update',
47+
".npmrc",
48+
"pnpm install --frozen-lockfile",
49+
"pnpm bazel mod deps --lockfile_mode=update",
4650
],
47-
fileFilters: ['MODULE.bazel.lock'],
48-
executionMode: 'branch',
51+
fileFilters: ["MODULE.bazel.lock"],
52+
executionMode: "branch",
4953
},
5054

5155
packageRules: [
@@ -55,35 +59,34 @@
5559

5660
// Rule to disable updates on branches other than 'main'.
5761
{
58-
'enabled': false,
59-
'matchBaseBranches': ['!main'],
60-
'matchDepNames': ['!node', '!pnpm', '!npm', '!yarn'],
62+
enabled: false,
63+
matchBaseBranches: ["!main"],
64+
matchDepNames: ["!node", "!pnpm", "!npm", "!yarn"],
6165
},
6266

6367
// Group all non-major dependencies together for updates on the 'main' branch.
6468
{
65-
'enabled': true,
66-
'matchBaseBranches': ['main'],
67-
'groupName': 'all non-major dependencies',
68-
'matchDepNames': ['*', '!node', '!pnpm', '!npm', '!yarn'],
69-
'matchUpdateTypes': ['digest', 'patch', 'minor'],
69+
matchBaseBranches: ["main"],
70+
groupName: "all non-major dependencies",
71+
matchDepNames: ["*", "!node", "!pnpm", "!npm", "!yarn"],
72+
matchUpdateTypes: ["digest", "patch", "minor"],
7073
},
7174
// ============================================================================
7275
// ECOSYSTEM-SPECIFIC GROUPING
7376
// ============================================================================
7477

7578
// Group Bazel updates
7679
{
77-
enabled: true,
78-
groupName: 'bazel dependencies',
79-
matchManagers: ['bazel'],
80+
groupName: "bazel dependencies",
81+
matchManagers: ["bazel"],
8082
},
8183

8284
// Group GitHub Actions workflow
8385
{
84-
enabled: true,
85-
groupName: 'all github actions',
86-
matchManagers: ['github-actions'],
86+
groupName: "all github actions",
87+
matchManagers: ["github-actions"],
88+
// Disable 'postUpdateTasks' for changes that do not effect the BAZEL lockfile or generated files.
89+
postUpgradeTasks: { commands: [] },
8790
},
8891

8992
// ============================================================================
@@ -92,54 +95,47 @@
9295

9396
// Group updates related to Angular ecosystem across repositories
9497
{
95-
enabled: true,
96-
groupName: 'cross-repo angular dependencies',
97-
followTag: 'next',
98+
groupName: "cross-repo angular dependencies",
99+
followTag: "next",
98100
separateMajorMinor: false,
99-
schedule: ['at any time'],
101+
schedule: ["at any time"],
100102
matchPackageNames: [
101-
'@angular-devkit/**',
102-
'@angular/**',
103-
'@schematics/**',
104-
'angular/**',
105-
'ng-packagr',
103+
"@angular-devkit/**",
104+
"@angular/**",
105+
"@schematics/**",
106+
"angular/**",
107+
"ng-packagr",
106108
],
107109
},
108110

109111
// @angular/benchpress is not released as 'next'
110112
{
111113
followTag: null,
112-
matchDepNames: ['@angular/benchpress'],
113-
},
114-
115-
// Disable 'postUpdateTasks' for changes that do not effect the BAZEL lock files or generated files.
116-
{
117-
matchManagers: ['github-actions'],
118-
postUpgradeTasks: null,
114+
matchDepNames: ["@angular/benchpress"],
119115
},
120116

121117
// Disable 'next' tag tracking on non-main branches
122118
{
123-
matchBaseBranches: ['!main'],
119+
matchBaseBranches: ["!main"],
124120
followTag: null,
125121
},
126122

127123
// Keep minor and patch updates separate for TypeScript
128124
{
129-
matchDepNames: ['typescript'],
125+
matchDepNames: ["typescript"],
130126
separateMinorPatch: true,
131127
},
132128

133129
// Group TypeScript-related packages
134130
{
135-
groupName: 'typescript dependencies',
136-
matchDepNames: ['typescript', 'tslib'],
131+
groupName: "typescript dependencies",
132+
matchDepNames: ["typescript", "tslib"],
137133
},
138134

139135
// Limit how many times these packages get updated (They deploy each merged PR)
140136
{
141-
matchDepNames: ['renovate', 'quicktype-core', 'google-closure-compiler'],
142-
schedule: ['on sunday and wednesday'],
137+
matchDepNames: ["renovate", "quicktype-core", "google-closure-compiler"],
138+
schedule: ["on sunday and wednesday"],
143139
},
144140

145141
// ============================================================================
@@ -149,36 +145,36 @@
149145
// Disable updates for placeholder or 0.0.0-style versions
150146
{
151147
enabled: false,
152-
matchCurrentVersion: '/^[~^]?0\\.0\\.0-/',
148+
matchCurrentVersion: "/^[~^]?0\\.0\\.0-/",
153149
},
154150

155151
// Disable major updates for specified dependencies
156152
{
157153
enabled: false,
158154
matchDepNames: [
159-
'@types/node',
160-
'node',
161-
'bazel', // bazelisk bazel version
162-
'npm',
163-
'rxjs',
164-
'tslib',
165-
'yarn',
155+
"@types/node",
156+
"node",
157+
"bazel", // bazelisk bazel version
158+
"npm",
159+
"rxjs",
160+
"tslib",
161+
"yarn",
166162
],
167-
matchUpdateTypes: ['major'],
163+
matchUpdateTypes: ["major"],
168164
},
169165

170166
// Disable TypeScript major and minor updates
171167
{
172168
enabled: false,
173-
matchDepNames: ['typescript'],
174-
matchUpdateTypes: ['major', 'minor'],
169+
matchDepNames: ["typescript"],
170+
matchUpdateTypes: ["major", "minor"],
175171
},
176172

177173
// Rule to disable major updates on branches other than 'main'.
178174
{
179-
'enabled': false,
180-
'matchBaseBranches': ['!main'],
181-
'matchUpdateTypes': ['major'],
175+
enabled: false,
176+
matchBaseBranches: ["!main"],
177+
matchUpdateTypes: ["major"],
182178
},
183179
],
184180
}

0 commit comments

Comments
 (0)