-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json
81 lines (81 loc) · 2.72 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"packageRules": [
{
"description": "Don't let @types/* packages get ahead of the actual package it's providing types for.",
"matchDatasources": ["npm"],
"matchDepNames": ["@types/*"],
"rangeStrategy": "in-range-only"
},
{
"description": "tooling deps defaults: automerge, wait 3 days",
"matchDatasources": ["npm", "github-releases"],
"matchDepTypes": ["devDependencies", "packageManager"],
"minimumReleaseAge": "3 days",
"internalChecksFilter": "strict",
"automerge": true
},
{
"description": "tooling deps major updates: manual merge",
"matchDatasources": ["npm", "github-releases"],
"matchDepTypes": ["devDependencies", "packageManager"],
"matchUpdateTypes": ["major"],
"automerge": false
},
{
"description": "runtime deps defaults: automerge, wait 7 days",
"matchDatasources": ["npm"],
"matchDepTypes": ["dependencies"],
"minimumReleaseAge": "7 days",
"internalChecksFilter": "strict",
"automerge": true
},
{
"description": "runtime deps major updates: manual merge",
"matchDatasources": ["npm"],
"matchDepTypes": ["dependencies"],
"matchUpdateTypes": ["major"],
"automerge": false
}
],
"customManagers": [
{
"description": "Update version in moon/github actions/proto configs",
"customType": "regex",
"fileMatch": [
"^.moon/.*.ya?ml$",
"^.github/workflows/.*.ya?ml$",
"^.prototools$"
],
"matchStrings": [
".*?(:|=)\\s+('|\\\")(=?)(?<currentValue>.*)('|\\\")\\s+#\\s+renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?\\n"
],
"depTypeTemplate": "devDependencies"
},
{
"description": "Update pinned npx/yarn dlx packages",
"customType": "regex",
"fileMatch": [
"^.moon/.*.ya?ml$",
"^.github/.*.ya?ml$",
"^projects/[^/]+/[^/]+.ya?ml$"
],
"matchStrings": [
"(npx|npm exec|yarn dlx|pnpm dlx)( -[-a-z]+?)* (?<depName>(@[a-z0-9-~][a-z0-9-._~]*\\/)?[a-z0-9-~][a-z0-9-._~]*)@(?<currentValue>\\S+)"
],
"datasourceTemplate": "npm",
"depTypeTemplate": "devDependencies"
},
{
"description": "Update Vercel runtimes",
"customType": "regex",
"fileMatch": ["/vercel.json$"],
"matchStrings": [
"\"runtime\": \"(?<depName>(@[a-z0-9-~][a-z0-9-._~]*\\/)?[a-z0-9-~][a-z0-9-._~]*)@(?<currentValue>.+?)\""
],
"datasourceTemplate": "npm",
"depTypeTemplate": "dependencies"
}
]
}