generator
generator copied to clipboard
Replace deprecated `fs.extra` with `fs-extra` in generator and hooks packages
Bug: deprecated dependency used in core packages
The monorepo currently depends on [email protected], which is deprecated and no longer commonly maintained. The actively maintained package is fs-extra.
I verified usage locally with:
npm ls fs.extra
Locations where fs.extra is used
Production code:
apps/generator/lib/generator.js
apps/generator/lib/hooksRegistry.js
Test code:
apps/generator/test/cli.js
apps/generator/test/generator.test.js
Dependency declarations:
apps/generator/package.json
apps/hooks/package.json
Why this matters:
- deprecated dependency risk
- potential compatibility issues with modern Node versions
- contributor confusion
- ecosystem maintenance concern
Proposed solution:
- replace
fs.extrawithfs-extra - update imports if needed
- run tests to confirm no behavioral change
I’m happy to work on this if approved.
we update old dependencies only if there are serious CVE reported for the dependency
thanks for reporting though
Thanks for the clarification I understand the policy and appreciate the response.