Upgrade to Angular 20

Proprietary

Migrates Angular 19.x applications to Angular 20. This includes running the Angular 19 migration first, then updating Angular package versions, renaming experimental APIs promoted to stable, moving provideServerRendering to @angular/ssr and folding provideServerRouting into it, and upgrading TypeScript to 5.8.x. It includes the Angular Material code changes of version 20.

org.openrewrite.angular.UpgradeToAngular20
mod run . --recipe=org.openrewrite.angular.UpgradeToAngular20

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 20 (code changes)
  2. org.openrewrite.javascript.UpgradeDependencyVersions