-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json
137 lines (137 loc) · 4.13 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"group:recommended",
":dependencyDashboard",
":semanticCommitTypeAll(chore)"
],
"timezone": "Europe/Paris",
"schedule": ["after 5pm on monday"],
"prHourlyLimit": 0,
"prConcurrentLimit": 0,
"reviewers": ["LeoMouyna", "titouan-joseph", "LeonDumestre"],
"labels": ["Type::Dependencies"],
"pre-commit": {
"enabled": true
},
"gitlabci": {
"fileMatch": [
"\\.gitlab-ci\\.ya?ml$",
"\\.gitlab/ci/.*\\.gitlab-ci\\.ya?ml$"
]
},
"rangeStrategy": "pin",
"lockFileMaintenance": {
"enabled": true,
"schedule": ["after 5pm on the first day of the month"]
},
"packageRules": [
{
"description": "Group all dependencies from the api directory",
"matchFileNames": ["apps/api/**"],
"addLabels": ["Scope::Api"],
"groupName": "API dependencies",
"groupSlug": "api-dependencies",
"matchDatasources": ["npm"],
"versioning": "npm",
"minimumReleaseAge": "3 days"
},
{
"description": "Group all dependencies from the web directory",
"matchFileNames": ["apps/web/**"],
"addLabels": ["Scope::Web"],
"groupName": "Web dependencies",
"groupSlug": "web-dependencies",
"matchDatasources": ["npm"],
"versioning": "npm",
"minimumReleaseAge": "3 days"
},
{
"description": "Group all dependencies from the libs directory",
"matchFileNames": ["libraries/**"],
"addLabels": ["Scope::Libs"],
"groupName": "Libs dependencies",
"groupSlug": "libs-dependencies",
"matchDatasources": ["npm"],
"versioning": "npm",
"minimumReleaseAge": "3 days"
},
{
"description": "Group all dependencies from the domains or constants directories",
"matchFileNames": ["domains/**", "constants/**"],
"addLabels": ["Scope::Domain"],
"groupName": "Domain dependencies",
"groupSlug": "domain-dependencies",
"matchDatasources": ["npm"],
"versioning": "npm",
"minimumReleaseAge": "3 days"
},
{
"description": "Group all gitlab-ci dependencies",
"matchFileNames": [".gitlab-ci.yml", ".gitlab/ci/**"],
"addLabels": ["Scope::CI", "gitlabci"],
"groupName": "Gitlab CI dependencies",
"groupSlug": "gitlab-ci-dependencies"
},
{
"description": "Group all Dockerfile dependencies",
"matchFileNames": ["**/Dockerfile", "**/docker-compose.yml"],
"addLabels": ["Scope::CI", "docker"],
"groupName": "Dockerfile dependencies",
"groupSlug": "dockerfile-dependencies"
},
{
"description": "Group all pre-commit dependencies",
"matchFileNames": [".pre-commit-config.yaml"],
"addLabels": ["Scope::CI"],
"groupName": "Pre-commit dependencies",
"groupSlug": "pre-commit-dependencies"
},
{
"description": "Group all root dependencies",
"matchFileNames": ["package.json"],
"addLabels": ["Scope::Config"],
"groupName": "Root package dependencies",
"groupSlug": "root-package-dependencies",
"matchDatasources": ["npm"],
"versioning": "npm",
"minimumReleaseAge": "3 days"
},
{
"description": "Group all update of node",
"matchPackageNames": ["node"],
"groupName": "node update",
"groupSlug": "node-update",
"minimumReleaseAge": "3 days"
},
{
"description": "Group all update of pnpm",
"matchPackageNames": ["pnpm"],
"groupName": "Pnpm update",
"groupSlug": "pnpm-update",
"matchDatasources": ["npm"],
"versioning": "npm",
"minimumReleaseAge": "3 days"
},
{
"matchFileNames": ["apps/old-web/**"],
"enabled": false
}
],
"customManagers": [
{
"customType": "regex",
"description": "Update pnpm version on gitlabci file",
"datasourceTemplate": "npm",
"fileMatch": [
"^\\.gitlab/ci/.*\\.gitlab-ci.ya?ml$",
"^apps/.*/[Dd]ockerfile$",
"^docker/[Dd]ockerfile$"
],
"matchStrings": [
"\\s*npm install -g (?<depName>.*?)@(?<currentValue>[^\\s]+)"
]
}
]
}