Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package: Replace `fs-extra` with `rimraf`. #18790

merged 1 commit into from Nov 28, 2019


Copy link

epiqueras commented Nov 27, 2019

It surfaced in this thread, that we only use fs-extra for its remove function. We already have rimraf which does the same thing, and we need it for its CLI, so it makes sense to replace fs-extra with rimraf and avoid pulling in an extra dependency.

@epiqueras epiqueras added this to the Future milestone Nov 27, 2019
@epiqueras epiqueras requested review from ajitbohra, nerrad and ntwb as code owners Nov 27, 2019
@epiqueras epiqueras self-assigned this Nov 27, 2019
@epiqueras epiqueras requested review from youknowriad and aduth Nov 27, 2019

This comment has been minimized.

Copy link

ntwb commented Nov 28, 2019

Node.js 12.10: Add recursive option to rmdir() in #29168

I don't think we need rimraf at all, this can be achieved with fs.rmdir()

Background reading:


This comment has been minimized.

Copy link

youknowriad commented Nov 28, 2019

@ntwb Oh! I didn't know about that :) Thanks for sharing.


This comment has been minimized.

Copy link
Contributor Author

epiqueras commented Nov 28, 2019

I didn't use it, because it's still "Stability 1".

Stability: 1 - Experimental. The feature is not subject to Semantic Versioning rules. Non-backward compatible changes or removal may occur in any future release. Use of the feature is not recommended in production environments.

@epiqueras epiqueras merged commit 0536a67 into master Nov 28, 2019
2 checks passed
2 checks passed
Travis CI - Pull Request Build Passed
@epiqueras epiqueras deleted the update/replace-fs-extra-with-rimraf branch Nov 28, 2019
@youknowriad youknowriad modified the milestones: Future, Gutenberg 7.1 Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.