Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
64 lines (64 loc) · 2.63 KB
/
Copy pathrenovate.json
File metadata and controls
64 lines (64 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"schedule:daily"
],
"minimumReleaseAge": "3 days",
"commitMessageExtra": "{{#if isGroup}}({{{depName}}} {{/if}}{{{currentValue}}} to {{#if isPinDigest}}{{{newDigestShort}}}{{else}}{{#if isMajor}}{{prettyNewMajor}}{{else}}{{#if isSingleVersion}}{{prettyNewVersion}}{{else}}{{#if newValue}}{{{newValue}}}{{else}}{{{newDigestShort}}}{{/if}}{{/if}}{{/if}}{{/if}}{{#if isGroup}}){{/if}}",
"packageRules": [
{
"description": "Patch updates are low risk, so they share one PR",
"matchUpdateTypes": ["patch"],
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch"
},
{
"description": "Minor updates join them too, except before 1.0 where semver allows a minor to break the API, so those get their own PR like a major",
"matchUpdateTypes": ["minor"],
"matchCurrentVersion": "!/^0\\./",
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch"
},
{
"description": "Majors get one PR each, but these families span several catalog versions that must move together",
"matchUpdateTypes": ["major"],
"matchPackageNames": [
"/^com\\.android\\.tools\\.build:gradle$/",
"/^com\\.android\\.(application|library|kotlin\\.multiplatform\\.library|lint)([.:]|$)/",
"/^com\\.android\\.tools\\.lint:/"
],
"groupName": "android gradle plugin"
},
{
"description": "ktlintCore must match the ktlint that kotlinter bundles, so the custom ruleset links against the same API",
"matchUpdateTypes": ["major"],
"matchPackageNames": [
"/^org\\.jmailen\\./",
"/^com\\.pinterest\\.ktlint:/"
],
"groupName": "kotlinter"
},
{
"description": "Compose Multiplatform is one release train spread over several catalog versions",
"matchUpdateTypes": ["major"],
"matchPackageNames": [
"/^org\\.jetbrains\\.compose([.:]|$)/"
],
"groupName": "compose multiplatform"
},
{
"description": "Metro is a Kotlin compiler plugin, so a Kotlin bump usually needs a matching Metro release. Kept apart so a compiler upgrade never blocks library updates",
"matchPackageNames": [
"/^org\\.jetbrains\\.kotlin[.:]/",
"/^dev\\.zacsweers\\.metro([.:]|$)/"
],
"groupName": "kotlin"
},
{
"description": "classgraph 6 needs JDK 25 while the build runs on JDK 21. 5.x is the same API for JDK 17 to 24",
"matchPackageNames": ["io.github.classgraph:classgraph"],
"allowedVersions": "<6.0.0"
}
]
}