← All recipes
Moderne licensed

Find fs-extra usages that need manual migration

Recipe IDorg.openrewrite.node.migrate.fs-extra.find-fs-extra-manual-migrationsArtifact@openrewrite/recipes-nodejs

Marks every fs-extra usage the automated migration leaves in place — move, emptyDir, ensureLink/ensureSymlink, exists, calls with unsupported arguments, fs-extra used as a value, type imports, re-exports, dynamic imports, and test mocks — and records each with a suggested replacement in the FsExtraManualMigrationSteps data table.

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.node.migrate.fs-extra.find-fs-extra-manual-migrations

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

mod config recipes npm install @openrewrite/recipes-nodejs