Upgrade to PrimeNG 22

MSAL

Upgrades an Angular project from PrimeNG 21 to PrimeNG 22, after the upgrades from PrimeNG 18 to 21 it composes. Moves primeng to ^22.1.5 together with the theme package, in the projects on PrimeNG 18 to 21 whose Angular PrimeNG 22 accepts, and then, in the projects where that upgrade landed, migrates the imports, selectors, inputs and outputs the major renamed or removed, in TypeScript and in Angular templates. What takes judgement, such as the members PrimeNG turned into signals, is marked for review and listed in the PrimeNgMigrationWork data table, and so is each project left as it is, with the reason: an Angular the major does not accept, a PrimeNG 17 or older, or a package manager refusing the upgrade. A project on PrimeNG 17 or older is left alone entirely, so migrate it to PrimeNG 18 first, as org.openrewrite.primeng.UpgradeTo18 does. PrimeNG 22 needs @angular/core ^22.1.0, so run it after the Angular upgrade the project needs.

org.openrewrite.javascript.migrate.primeng.UpgradeToPrimeNG22
mod run . --recipe=org.openrewrite.javascript.migrate.primeng.UpgradeToPrimeNG22

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