@@ -11,9 +11,14 @@ updates:
1111 # So, only this first section can include "applies-to: security-updates"
1212 - package-ecosystem : " npm"
1313 directory : " /"
14+ # Monthly dependency updates (NOTE: "schedule" doesn't apply to security updates)
1415 schedule :
15- interval : " weekly "
16+ interval : " monthly "
1617 time : " 05:00"
18+ # Allow updates to be delayed for a configurable number of days to mitigate
19+ # some classes of supply chain attacks
20+ cooldown :
21+ default-days : 7
1722 # Allow up to 10 open PRs for dependencies
1823 open-pull-requests-limit : 10
1924 # Group together Angular package upgrades
@@ -23,14 +28,7 @@ updates:
2328 applies-to : version-updates
2429 patterns :
2530 - " @angular*"
26- update-types :
27- - " minor"
28- - " patch"
29- # Group together all security updates for Angular. Only accept minor/patch types.
30- angular-security :
31- applies-to : security-updates
32- patterns :
33- - " @angular*"
31+ - " @ngtools/webpack"
3432 update-types :
3533 - " minor"
3634 - " patch"
@@ -42,14 +40,6 @@ updates:
4240 update-types :
4341 - " minor"
4442 - " patch"
45- # Group together all security updates for NgRx. Only accept minor/patch types.
46- ngrx-security :
47- applies-to : security-updates
48- patterns :
49- - " @ngrx*"
50- update-types :
51- - " minor"
52- - " patch"
5343 # Group together all patch version updates for eslint in a single PR
5444 eslint :
5545 applies-to : version-updates
@@ -59,15 +49,6 @@ updates:
5949 update-types :
6050 - " minor"
6151 - " patch"
62- # Group together all security updates for eslint.
63- eslint-security :
64- applies-to : security-updates
65- patterns :
66- - " @typescript-eslint*"
67- - " eslint*"
68- update-types :
69- - " minor"
70- - " patch"
7152 # Group together any testing related version updates
7253 testing :
7354 applies-to : version-updates
@@ -81,19 +62,6 @@ updates:
8162 update-types :
8263 - " minor"
8364 - " patch"
84- # Group together any testing related security updates
85- testing-security :
86- applies-to : security-updates
87- patterns :
88- - " @cypress*"
89- - " axe-*"
90- - " cypress*"
91- - " jasmine*"
92- - " karma*"
93- - " ng-mocks"
94- update-types :
95- - " minor"
96- - " patch"
9765 # Group together any postcss related version updates
9866 postcss :
9967 applies-to : version-updates
@@ -102,14 +70,6 @@ updates:
10270 update-types :
10371 - " minor"
10472 - " patch"
105- # Group together any postcss related security updates
106- postcss-security :
107- applies-to : security-updates
108- patterns :
109- - " postcss*"
110- update-types :
111- - " minor"
112- - " patch"
11373 # Group together any sass related version updates
11474 sass :
11575 applies-to : version-updates
@@ -118,14 +78,6 @@ updates:
11878 update-types :
11979 - " minor"
12080 - " patch"
121- # Group together any sass related security updates
122- sass-security :
123- applies-to : security-updates
124- patterns :
125- - " sass*"
126- update-types :
127- - " minor"
128- - " patch"
12981 # Group together any webpack related version updates
13082 webpack :
13183 applies-to : version-updates
@@ -134,22 +86,13 @@ updates:
13486 update-types :
13587 - " minor"
13688 - " patch"
137- # Group together any webpack related seurity updates
138- webpack-security :
139- applies-to : security-updates
140- patterns :
141- - " webpack*"
142- update-types :
143- - " minor"
144- - " patch"
145- # Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
146- zonejs :
147- applies-to : version-updates
148- patterns :
149- - " zone.js"
150- update-types :
151- - " patch"
15289 ignore :
90+ # Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
91+ - dependency-name : " zone.js"
92+ update-types : ["version-update:semver-major", "version-update:semver-minor"]
93+ # Restrict typescript updates to patch level because that's what our package.json says
94+ - dependency-name : " typescript"
95+ update-types : ["version-update:semver-major", "version-update:semver-minor"]
15396 # Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
15497 - dependency-name : " *"
15598 update-types : ["version-update:semver-major"]
@@ -160,8 +103,12 @@ updates:
160103 directory : " /"
161104 target-branch : dspace-9_x
162105 schedule :
163- interval : " weekly "
106+ interval : " monthly "
164107 time : " 05:00"
108+ # Allow updates to be delayed for a configurable number of days to mitigate
109+ # some classes of supply chain attacks
110+ cooldown :
111+ default-days : 7
165112 # Allow up to 10 open PRs for dependencies
166113 open-pull-requests-limit : 10
167114 # Group together Angular package upgrades
@@ -171,6 +118,7 @@ updates:
171118 applies-to : version-updates
172119 patterns :
173120 - " @angular*"
121+ - " @ngtools/webpack"
174122 update-types :
175123 - " minor"
176124 - " patch"
@@ -179,6 +127,7 @@ updates:
179127 applies-to : version-updates
180128 patterns :
181129 - " @ngrx*"
130+ - " @ngtools/webpack"
182131 update-types :
183132 - " minor"
184133 - " patch"
@@ -228,14 +177,13 @@ updates:
228177 update-types :
229178 - " minor"
230179 - " patch"
231- # Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
232- zonejs :
233- applies-to : version-updates
234- patterns :
235- - " zone.js"
236- update-types :
237- - " patch"
238180 ignore :
181+ # Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
182+ - dependency-name : " zone.js"
183+ update-types : ["version-update:semver-major", "version-update:semver-minor"]
184+ # Restrict typescript updates to patch level because that's what our package.json says
185+ - dependency-name : " typescript"
186+ update-types : ["version-update:semver-major", "version-update:semver-minor"]
239187 # Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
240188 - dependency-name : " *"
241189 update-types : ["version-update:semver-major"]
@@ -246,8 +194,12 @@ updates:
246194 directory : " /"
247195 target-branch : dspace-8_x
248196 schedule :
249- interval : " weekly "
197+ interval : " monthly "
250198 time : " 05:00"
199+ # Allow updates to be delayed for a configurable number of days to mitigate
200+ # some classes of supply chain attacks
201+ cooldown :
202+ default-days : 7
251203 # Allow up to 10 open PRs for dependencies
252204 open-pull-requests-limit : 10
253205 # Group together Angular package upgrades
@@ -257,6 +209,7 @@ updates:
257209 applies-to : version-updates
258210 patterns :
259211 - " @angular*"
212+ - " @ngtools/webpack"
260213 update-types :
261214 - " minor"
262215 - " patch"
@@ -314,14 +267,13 @@ updates:
314267 update-types :
315268 - " minor"
316269 - " patch"
317- # Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
318- zonejs :
319- applies-to : version-updates
320- patterns :
321- - " zone.js"
322- update-types :
323- - " patch"
324270 ignore :
271+ # Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
272+ - dependency-name : " zone.js"
273+ update-types : ["version-update:semver-major", "version-update:semver-minor"]
274+ # Restrict typescript updates to patch level because that's what our package.json says
275+ - dependency-name : " typescript"
276+ update-types : ["version-update:semver-major", "version-update:semver-minor"]
325277 # Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
326278 - dependency-name : " *"
327279 update-types : ["version-update:semver-major"]
@@ -332,8 +284,12 @@ updates:
332284 directory : " /"
333285 target-branch : dspace-7_x
334286 schedule :
335- interval : " weekly "
287+ interval : " monthly "
336288 time : " 05:00"
289+ # Allow updates to be delayed for a configurable number of days to mitigate
290+ # some classes of supply chain attacks
291+ cooldown :
292+ default-days : 7
337293 # Allow up to 10 open PRs for dependencies
338294 open-pull-requests-limit : 10
339295 # Group together Angular package upgrades
@@ -343,6 +299,7 @@ updates:
343299 applies-to : version-updates
344300 patterns :
345301 - " @angular*"
302+ - " @ngtools/webpack"
346303 update-types :
347304 - " minor"
348305 - " patch"
@@ -392,17 +349,16 @@ updates:
392349 update-types :
393350 - " minor"
394351 - " patch"
395- # Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
396- zonejs :
397- applies-to : version-updates
398- patterns :
399- - " zone.js"
400- update-types :
401- - " patch"
402352 ignore :
403353 # 7.x Cannot update Webpack past v5.76.1 as later versions not supported by Angular 15
404354 # See also https://github.com/DSpace/dspace-angular/pull/3283#issuecomment-2372488489
405355 - dependency-name : " webpack"
356+ # Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
357+ - dependency-name : " zone.js"
358+ update-types : ["version-update:semver-major", "version-update:semver-minor"]
359+ # Restrict typescript updates to patch level because that's what our package.json says
360+ - dependency-name : " typescript"
361+ update-types : ["version-update:semver-major", "version-update:semver-minor"]
406362 # Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
407363 - dependency-name : " *"
408364 update-types : ["version-update:semver-major"]
0 commit comments