Migrate off the deprecated @angular/animations package

Proprietary

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.

org.openrewrite.node.migrate.angular-animations.migrate-angular-animations
mod run . --recipe=org.openrewrite.node.migrate.angular-animations.migrate-angular-animations

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

Recipe list

It runs these recipes, in this order.

  1. Remove unneeded @angular/animations providers
  2. Find legacy @angular/animations usage