Add ChangeDetectionStrategy.Eager to components
ProprietaryAdds changeDetection: ChangeDetectionStrategy.Eager to @Component decorators that do not specify a change detection strategy. Angular 22 changed the default for such components to ChangeDetectionStrategy.OnPush; making the previous check-always behavior explicit keeps them working unchanged.
org. openrewrite. angular. migration. add-eager-change-detectionmod run . --recipe= org. openrewrite. angular. migration. add-eager-change-detectionInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.