Skip to content

Commit c4800f7

Browse files
chore(config): migrate config renovate.json (#155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 14e9592 commit c4800f7

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

renovate.json

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
43
"extends": [
5-
"config:base"
4+
"config:recommended"
65
],
7-
86
"timezone": "Europe/Paris",
9-
"schedule": ["before 8am on monday"],
10-
7+
"schedule": [
8+
"before 8am on monday"
9+
],
1110
"packageRules": [
1211
{
1312
"description": "Mise à jour de la version Node dans .nvmrc",
14-
"matchManagers": ["regex"],
15-
"matchFiles": [".nvmrc"],
16-
"matchPackageNames": ["node"],
13+
"matchManagers": [
14+
"custom.regex"
15+
],
16+
"matchFileNames": [
17+
".nvmrc"
18+
],
19+
"matchPackageNames": [
20+
"node"
21+
],
1722
"extractVersion": "^v?(?<version>\\d+\\.\\d+\\.\\d+)$",
1823
"depType": "engines",
1924
"versioning": "node",
@@ -22,14 +27,19 @@
2227
},
2328
{
2429
"description": "Mise à jour des dépendances npm",
25-
"matchManagers": ["npm"],
30+
"matchManagers": [
31+
"npm"
32+
],
2633
"groupName": "npm dependencies updates",
2734
"automerge": false
2835
}
2936
],
30-
"regexManagers": [
37+
"customManagers": [
3138
{
32-
"fileMatch": ["^\\.nvmrc$"],
39+
"customType": "regex",
40+
"managerFilePatterns": [
41+
"/^\\.nvmrc$/"
42+
],
3343
"matchStrings": [
3444
"^(?<depName>node)\\s*v?(?<currentValue>\\d+\\.\\d+\\.\\d+)$"
3545
],

0 commit comments

Comments
 (0)