Replace fs-extra remove with fs.rm

Proprietary

Replaces fs-extra's remove(path) and removeSync(path) with rm/rmSync from node:fs/promises and node:fs, passing { recursive: true, force: true } as fs-extra does internally. The callback form maps to the callback rm from node:fs.

org.openrewrite.node.migrate.fs-extra.replace-fs-extra-remove
mod run . --recipe=org.openrewrite.node.migrate.fs-extra.replace-fs-extra-remove

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