Upgrade to Angular 22
ProprietaryMigrates Angular 21.x applications to Angular 22. This includes running the Angular 21 migration first, making the pre-existing change detection, HttpClient backend, incremental hydration, strict template, and safe navigation diagnostic defaults explicit, replacing APIs removed in Angular 22, flagging the router behavior changes for review, and upgrading TypeScript to 6.0.x.
org. openrewrite. angular. UpgradeToAngular22mod run . --recipe= org. openrewrite. angular. UpgradeToAngular22Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Upgrade to Angular 22 (code changes)
- org.openrewrite.javascript.UpgradeDependencyVersion
- org.openrewrite.javascript.UpgradeDependencyVersion
- org.openrewrite.javascript.UpgradeDependencyVersion
- org.openrewrite.javascript.UpgradeDependencyVersion
- org.openrewrite.javascript.UpgradeDependencyVersion
- org.openrewrite.javascript.UpgradeDependencyVersion
- org.openrewrite.javascript.UpgradeDependencyVersion
- org.openrewrite.javascript.UpgradeDependencyVersion