Open bluwy opened 3 months ago
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
I'd like to start adding the applicable fs-extra modules into the preferred manifest
@ziebam has a lot of experience migrating fs-extra
to fs
and could help review the changes
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: https://github.com/vitejs/vite/pull/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.