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 46099910c0)
This commit is contained in:
Alan Agius 2025-11-12 11:13:28 +00:00 committed by Andrew Kushnir
parent 909588e57f
commit a55a96a5fb

View file

@ -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/*'