|
1 | 1 | { |
2 | | - $schema: "https://docs.renovatebot.com/renovate-schema.json", |
| 2 | + $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
3 | 3 | extends: [ |
4 | | - "config:recommended", |
5 | | - ":dependencyDashboard", |
6 | | - "group:all", |
7 | | - "schedule:weekly" |
| 4 | + 'config:recommended', |
| 5 | + ':dependencyDashboard', |
| 6 | + 'group:all', |
| 7 | + 'schedule:weekly', |
8 | 8 | ], |
9 | 9 | customManagers: [ |
10 | 10 | { |
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$/', |
15 | 15 | ], |
16 | | - matchStringsStrategy: "recursive", |
| 16 | + matchStringsStrategy: 'recursive', |
17 | 17 | matchStrings: [ |
18 | 18 | // First narrow down the search to those dependencies in a Starlark list annotated with |
19 | 19 | // a special comment. |
20 | | - "# renovate: keep updated[^\\]]*]", |
| 20 | + '# renovate: keep updated[^\\]]*]', |
21 | 21 | // Match all lines of the form: |
22 | 22 | // "com.google.guava:guava:jar:28.2-jre", |
23 | | - "\\n\\s*\"(?<depName>[^:]+:[^:]+):(?:jar:)?(?<currentValue>\\d[^\"]*)\"," |
| 23 | + '\\n\\s*"(?<depName>[^:]+:[^:]+):(?:jar:)?(?<currentValue>\\d[^"]*)",', |
24 | 24 | ], |
25 | | - datasourceTemplate: "maven" |
26 | | - } |
| 25 | + datasourceTemplate: 'maven', |
| 26 | + }, |
27 | 27 | ], |
28 | 28 | packageRules: [ |
29 | 29 | { |
30 | 30 | // 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', |
34 | 36 | }, |
35 | 37 | { |
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 | + ], |
42 | 47 | } |
0 commit comments