Upgrade to Angular 22

Proprietary

Migrates 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.UpgradeToAngular22
mod run . --recipe=org.openrewrite.angular.UpgradeToAngular22

Install 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.

  1. Upgrade to Angular 22 (code changes)
  2. org.openrewrite.javascript.UpgradeDependencyVersion
  3. org.openrewrite.javascript.UpgradeDependencyVersion
  4. org.openrewrite.javascript.UpgradeDependencyVersion
  5. org.openrewrite.javascript.UpgradeDependencyVersion
  6. org.openrewrite.javascript.UpgradeDependencyVersion
  7. org.openrewrite.javascript.UpgradeDependencyVersion
  8. org.openrewrite.javascript.UpgradeDependencyVersion
  9. org.openrewrite.javascript.UpgradeDependencyVersion