Angular Material 12 code changes

Proprietary

The @angular/material source changes of the version 12 migration: moves stylesheets from @import of @angular/material/theming to the @use '@angular/material' theming API, and finds constructor calls that no longer fit the changed constructors. UpgradeToAngular12 includes this recipe.

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

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