Skip to content

Commit 460cef4

Browse files
committed
.github/dependabot.yml: adjust rules for typescript
Our package.json uses the "~" specifier to pin typescript to patch versions so dependabot should not try to update minor versions here.
1 parent 277154b commit 460cef4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/dependabot.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,13 @@ updates:
149149
- "zone.js"
150150
update-types:
151151
- "patch"
152+
# Restrict typescript updates to patch level because that's what our package.json says
153+
typescript:
154+
applies-to: version-updates
155+
patterns:
156+
- "typescript"
157+
update-types:
158+
- "patch"
152159
ignore:
153160
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
154161
- dependency-name: "*"
@@ -235,6 +242,13 @@ updates:
235242
- "zone.js"
236243
update-types:
237244
- "patch"
245+
# Restrict typescript updates to patch level because that's what our package.json says
246+
typescript:
247+
applies-to: version-updates
248+
patterns:
249+
- "typescript"
250+
update-types:
251+
- "patch"
238252
ignore:
239253
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
240254
- dependency-name: "*"
@@ -321,6 +335,13 @@ updates:
321335
- "zone.js"
322336
update-types:
323337
- "patch"
338+
# Restrict typescript updates to patch level because that's what our package.json says
339+
typescript:
340+
applies-to: version-updates
341+
patterns:
342+
- "typescript"
343+
update-types:
344+
- "patch"
324345
ignore:
325346
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
326347
- dependency-name: "*"
@@ -399,6 +420,13 @@ updates:
399420
- "zone.js"
400421
update-types:
401422
- "patch"
423+
# Restrict typescript updates to patch level because that's what our package.json says
424+
typescript:
425+
applies-to: version-updates
426+
patterns:
427+
- "typescript"
428+
update-types:
429+
- "patch"
402430
ignore:
403431
# 7.x Cannot update Webpack past v5.76.1 as later versions not supported by Angular 15
404432
# See also https://github.com/DSpace/dspace-angular/pull/3283#issuecomment-2372488489

0 commit comments

Comments
 (0)