← All recipes
Moderne licensed

Find legacy @angular/animations usage

Recipe IDorg.openrewrite.node.migrate.angular-animations.find-legacy-angular-animationsArtifact@openrewrite/recipes-nodejs

Marks what keeps an application on the deprecated @angular/animations package and needs a manual move to native CSS animations: trigger() definitions, AnimationBuilder, and application-wide noop animation providers. RemoveAngularAnimationsProviders removes the providers once none of these remain.

Single recipeangularanimationsProprietary

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.node.migrate.angular-animations.find-legacy-angular-animations

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

mod config recipes npm install @openrewrite/recipes-nodejs