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

fs-extra native replacement #126

Open
bluwy opened this issue Jul 29, 2024 · 3 comments
Open

fs-extra native replacement #126

bluwy opened this issue Jul 29, 2024 · 3 comments

Comments

@bluwy
Copy link
Contributor

bluwy commented Jul 29, 2024

Most of the fs-extra APIs can be replaced with native fs calls these days especially on later node versions. Eg some migration I made: vitejs/vite#17782

We probably needs a migration guide from fs-extra to fs mapping its APIs: https://github.com/jprichardson/node-fs-extra?tab=readme-ov-file#methods. However, I’ve not found a solid guide yet elsewhere, except for https://ar.al/2021/03/07/fs-extra-to-fs/ but it’s 3 years ago.

@43081j
Copy link
Contributor

43081j commented Jul 29, 2024

we could try document it in the replacement doc. we haven't done that so far but fs-extra does need a bit of a migration guide i think

we can still follow the doc template but have an extra section

@walter-0
Copy link
Contributor

walter-0 commented Oct 16, 2024

I'd like to start adding the applicable fs-extra modules into the preferred manifest

walter-0 added a commit to walter-0/module-replacements that referenced this issue Oct 16, 2024
@bluwy
Copy link
Contributor Author

bluwy commented Oct 16, 2024

@ziebam has a lot of experience migrating fs-extra to fs and could help review the changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants