Find undecorated classes with Angular features
Recipe ID
org.openrewrite.angular.search.find-undecorated-angular-classArtifact@openrewrite/recipes-angularFinds classes that use Angular member decorators (@Input, @Output, @ViewChild, etc.) or implement lifecycle hooks (ngOnInit, ngOnDestroy, etc.) but lack a class-level Angular decorator. Angular 9 with Ivy requires all classes using Angular features to have an explicit decorator.
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.angular.search.find-undecorated-angular-classIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular