Import Angular Material symbols from their entry points

Proprietary

Material 9 removed the @angular/material primary entry point. Splits each named import from @angular/material into one import per secondary entry point, such as @angular/material/button, and marks imports that it cannot split, such as namespace imports and symbols it does not know.

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

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