From db1fd959c53c35b530a76086150d1d26fdb69fde Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Fri, 9 May 2025 17:49:27 +0000 Subject: [PATCH 1/2] ci: Use 'replace' rangeStrategy to prevent unintended dependency pinning The previous 'pin' rangeStrategy caused several issues: * It unexpectedly pinned exact versions of dependencies in the distributed `package.json` files. * It also automatically updated the Node.js version and engine ranges to their latest versions, which was not the desired behavior for our CI/CD pipeline. Switching to the 'replace' strategy resolves these problems, ensuring more predictable and stable dependency management within our CI setup. See: https://github.com/angular/components/pull/31062 --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 5de7e8fe107b..d21e6ff43d8d 100644 --- a/renovate.json +++ b/renovate.json @@ -5,7 +5,7 @@ "stopUpdatingLabel": "action: merge", "labels": ["action: review"], "dependencyDashboard": true, - "rangeStrategy": "pin", + "rangeStrategy": "replace", "prHourlyLimit": 3, "commitBody": "See associated pull request for more information.", "timezone": "America/Tijuana", From d43f16aad0c10c662826fb3c32a2346ca8e7a798 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Fri, 9 May 2025 17:58:49 +0000 Subject: [PATCH 2/2] ci: disable minor and major updates for TypeScript, rxjs and tslib Disable automatic major and minor version updates for these packages. This is to prevent unexpected breaking changes and ensure build stability in CI. --- renovate.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/renovate.json b/renovate.json index d21e6ff43d8d..95d52e2fcd55 100644 --- a/renovate.json +++ b/renovate.json @@ -34,6 +34,10 @@ "groupName": "all non-major dependencies", "schedule": ["after 10:00pm on monday", "before 04:00am on tuesday"] }, + { + "groupName": "bazel", + "matchDepNames": ["/^@bazel/.*/", "/^build_bazel.*/"] + }, { "matchBaseBranches": ["main"], "followTag": "next", @@ -55,6 +59,20 @@ { "matchCurrentVersion": "0.0.0-PLACEHOLDER", "enabled": false + }, + { + "separateMinorPatch": true, + "matchPackageNames": ["typescript", "rxjs", "tslib"] + }, + { + "enabled": false, + "matchPackageNames": ["typescript", "rxjs", "tslib"], + "matchUpdateTypes": ["major"] + }, + { + "enabled": false, + "matchPackageNames": ["typescript"], + "matchUpdateTypes": ["minor"] } ] }