-
Notifications
You must be signed in to change notification settings - Fork 15
/
renovate.json5
159 lines (159 loc) Β· 4.01 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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
/* prettier-ignore */
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":separateMultipleMajorReleases",
"schedule:monthly",
":automergeDisabled"
],
"enabledManagers": ["npm"],
"labels": ["dependencies"],
"node": {
"enabled": false
},
"pin": {
"enabled": false
},
"prConcurrentLimit": 8,
"rangeStrategy": "bump",
"rebaseWhen": "conflicted",
"reviewers": ["@nordcloud/core-frontend-reviewers"],
"packageRules": [
{
"matchDatasources": ["npm"],
"minimumReleaseAge": "3 days"
},
/********** Add labels **********/
{
"matchUpdateTypes": ["major"],
"labels": ["update-major"]
},
/********** Global updates **********/
{
"groupName": "Weekly devDependency patch updates",
"extends": ["schedule:weekly"],
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["patch"],
"prPriority": 1
},
{
"groupName": "Weekly runtime dependency patch updates",
"extends": ["schedule:weekly"],
"matchDepTypes": ["dependencies"],
"matchUpdateTypes": ["patch"],
"prPriority": 2
},
{
"groupName": "Engines",
"extends": ["schedule:weekly"],
"matchDepTypes": ["engines"],
"matchUpdateTypes": ["patch"],
"prPriority": 3
},
{
"groupName": "Overrides",
"extends": ["schedule:weekly"],
"matchDepTypes": ["overrides"],
"matchUpdateTypes": ["patch"],
"prPriority": 2
},
/********** Default grouping **********/
{
"groupName": "Storybook updates",
"matchPackagePrefixes": ["@storybook", "storybook"]
},
{
"groupName": "Styled System",
"matchPackageNames": ["styled-system", "@types/styled-system"]
},
{
"groupName": "Rollup",
"matchPackagePrefixes": ["@rollup", "rollup"]
},
{
"groupName": "React Helmet",
"matchPackageNames": ["react-helmet", "@types/react-helmet"]
},
{
"groupName": "Styled Components",
"matchPackageNames": ["styled-components", "@types/styled-components"]
},
/********** Automerged **********/
{
"groupName": "Testing packages",
"matchPackageNames": [
"@testing-library/jest-dom",
"@testing-library/react",
"@testing-library/user-event",
"vitest",
"jsdom"
],
"automerge": true
},
{
"groupName": "ESLint packages",
"matchPackageNames": ["eslint", "@nordcloud/eslint-config-pat"],
"automerge": true
},
{
"groupName": "Stylelint packages",
"matchPackagePrefixes": ["stylelint"],
"automerge": true
},
{
"groupName": "Non-critical tooling packages",
"matchPackageNames": [
"prettier",
"npm-run-all",
"patch-package",
"lockfile-lint",
"knip"
],
"automerge": true
},
/********** Restricted **********/
{
"groupName": "React packages",
"matchPackageNames": [
"react",
"@types/react",
"react-dom",
"@types/react-dom"
],
"allowedVersions": "<18.0.0",
"prPriority": 3
},
{
"matchPackageNames": ["@testing-library/react"],
"allowedVersions": "<13.0.0"
},
/********** Disabled **********/
// Since node versions come with certain npm version, they should always be in sync and upgraded together with caution
{
"groupName": "Node/NPM packages",
"matchPackageNames": ["node"],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
},
{
"groupName": "Node/NPM packages",
"matchPackageNames": ["npm"],
"enabled": false
},
{
"groupName": "Overrides",
"matchDepTypes": ["overrides"],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
},
{
"depTypeList": ["peerDependencies"],
"enabled": false
}
],
"ignoreDeps": [
// Breaks compilation with bigger versions
"babel-plugin-styled-components"
]
}