← All recipes
Moderne licensed

Find RxJS 5-style imports requiring rxjs-compat

Recipe IDorg.openrewrite.angular.search.find-rxjs-compat-usageArtifact@openrewrite/recipes-angular

Finds imports using RxJS 5-style deep import paths (e.g. rxjs/Observable, rxjs/add/operator/map) that require the rxjs-compat package. These should be migrated to RxJS 6+ import paths before removing rxjs-compat.

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-rxjs-compat-usage

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

mod config recipes npm install @openrewrite/recipes-angular