.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.
This commit is contained in:
Alan Orth
2025-06-17 09:17:16 +03:00
parent 277154b4ed
commit 460cef44c1

View File

@@ -149,6 +149,13 @@ updates:
- "zone.js" - "zone.js"
update-types: update-types:
- "patch" - "patch"
# Restrict typescript updates to patch level because that's what our package.json says
typescript:
applies-to: version-updates
patterns:
- "typescript"
update-types:
- "patch"
ignore: ignore:
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates. # Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
- dependency-name: "*" - dependency-name: "*"
@@ -235,6 +242,13 @@ updates:
- "zone.js" - "zone.js"
update-types: update-types:
- "patch" - "patch"
# Restrict typescript updates to patch level because that's what our package.json says
typescript:
applies-to: version-updates
patterns:
- "typescript"
update-types:
- "patch"
ignore: ignore:
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates. # Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
- dependency-name: "*" - dependency-name: "*"
@@ -321,6 +335,13 @@ updates:
- "zone.js" - "zone.js"
update-types: update-types:
- "patch" - "patch"
# Restrict typescript updates to patch level because that's what our package.json says
typescript:
applies-to: version-updates
patterns:
- "typescript"
update-types:
- "patch"
ignore: ignore:
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates. # Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
- dependency-name: "*" - dependency-name: "*"
@@ -399,6 +420,13 @@ updates:
- "zone.js" - "zone.js"
update-types: update-types:
- "patch" - "patch"
# Restrict typescript updates to patch level because that's what our package.json says
typescript:
applies-to: version-updates
patterns:
- "typescript"
update-types:
- "patch"
ignore: ignore:
# 7.x Cannot update Webpack past v5.76.1 as later versions not supported by Angular 15 # 7.x Cannot update Webpack past v5.76.1 as later versions not supported by Angular 15
# See also https://github.com/DSpace/dspace-angular/pull/3283#issuecomment-2372488489 # See also https://github.com/DSpace/dspace-angular/pull/3283#issuecomment-2372488489