From 460cef44c12f1a8a5217a040edfe10df423d879a Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 17 Jun 2025 09:17:16 +0300 Subject: [PATCH] .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. --- .github/dependabot.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 75838071a4..09caf84ac0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -149,6 +149,13 @@ updates: - "zone.js" update-types: - "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 all major version updates for all dependencies. We'll only automate minor/patch updates. - dependency-name: "*" @@ -235,6 +242,13 @@ updates: - "zone.js" update-types: - "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 all major version updates for all dependencies. We'll only automate minor/patch updates. - dependency-name: "*" @@ -321,6 +335,13 @@ updates: - "zone.js" update-types: - "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 all major version updates for all dependencies. We'll only automate minor/patch updates. - dependency-name: "*" @@ -399,6 +420,13 @@ updates: - "zone.js" update-types: - "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: # 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