Remove BrowserModule.withServerTransition

Proprietary

Replaces BrowserModule.withServerTransition({ appId: '...' }) with BrowserModule and adds { provide: APP_ID, useValue: '...' } to the NgModule providers. The withServerTransition method was removed in Angular 19.

org.openrewrite.angular.migration.remove-browser-module-with-server-transition
mod run . --recipe=org.openrewrite.angular.migration.remove-browser-module-with-server-transition

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