Skip to content

Commit 8b84cde

Browse files
committed
upgrade config
1 parent 478d433 commit 8b84cde

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

renovate.json

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"pip_requirements",
1919
"poetry",
2020
"pub",
21-
"regex",
21+
"custom.regex",
2222
"sbt"
2323
],
2424
"baseBranches": [
@@ -35,16 +35,16 @@
3535
"rangeStrategy": "bump"
3636
},
3737
{
38-
"matchPackagePatterns": [
39-
"openapi-generator"
40-
],
41-
"groupName": "openapi-generator"
38+
"groupName": "openapi-generator",
39+
"matchPackageNames": [
40+
"/openapi-generator/"
41+
]
4242
},
4343
{
44-
"matchPackagePrefixes": [
44+
"allowedVersions": "4.0.0",
45+
"matchPackageNames": [
4546
"github.com/algolia/algoliasearch-client-go/v4"
46-
],
47-
"allowedVersions": "4.0.0"
47+
]
4848
},
4949
{
5050
"matchDatasources": [
@@ -53,8 +53,9 @@
5353
"allowedVersions": "/^[0-9]+\\.[0-9]+\\.[0-9]+$/"
5454
}
5555
],
56-
"regexManagers": [
56+
"customManagers": [
5757
{
58+
"customType": "regex",
5859
"description": "Update openapitools-cli version in the generation file",
5960
"fileMatch": [
6061
"generateOpenapitools.ts"
@@ -66,6 +67,7 @@
6667
"datasourceTemplate": "maven"
6768
},
6869
{
70+
"customType": "regex",
6971
"description": "Update pyproject.toml mustache devDeps",
7072
"fileMatch": [
7173
"pyproject.mustache"
@@ -78,6 +80,7 @@
7880
"datasourceTemplate": "pypi"
7981
},
8082
{
83+
"customType": "regex",
8184
"description": "Update package.json mustache devDeps",
8285
"fileMatch": [
8386
"package.mustache"
@@ -88,6 +91,7 @@
8891
"datasourceTemplate": "npm"
8992
},
9093
{
94+
"customType": "regex",
9195
"description": "Update the java formatter",
9296
"fileMatch": [
9397
"Dockerfile",
@@ -102,6 +106,7 @@
102106
"extractVersionTemplate": "^v(?<version>.*)$"
103107
},
104108
{
109+
"customType": "regex",
105110
"description": "Update java packages in mustache files",
106111
"fileMatch": "build.mustache",
107112
"matchStrings": [
@@ -110,6 +115,7 @@
110115
"datasourceTemplate": "maven"
111116
},
112117
{
118+
"customType": "regex",
113119
"description": "Update yarn version",
114120
"fileMatch": ".yarnrc.yml",
115121
"matchStrings": [
@@ -119,6 +125,7 @@
119125
"datasourceTemplate": "github-releases"
120126
},
121127
{
128+
"customType": "regex",
122129
"description": "Update yarn for netlify",
123130
"fileMatch": "netlify.toml",
124131
"matchStrings": [
@@ -128,6 +135,7 @@
128135
"datasourceTemplate": "github-releases"
129136
},
130137
{
138+
"customType": "regex",
131139
"description": "Update pubspec.yaml for Dart",
132140
"fileMatch": "pubspec.mustache",
133141
"matchStrings": [
@@ -139,6 +147,7 @@
139147
"versioningTemplate": "npm"
140148
},
141149
{
150+
"customType": "regex",
142151
"description": "Update .csharp-version",
143152
"fileMatch": ".csharp-version",
144153
"matchStrings": [
@@ -148,6 +157,7 @@
148157
"depNameTemplate": "dotnet-sdk"
149158
},
150159
{
160+
"customType": "regex",
151161
"description": "Update .java-version",
152162
"fileMatch": ".java-version",
153163
"matchStrings": [
@@ -157,6 +167,7 @@
157167
"depNameTemplate": "java"
158168
},
159169
{
170+
"customType": "regex",
160171
"description": "Update .dart-version",
161172
"fileMatch": ".dart-version",
162173
"matchStrings": [
@@ -166,6 +177,7 @@
166177
"depNameTemplate": "dart"
167178
},
168179
{
180+
"customType": "regex",
169181
"description": "Update .go-version",
170182
"fileMatch": ".go-version",
171183
"matchStrings": [
@@ -175,6 +187,7 @@
175187
"depNameTemplate": "golang"
176188
},
177189
{
190+
"customType": "regex",
178191
"description": "Update .php-version",
179192
"fileMatch": ".php-version",
180193
"matchStrings": [
@@ -185,6 +198,7 @@
185198
"extractVersionTemplate": "^php-(?<version>.*)$"
186199
},
187200
{
201+
"customType": "regex",
188202
"description": "Update .ruby-version",
189203
"fileMatch": ".ruby-version",
190204
"matchStrings": [
@@ -194,6 +208,7 @@
194208
"depNameTemplate": "ruby"
195209
},
196210
{
211+
"customType": "regex",
197212
"description": "Update .swift-version",
198213
"fileMatch": ".swift-version",
199214
"matchStrings": [
@@ -204,6 +219,7 @@
204219
"extractVersionTemplate": "^swift-(?<version>.*)-RELEASE$"
205220
},
206221
{
222+
"customType": "regex",
207223
"description": "Update swiftformat version",
208224
"fileMatch": [
209225
"Dockerfile",

0 commit comments

Comments
 (0)