-
-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathrenovate.json5
More file actions
102 lines (102 loc) · 2.84 KB
/
renovate.json5
File metadata and controls
102 lines (102 loc) · 2.84 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabled": true,
"extends": [
"config:recommended",
":semanticCommitsDisabled"
],
"labels": ["renovate"],
"schedule": ["on friday before 11am"],
"timezone": "Europe/London",
"ignorePaths": [
"**/node_modules/**",
"**/bower_components/**"
],
"dependencyDashboard": true,
"automergeType": "pr",
"automergeStrategy": "rebase",
"platformAutomerge": false,
// automatically upgrade lockfiles and automerge
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
// https://docs.renovatebot.com/key-concepts/automerge
"packageRules": [
{
"groupName": "rust crates",
"matchDatasources": "crate",
"matchFileNames": ["Cargo.toml", "src/**"]
},
{
"groupName": "npm packages",
"matchDatasources": "npm",
"matchFileNames": ["src/**"]
},
{
"groupName": "dotnet packages",
"matchDatasources": "nuget",
"matchFileNames": ["src/**"]
},
{
"groupName": "dotnet test packages",
"matchDatasources": "nuget",
"matchFileNames": ["test/**"]
},
// samples
{
"groupName": "sample rust crates",
"matchDatasources": "crate",
"matchFileNames": ["samples/**"],
"separateMajorMinor": false,
"automerge": true
},
{
"groupName": "sample dotnet packages",
"matchDatasources": "nuget",
"matchFileNames": ["samples/**"],
"separateMajorMinor": false,
"automerge": true
},
{
"groupName": "sample js packages",
"matchDatasources": "npm",
"matchFileNames": ["samples/**"],
"separateMajorMinor": false,
"automerge": true
},
// troublesome/frozen packages
{
"groupName": "frozen",
"matchPackageNames": [
"System.CommandLine", // too many breaking changes too frequently
"@vercel/webpack-asset-relocator-loader",
],
"dependencyDashboardApproval": true
},
{
"matchPackageNames": ["jest", "ts-jest", "@types/jest"],
"allowedVersions": "< 30.0.0" // ts-jest doesn't support jest 30 yet
},
{
"matchPackageNames": "SixLabors.ImageSharp",
"allowedVersions": "< 3.0.0"
},
{
"matchPackageNames": "NuGet.Versioning",
"allowedVersions": "< 7.0.0" // 7.x drops netstandard2.0 support
},
{
"matchPackageNames": "@electron/fuses",
"allowedVersions": "< 2.0.0" // 2.x is ESM-only, breaks webpack/forge setup
},
{
"matchPackageNames": "coverlet.msbuild",
"allowedVersions": "< 7.0.0" // 8.x breaks instrumentation on net8.0 targets
},
{
"matchPackageNames": "typescript",
"allowedVersions": "< 6.0.0" // 6.x breaks jest
}
]
}