forked from LekoArts/gatsby-themes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json5
99 lines (99 loc) · 3.28 KB
/
renovate.json5
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
{
extends: ["config:base", ":disablePeerDependencies"],
includePaths: ["package.json", "examples/**", "themes/**", "www/package.json"],
dependencyDashboard: true,
packageRules: [
{
groupName: "packages",
paths: ["package.json", "themes/**"],
},
{
groupName: "www",
paths: ["www/package.json"],
},
{
groupName: "starters",
paths: ["examples/**"],
},
{
groupName: "types",
packagePatterns: ["^@types/"],
// only upgrade types with approval as they can break transitives
dependencyDashboardApproval: true,
},
// these rules define dependencies that we have special handling for
{
updateTypes: ["minor"],
excludePackageNames: [
// below is list of packages that use 0.X version range, any minor bump there can contain breaking changes, so we just ignore minor bumps for those packages and will need to bump them manually
"@reach/skip-nav",
"@theme-ui/prism",
"@theme-ui/typography",
"axios",
"gatsby-plugin-theme-ui",
"theme-ui",
],
},
// we need to replicate this so that it goes to a separate group
{
// minor updates in packages <1.0.0 - need master issue approval
// not grouped
groupName: "packages (<1.0.0 minor)",
paths: ["package.json", "themes/**"],
dependencyDashboardApproval: true,
updateTypes: ["minor"],
packageNames: [
// below is list of packages that use 0.X version range, any minor bump there can contain breaking changes, so we just ignore minor bumps for those packages and will need to bump them manually
"@reach/skip-nav",
"@theme-ui/prism",
"@theme-ui/typography",
"axios",
"gatsby-plugin-theme-ui",
"theme-ui",
],
},
{
// minor updates in packages <1.0.0 - need master issue approval
// not grouped
groupName: "www (<1.0.0 minor)",
paths: ["www/package.json"],
dependencyDashboardApproval: true,
updateTypes: ["minor"],
packageNames: [
// below is list of packages that use 0.X version range, any minor bump there can contain breaking changes, so we just ignore minor bumps for those packages and will need to bump them manually
"@reach/skip-nav",
"@theme-ui/prism",
"@theme-ui/typography",
"axios",
"gatsby-plugin-theme-ui",
"theme-ui",
],
},
{
// minor updates in packages <1.0.0 - need master issue approval
// not grouped
groupName: "starters (<1.0.0 minor)",
paths: ["examples/**"],
dependencyDashboardApproval: true,
updateTypes: ["minor"],
packageNames: [
// below is list of packages that use 0.X version range, any minor bump there can contain breaking changes, so we just ignore minor bumps for those packages and will need to bump them manually
"@reach/skip-nav",
"@theme-ui/prism",
"@theme-ui/typography",
"axios",
"gatsby-plugin-theme-ui",
"theme-ui",
],
},
],
labels: ["renovate"],
prHourlyLimit: 4,
prConcurrentLimit: 15,
rangeStrategy: "bump",
bumpVersion: null,
semanticCommits: true,
timezone: "GMT",
schedule: ["before 10am on the first day of the month"],
automerge: false,
}