Skip to content

Commit 6817a41

Browse files
renovate[bot]simonresch
authored andcommitted
chore(config): migrate config renovate.json5
1 parent f3b7118 commit 6817a41

File tree

1 file changed

+28
-23
lines changed

1 file changed

+28
-23
lines changed

renovate.json5

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,47 @@
11
{
2-
$schema: "https://docs.renovatebot.com/renovate-schema.json",
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
33
extends: [
4-
"config:recommended",
5-
":dependencyDashboard",
6-
"group:all",
7-
"schedule:weekly"
4+
'config:recommended',
5+
':dependencyDashboard',
6+
'group:all',
7+
'schedule:weekly',
88
],
99
customManagers: [
1010
{
11-
description: "Maven dependencies managed by rules_jvm_external",
12-
customType: "regex",
13-
fileMatch: [
14-
"^MODULE.bazel$"
11+
description: 'Maven dependencies managed by rules_jvm_external',
12+
customType: 'regex',
13+
managerFilePatterns: [
14+
'/^MODULE.bazel$/',
1515
],
16-
matchStringsStrategy: "recursive",
16+
matchStringsStrategy: 'recursive',
1717
matchStrings: [
1818
// First narrow down the search to those dependencies in a Starlark list annotated with
1919
// a special comment.
20-
"# renovate: keep updated[^\\]]*]",
20+
'# renovate: keep updated[^\\]]*]',
2121
// Match all lines of the form:
2222
// "com.google.guava:guava:jar:28.2-jre",
23-
"\\n\\s*\"(?<depName>[^:]+:[^:]+):(?:jar:)?(?<currentValue>\\d[^\"]*)\","
23+
'\\n\\s*"(?<depName>[^:]+:[^:]+):(?:jar:)?(?<currentValue>\\d[^"]*)",',
2424
],
25-
datasourceTemplate: "maven"
26-
}
25+
datasourceTemplate: 'maven',
26+
},
2727
],
2828
packageRules: [
2929
{
3030
// Assign regex matches to a separate group since these PRs require manual lockfile updates.
31-
matchManagers: ["regex"],
32-
groupName: "Maven deps",
33-
groupSlug: "maven",
31+
matchManagers: [
32+
'custom.regex',
33+
],
34+
groupName: 'Maven deps',
35+
groupSlug: 'maven',
3436
},
3537
{
36-
// System scoped Maven dependencies are build locally.
37-
matchDepTypes: ["system"],
38-
matchManagers: ["maven"],
39-
enabled: false
40-
}
41-
]
38+
matchDepTypes: [
39+
'system',
40+
],
41+
matchManagers: [
42+
'maven',
43+
],
44+
enabled: false,
45+
},
46+
],
4247
}

0 commit comments

Comments
 (0)