|
1 | 1 | { |
2 | | - "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
3 | | - "extends": ["config:recommended", ":semanticCommits", ":dependencyDashboard"], |
4 | | - "rebaseWhen": "behind-base-branch", |
5 | | - "labels": ["dependencies"], |
6 | | - "lockFileMaintenance": { |
7 | | - "enabled": true, |
8 | | - "schedule": ["before 6am on monday"] |
9 | | - }, |
10 | | - "customManagers": [ |
11 | | - { |
12 | | - "customType": "regex", |
13 | | - "managerFilePatterns": ["/^crates/alef-core/src/template_versions\\.rs$/"], |
14 | | - "matchStrings": [ |
15 | | - "// renovate:\\s*datasource=(?<datasource>\\S+)(?:\\s+depName=(?<depName>\\S+))?(?:\\s+packageName=(?<packageName>\\S+))?(?:\\s+versioning=(?<versioning>\\S+))?(?:\\s+extractVersion=(?<extractVersion>\\S+))?\\s*\\n\\s*pub const [A-Z_]+: &str = \"(?<currentValue>[^\"]+)\";" |
16 | | - ], |
17 | | - "depNameTemplate": "{{#if depName}}{{{depName}}}{{else}}{{{packageName}}}{{/if}}", |
18 | | - "packageNameTemplate": "{{#if packageName}}{{{packageName}}}{{else}}{{{depName}}}{{/if}}" |
19 | | - } |
20 | | - ], |
21 | | - "packageRules": [ |
22 | | - { |
23 | | - "description": "Group Rust crate version pins emitted into generated bindings", |
24 | | - "matchManagers": ["custom.regex"], |
25 | | - "matchDatasources": ["crate"], |
26 | | - "groupName": "generated rust crate pins" |
27 | | - }, |
28 | | - { |
29 | | - "description": "Group Python tooling pins", |
30 | | - "matchManagers": ["custom.regex"], |
31 | | - "matchDatasources": ["pypi"], |
32 | | - "groupName": "python tooling pins" |
33 | | - }, |
34 | | - { |
35 | | - "description": "Group npm tooling pins", |
36 | | - "matchManagers": ["custom.regex"], |
37 | | - "matchDatasources": ["npm"], |
38 | | - "groupName": "npm tooling pins" |
39 | | - }, |
40 | | - { |
41 | | - "description": "Group RubyGems tooling pins", |
42 | | - "matchManagers": ["custom.regex"], |
43 | | - "matchDatasources": ["rubygems"], |
44 | | - "groupName": "rubygems tooling pins" |
45 | | - }, |
46 | | - { |
47 | | - "description": "Group Packagist (PHP) tooling pins", |
48 | | - "matchManagers": ["custom.regex"], |
49 | | - "matchDatasources": ["packagist"], |
50 | | - "groupName": "php tooling pins" |
51 | | - }, |
52 | | - { |
53 | | - "description": "Group Maven (Java/Kotlin) tooling pins", |
54 | | - "matchManagers": ["custom.regex"], |
55 | | - "matchDatasources": ["maven"], |
56 | | - "groupName": "jvm tooling pins" |
57 | | - }, |
58 | | - { |
59 | | - "description": "Group NuGet (C#) tooling pins", |
60 | | - "matchManagers": ["custom.regex"], |
61 | | - "matchDatasources": ["nuget"], |
62 | | - "groupName": "csharp tooling pins" |
63 | | - }, |
64 | | - { |
65 | | - "description": "Group Hex (Elixir/Gleam) tooling pins", |
66 | | - "matchManagers": ["custom.regex"], |
67 | | - "matchDatasources": ["hex"], |
68 | | - "groupName": "beam tooling pins" |
69 | | - }, |
70 | | - { |
71 | | - "description": "Group pub.dev (Dart) tooling pins", |
72 | | - "matchManagers": ["custom.regex"], |
73 | | - "matchDatasources": ["pub"], |
74 | | - "groupName": "dart tooling pins" |
75 | | - }, |
76 | | - { |
77 | | - "description": "Group CRAN (R) tooling pins", |
78 | | - "matchManagers": ["custom.regex"], |
79 | | - "matchDatasources": ["cran"], |
80 | | - "groupName": "r tooling pins" |
81 | | - }, |
82 | | - { |
83 | | - "description": "Group pre-commit hook revisions tracked via github-tags", |
84 | | - "matchManagers": ["custom.regex"], |
85 | | - "matchDatasources": ["github-tags"], |
86 | | - "groupName": "pre-commit hook revisions" |
87 | | - }, |
88 | | - { |
89 | | - "description": "Group GitHub Actions", |
90 | | - "matchManagers": ["github-actions"], |
91 | | - "groupName": "github actions" |
92 | | - } |
93 | | - ] |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + "extends": ["config:recommended", ":semanticCommits", ":dependencyDashboard"], |
| 4 | + "rebaseWhen": "behind-base-branch", |
| 5 | + "labels": ["dependencies"], |
| 6 | + "lockFileMaintenance": { |
| 7 | + "enabled": true, |
| 8 | + "schedule": ["before 6am on monday"] |
| 9 | + }, |
| 10 | + "customManagers": [ |
| 11 | + { |
| 12 | + "customType": "regex", |
| 13 | + "managerFilePatterns": ["/^crates/alef-core/src/template_versions\\.rs$/"], |
| 14 | + "matchStrings": [ |
| 15 | + "// renovate:\\s*datasource=(?<datasource>\\S+)(?:\\s+depName=(?<depName>\\S+))?(?:\\s+packageName=(?<packageName>\\S+))?(?:\\s+versioning=(?<versioning>\\S+))?(?:\\s+extractVersion=(?<extractVersion>\\S+))?\\s*\\n\\s*pub const [A-Z_]+: &str = \"(?<currentValue>[^\"]+)\";" |
| 16 | + ], |
| 17 | + "depNameTemplate": "{{#if depName}}{{{depName}}}{{else}}{{{packageName}}}{{/if}}", |
| 18 | + "packageNameTemplate": "{{#if packageName}}{{{packageName}}}{{else}}{{{depName}}}{{/if}}" |
| 19 | + } |
| 20 | + ], |
| 21 | + "packageRules": [ |
| 22 | + { |
| 23 | + "description": "Group Rust crate version pins emitted into generated bindings", |
| 24 | + "matchManagers": ["custom.regex"], |
| 25 | + "matchDatasources": ["crate"], |
| 26 | + "groupName": "generated rust crate pins" |
| 27 | + }, |
| 28 | + { |
| 29 | + "description": "Group Python tooling pins", |
| 30 | + "matchManagers": ["custom.regex"], |
| 31 | + "matchDatasources": ["pypi"], |
| 32 | + "groupName": "python tooling pins" |
| 33 | + }, |
| 34 | + { |
| 35 | + "description": "Group npm tooling pins", |
| 36 | + "matchManagers": ["custom.regex"], |
| 37 | + "matchDatasources": ["npm"], |
| 38 | + "groupName": "npm tooling pins" |
| 39 | + }, |
| 40 | + { |
| 41 | + "description": "Group RubyGems tooling pins", |
| 42 | + "matchManagers": ["custom.regex"], |
| 43 | + "matchDatasources": ["rubygems"], |
| 44 | + "groupName": "rubygems tooling pins" |
| 45 | + }, |
| 46 | + { |
| 47 | + "description": "Group Packagist (PHP) tooling pins", |
| 48 | + "matchManagers": ["custom.regex"], |
| 49 | + "matchDatasources": ["packagist"], |
| 50 | + "groupName": "php tooling pins" |
| 51 | + }, |
| 52 | + { |
| 53 | + "description": "Group Maven (Java/Kotlin) tooling pins", |
| 54 | + "matchManagers": ["custom.regex"], |
| 55 | + "matchDatasources": ["maven"], |
| 56 | + "groupName": "jvm tooling pins" |
| 57 | + }, |
| 58 | + { |
| 59 | + "description": "Group NuGet (C#) tooling pins", |
| 60 | + "matchManagers": ["custom.regex"], |
| 61 | + "matchDatasources": ["nuget"], |
| 62 | + "groupName": "csharp tooling pins" |
| 63 | + }, |
| 64 | + { |
| 65 | + "description": "Group Hex (Elixir/Gleam) tooling pins", |
| 66 | + "matchManagers": ["custom.regex"], |
| 67 | + "matchDatasources": ["hex"], |
| 68 | + "groupName": "beam tooling pins" |
| 69 | + }, |
| 70 | + { |
| 71 | + "description": "Group pub.dev (Dart) tooling pins", |
| 72 | + "matchManagers": ["custom.regex"], |
| 73 | + "matchDatasources": ["pub"], |
| 74 | + "groupName": "dart tooling pins" |
| 75 | + }, |
| 76 | + { |
| 77 | + "description": "Group CRAN (R) tooling pins", |
| 78 | + "matchManagers": ["custom.regex"], |
| 79 | + "matchDatasources": ["cran"], |
| 80 | + "groupName": "r tooling pins" |
| 81 | + }, |
| 82 | + { |
| 83 | + "description": "Group pre-commit hook revisions tracked via github-tags", |
| 84 | + "matchManagers": ["custom.regex"], |
| 85 | + "matchDatasources": ["github-tags"], |
| 86 | + "groupName": "pre-commit hook revisions" |
| 87 | + }, |
| 88 | + { |
| 89 | + "description": "Group GitHub Actions", |
| 90 | + "matchManagers": ["github-actions"], |
| 91 | + "groupName": "github actions" |
| 92 | + } |
| 93 | + ] |
94 | 94 | } |
0 commit comments