Replace provideServerRouting with provideServerRendering(withRoutes())

Proprietary

Folds provideServerRouting(routes) and provideServerRoutesConfig(routes, options) into provideServerRendering(withRoutes(routes), options) and drops a bare provideServerRendering() from the same providers array. Angular 20 removed both functions. Matches the replace-provide-server-routing schematic.

org.openrewrite.angular.migration.replace-provide-server-routing
mod run . --recipe=org.openrewrite.angular.migration.replace-provide-server-routing

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