◐ Shell
clean mode source ↗

chore: replace fs-extra with native node:fs by roli-lpci · Pull Request #1016 · commitizen/cz-cli

@roli-lpci @claude

Replace fs-extra dependency with native Node.js fs module equivalents:
- ensureDir() -> fs.mkdir() with { recursive: true }
- fs.removeSync() -> fs.rmSync() with { recursive: true, force: true }
- fs.copySync() -> fs.cpSync() with { recursive: true }

All replacements use APIs available since Node.js v16, which is well
within the project's engine requirement of >= 12.

Relates to e18e/ecosystem-issues#33

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>