Migrate RxJS 5-style deep imports to RxJS 6 entry points
ProprietaryMoves named imports and re-exports from RxJS 5-style deep paths that need rxjs-compat, such as import { Observable } from 'rxjs/Observable' or import { map } from 'rxjs/operators/map', to rxjs, rxjs/operators, rxjs/ajax and rxjs/webSocket. Members that RxJS 6 renamed take their new name, for example _throw becomes throwError and ISubscription becomes SubscriptionLike. Operator patches such as import 'rxjs/add/operator/map', prototype operators from rxjs/operator/*, rxjs/Rx and members that RxJS 6 only exposes internally are left unchanged.
org. openrewrite. angular. migration. migrate-rxjs-compat-importsmod run . --recipe= org. openrewrite. angular. migration. migrate-rxjs-compat-importsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.