-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
115 lines (115 loc) · 3.57 KB
/
renovate.json
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:js-app",
":timezone(America/New_York)",
"schedule:daily",
":prConcurrentLimitNone",
":prHourlyLimitNone"
],
"packageRules": [
{
"description": "this dep is handled by customManagers",
"matchPackageNames": ["elixir"],
"matchManagers": ["asdf"],
"enabled": false
},
{
"description": "this dep is handled by customManagers",
"matchPackageNames": ["hexpm/elixir", "node"],
"matchManagers": ["dockerfile"],
"enabled": false
},
{
"groupName": "npm devDependencies (non-major)",
"matchManagers": ["npm"],
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["patch", "minor"],
"excludePackagePatterns": ["prettier"]
},
{
"groupName": "prettier",
"description": "prettier changes often require manual source code changes, so should be grouped separately",
"matchManagers": ["npm"],
"matchPackagePatterns": ["^prettier"]
},
{
"groupName": "eslint",
"description": "eslint changes often require manual source code changes, so should be grouped separately",
"matchManagers": ["npm"],
"matchPackagePatterns": ["eslint"]
},
{
"groupName": "npm dependencies (patch)",
"matchManagers": ["npm"],
"matchDepTypes": ["dependencies"],
"matchUpdateTypes": ["patch"]
},
{
"groupName": "hex dependencies (patch)",
"matchManagers": ["mix"],
"matchUpdateTypes": ["patch"]
}
],
"customManagers": [
{
"fileMatch": "package-lock.json",
"matchStrings": [
"\"deps/(?<depName>\\w+)\": {\\s+\"version\": \"(?<currentValue>[^\"]+)\""
],
"datasourceTemplate": "hex",
"versioningTemplate": "npm"
},
{
"fileMatch": "Dockerfile",
"matchStrings": ["FROM hexpm/elixir:(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "elixir",
"datasourceTemplate": "hexpm-bob"
},
{
"fileMatch": "Dockerfile",
"matchStrings": ["-erlang-(?<currentValue>\\d+(\\.\\d+){1,3})-"],
"extractVersionTemplate": "^OTP-(?<version>\\S+)",
"depNameTemplate": "erlang",
"packageNameTemplate": "erlang/otp",
"datasourceTemplate": "github-releases"
},
{
"fileMatch": "Dockerfile",
"matchStrings": [
"FROM hexpm/elixir:(?<prefix>.*?)-alpine-(?<currentValue>\\d+\\.\\d+\\.\\d+) AS elixir-deps"
],
"extractVersionTemplate": "^{{{ prefix }}}-alpine-(?<version>\\d+.\\d+\\.\\d+)$",
"depNameTemplate": "alpine",
"packageNameTemplate": "hexpm/elixir",
"datasourceTemplate": "docker"
},
{
"fileMatch": "Dockerfile",
"matchStrings": ["FROM node:(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "node",
"datasourceTemplate": "node"
},
{
"fileMatch": "Dockerfile",
"matchStrings": ["-alpine(?<currentValue>\\d+\\.\\d+) AS node"],
"extractVersionTemplate": "^(?<version>\\d+.\\d+)",
"depNameTemplate": "alpine",
"datasourceTemplate": "docker"
},
{
"fileMatch": ".tool-versions",
"matchStrings": ["elixir (?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "elixir",
"datasourceTemplate": "hexpm-bob"
},
{
"fileMatch": ".tool-versions",
"matchStrings": ["-otp-(?<currentValue>\\d+)"],
"extractVersionTemplate": "^(?<version>\\d+)",
"depNameTemplate": "erlang/otp",
"datasourceTemplate": "github-releases",
"versioningTemplate": "loose"
}
]
}