Find uses of the legacy Angular Material components

Proprietary

Finds imports, dynamic imports and re-exports of the @angular/material/legacy-* entry points and stylesheets that include the legacy-* theme mixins, which Angular Material 17 removed. Move them to the MDC-based components of the matching entry point.

org.openrewrite.angular.material.FindLegacyMaterialUsage
mod run . --recipe=org.openrewrite.angular.material.FindLegacyMaterialUsage

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