Find projects whose Angular is too old for a PrimeNG major

MSAL

Marks primeng in a package.json whose @angular/core version the target PrimeNG major does not accept as a peer dependency, being older than every version it does. Each PrimeNG major accepts one Angular major: PrimeNG 22 needs Angular 22.1 or later, for example. A project marked here has to upgrade Angular before, or together with, PrimeNG, since the package manager refuses the PrimeNG upgrade otherwise. The message names the newest PrimeNG major that accepts the project's Angular as it is.

org.openrewrite.javascript.migrate.primeng.FindPrimeNgAngularRequirements

Required

The PrimeNG major version to check the requirement of, from 19 to 22.

mod run . --recipe=org.openrewrite.javascript.migrate.primeng.FindPrimeNgAngularRequirements \ -P targetVersion=22

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.