From a55a96a5fb477f4dc776cd9435e24aa668d8ec62 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Wed, 12 Nov 2025 11:13:28 +0000 Subject: [PATCH] build: allow any version of @angular/* packages for peer dependencies This change configures pnpm to allow any version of `@angular/*` packages to satisfy peer dependencies. This is necessary because `@angular/*` packages are managed within this monorepo, and this rule prevents issues with peer dependency resolution when different versions might be present during development or testing. (cherry picked from commit 46099910c099399d69e4dc67145e3f7515ca9d9a) --- pnpm-workspace.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 618805fe2d5..c34d799da01 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -48,3 +48,8 @@ minimumReleaseAgeExclude: - '@ngtools/webpack' - '@schematics/*' - 'ng-packagr' + +# Allow any version of @angular/* packages to satisfy peer dependencies, as these are managed within the monorepo. +peerDependencyRules: + allowAny: + - '@angular/*'