Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
132 lines (132 loc) · 3.24 KB
/
Copy pathrenovate.json
File metadata and controls
132 lines (132 loc) · 3.24 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
{
"extends": [
"config:js-app",
"group:definitelyTyped",
"group:socketio",
"group:linters",
"group:test",
"group:reactMonorepo",
"group:typescript-eslintMonorepo",
"docker:enableMajor",
"docker:pinDigests",
":gitSignOff",
":prHourlyLimitNone",
":maintainLockFilesWeekly",
":separateMajorReleases"
],
"baseBranchPatterns": [
"master",
"develop"
],
"labels": [
"dependencies"
],
"ignorePaths": [
"docker/docker-compose.yml"
],
"minimumReleaseAge": "1 day",
"packageRules": [
{
"groupName": "NestJS packages",
"matchPackageNames": [
"/^@nestjs//"
]
},
{
"groupName": "Graphviz",
"matchPackageNames": [
"/d3-graphviz/",
"/@hpcc-js/wasm/"
]
},
{
"groupName": "cypress",
"matchPackageNames": [
"/^@cypress/",
"/^cypress/"
]
},
{
"groupName": "vega",
"matchPackageNames": [
"/vega/",
"/vega-embed/",
"/vega-lite/"
]
},
{
"groupName": "i18next",
"matchPackageNames": [
"/i18next/",
"/i18next-browser-languagedetector/",
"/i18next-http-backend/",
"/react-i18next/"
]
},
{
"groupName": "CodeMirror",
"matchPackageNames": [
"/^@codemirror//",
"/@uiw/react-codemirror/"
]
},
{
"groupName": "testing-library",
"matchPackageNames": [
"/^@testing-library//"
]
},
{
"groupName": "zxcvbn-ts",
"matchPackageNames": [
"/^@zxcvbn-ts//"
]
},
{
"groupName": "zod",
"matchPackageNames": [
"/zod/",
"/nestjs-zod/"
]
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"/\\.yml$/",
"/\\.yaml$/"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+\\S+:\\s+\"?(?<currentValue>[^\"]*?)\"?\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"customType": "regex",
"description": "Keep every patchedDependencies key in sync with the version it patches. pnpm fails the install when a key matches nothing, so a bump that leaves the key behind breaks CI. The patch file itself still has to be regenerated by hand.",
"managerFilePatterns": [
"/^pnpm-workspace\\.yaml$/"
],
"matchStringsStrategy": "recursive",
"matchStrings": [
"patchedDependencies:\\n(?: [^\\n]+\\n)+",
" (?<depName>@?[^@\\s]+)@(?<currentValue>[^:\\s]+):"
],
"datasourceTemplate": "npm"
},
{
"customType": "regex",
"description": "Update the pnpm version in devEngines.packageManager. Renovate's npm manager cannot read that field yet, see renovatebot/renovate#35338.",
"managerFilePatterns": [
"/^package\\.json$/"
],
"matchStrings": [
"\"packageManager\":\\s*\\{\\s*\"name\":\\s*\"pnpm\",\\s*\"version\":\\s*\"(?<currentValue>[^\"]+)\""
],
"datasourceTemplate": "npm",
"depNameTemplate": "pnpm"
}
]
}