Find CommonModule usage

Proprietary

Finds imports of CommonModule from @angular/common. Since Angular 19, standalone components are the default and CommonModule is no longer needed in component imports arrays. Built-in directives and pipes are available automatically.

org.openrewrite.angular.search.find-common-module-usage
mod run . --recipe=org.openrewrite.angular.search.find-common-module-usage

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