← All recipes
Moderne licensed

Migrate off the deprecated @angular/animations package

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

Removes the animation providers and the @angular/animations dependency from applications that no longer use the legacy animation engine, and marks the triggers, AnimationBuilder uses and noop providers that need a manual move to native CSS animations with animate.enter/animate.leave.

Composite 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.migrate-angular-animations

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

mod config recipes npm install @openrewrite/recipes-nodejs

Definition

This recipe runs the following recipes in order.