-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
151 lines (151 loc) · 5.27 KB
/
Copy pathrenovate.json
File metadata and controls
151 lines (151 loc) · 5.27 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"platformAutomerge": true,
"packageRules": [
{
"description": "Automerge patch updates",
"matchUpdateTypes": ["patch"],
"automerge": true
},
{
"description": "Toolchain deps: only final X.Y.Z releases (no RC/M/nightly/-bin-)",
"matchDepNames": [
"scala3",
"org.scala-lang:scala3-compiler_3",
"scala-js",
"scala-native"
],
"allowedVersions": "/^\\d+\\.\\d+\\.\\d+$/"
}
],
"customManagers": [
{
"customType": "regex",
"description": "Scala cross-built deps: scala-cli `::`, sbt `%%`, Mill `mvn\"...::...\"`",
"managerFilePatterns": [
"/(^|/)project\\.scala$/",
"/(^|/)README\\.md$/",
"/(^|/)docs/_docs/index\\.md$/",
"/(^|/)build\\.sc$/",
"/(^|/)build\\.mill$/",
"/\\.mill$/"
],
"matchStrings": [
"//> using (?:test\\.)?dep \"?(?<groupId>[\\w.-]+)::(?<artifactId>[\\w.-]+):{1,2}(?<currentValue>[\\w.-]+)\"?",
"\"(?<groupId>[\\w.-]+)\" %% \"(?<artifactId>[\\w.-]+)\" % \"(?<currentValue>[\\w.-]+)\"",
"mvn\"(?<groupId>[\\w.-]+)::(?<artifactId>[\\w.-]+):{1,2}(?<currentValue>[\\w.-]+)\""
],
"packageNameTemplate": "{{groupId}}:{{artifactId}}_3",
"datasourceTemplate": "sbt-package"
},
{
"customType": "regex",
"description": "Plain Maven-coordinate deps: scala-cli `:`, sbt `%`, Mill `mvn\"...:...\"`",
"managerFilePatterns": [
"/(^|/)project\\.scala$/",
"/(^|/)README\\.md$/",
"/(^|/)docs/_docs/index\\.md$/",
"/(^|/)build\\.sc$/",
"/(^|/)build\\.mill$/",
"/\\.mill$/"
],
"matchStrings": [
"//> using (?:test\\.)?dep \"?(?<groupId>[\\w.-]+):(?<artifactId>[\\w.-]+):(?<currentValue>[\\w.-]+)\"?",
"\"(?<groupId>[\\w.-]+)\" % \"(?<artifactId>[\\w.-]+)\" % \"(?<currentValue>[\\w.-]+)\"",
"mvn\"(?<groupId>[\\w.-]+):(?<artifactId>[\\w.-]+):(?<currentValue>[\\w.-]+)\""
],
"packageNameTemplate": "{{groupId}}:{{artifactId}}",
"datasourceTemplate": "maven"
},
{
"customType": "regex",
"description": "Scala language version: scala-cli `using scala`, Mill `def scalaVersion`, sbt `scalaVersion :=`",
"managerFilePatterns": [
"/(^|/)project\\.scala$/",
"/(^|/)README\\.md$/",
"/(^|/)docs/_docs/index\\.md$/",
"/(^|/)build\\.sc$/",
"/(^|/)build\\.mill$/",
"/\\.mill$/"
],
"matchStrings": [
"//> using scala \"?(?<currentValue>[\\w.-]+)\"?",
"def scalaVersion\\s*=\\s*\"(?<currentValue>[\\w.-]+)\"",
"scalaVersion\\s*:=\\s*\"(?<currentValue>[\\w.-]+)\""
],
"depNameTemplate": "scala3",
"packageNameTemplate": "scala/scala3",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"description": "Scala Native version: scala-cli --native-version, Mill `def scalaNativeVersion`",
"managerFilePatterns": [
"/^\\.github/workflows/[^/]+\\.ya?ml$/",
"/(^|/)build\\.sc$/",
"/(^|/)build\\.mill$/",
"/\\.mill$/"
],
"matchStrings": [
"--native-version (?<currentValue>[\\w.-]+)",
"def scalaNativeVersion\\s*=\\s*\"(?<currentValue>[\\w.-]+)\""
],
"depNameTemplate": "scala-native",
"packageNameTemplate": "scala-native/scala-native",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)$"
},
{
"customType": "regex",
"description": "scala-cli --js-version in GitHub workflows",
"managerFilePatterns": ["/^\\.github/workflows/[^/]+\\.ya?ml$/"],
"matchStrings": [
"--js-version (?<currentValue>[\\w.-]+)"
],
"depNameTemplate": "scala-js",
"packageNameTemplate": "scala-js/scala-js",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)$"
},
{
"customType": "regex",
"description": "Mill version (//| mill-version pragma)",
"managerFilePatterns": [
"/(^|/)README\\.md$/",
"/(^|/)docs/_docs/index\\.md$/",
"/(^|/)build\\.sc$/",
"/(^|/)build\\.mill$/",
"/\\.mill$/"
],
"matchStrings": [
"//\\|\\s*mill-version:\\s*(?<currentValue>\\S+)"
],
"depNameTemplate": "com-lihaoyi/mill",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"description": "scoverage version (Mill scoverageVersion)",
"managerFilePatterns": ["/(^|/)build\\.sc$/", "/(^|/)build\\.mill$/", "/\\.mill$/"],
"matchStrings": [
"def scoverageVersion\\s*=\\s*\"(?<currentValue>[\\w.-]+)\""
],
"depNameTemplate": "scoverage/scalac-scoverage-plugin",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"description": "scalatest version (Mill scalaTestVersion)",
"managerFilePatterns": ["/(^|/)build\\.sc$/", "/(^|/)build\\.mill$/", "/\\.mill$/"],
"matchStrings": [
"def scalaTestVersion\\s*=\\s*\"(?<currentValue>[\\w.-]+)\""
],
"depNameTemplate": "org.scalatest:scalatest",
"datasourceTemplate": "maven"
}
]
}