← All recipes
Moderne licensed

Remove redundant standalone: true

Recipe IDorg.openrewrite.angular.migration.remove-standalone-trueArtifact@openrewrite/recipes-angular

Removes the standalone: true property from Angular component, directive, and pipe decorators since standalone is the default in Angular 19+.

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.migration.remove-standalone-true

If the recipe isn’t available locally, install it with:

mod config recipes npm install @openrewrite/recipes-angular