From 00ed36392f76c971976afa249e54c1ebcddac0bc Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Wed, 29 Jan 2025 16:01:13 +0000 Subject: [PATCH 1/2] Revert "build: update framework and ng-packagr peer-deps" This reverts commit 5f3b6227087029b5169df5122d6218e3dc8f1a07. --- constants.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/constants.bzl b/constants.bzl index c26a8f84eadf..5b4f12b2d42b 100644 --- a/constants.bzl +++ b/constants.bzl @@ -5,8 +5,8 @@ RELEASE_ENGINES_YARN = ">= 1.13.0" NG_PACKAGR_VERSION = "^19.2.0-next.0" ANGULAR_FW_VERSION = "^19.2.0-next.0" -ANGULAR_FW_PEER_DEP = "^19.2.0-next.0" -NG_PACKAGR_PEER_DEP = "^19.2.0-next.0" +ANGULAR_FW_PEER_DEP = "^19.0.0 || ^19.2.0-next.0" +NG_PACKAGR_PEER_DEP = "^19.0.0 || ^19.2.0-next.0" SNAPSHOT_REPOS = { "@angular/cli": "angular/cli-builds", From 15e723ac120a3a87620807e6e1aba206599f8479 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Wed, 29 Jan 2025 16:09:08 +0000 Subject: [PATCH 2/2] build: disable `checkSchematicsAngularLatestVersion` pre-release check This is current checking `packages/schematics/angular/utility/latest-versions/package.json` but recently we change how the version is set https://github.com/angular/angular-cli/pull/29368 --- scripts/release-checks/dependency-ranges/index.mts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/release-checks/dependency-ranges/index.mts b/scripts/release-checks/dependency-ranges/index.mts index f504b219c6a9..85cba2de5de3 100644 --- a/scripts/release-checks/dependency-ranges/index.mts +++ b/scripts/release-checks/dependency-ranges/index.mts @@ -33,7 +33,8 @@ export async function assertValidDependencyRanges( const failures: string[] = [ ...(await checkPeerDependencies(newVersion, allPackages)), - ...(await checkSchematicsAngularLatestVersion(newVersion)), + // TODO: Re-enable the following once the checks are performed against the stamped `.js` file instead of the source `.json` file. + // ...(await checkSchematicsAngularLatestVersion(newVersion)), ]; if (failures.length !== 0) {