Closed jfmengels closed 2 weeks ago
According to https://nodejs.org/api/fs.html#fscopyfilesyncsrc-dest-mode, fs.copyFileSync
has existed since Node.js 8.5.0, so after a quick search it looks like all that needs to be done is to change fsExtra.copyFileSync
into fs.copyFileSync
and then remove fs-extra.
In https://github.com/jfmengels/node-elm-review/pull/119 we replaced most usages of
fs-extra
. We kept it because of the copy capabilities that it has that are not infs
orgraceful-fs
.(Note: it's fine to keep it in
new-package/maintenance/update-examples-from-preview.js
, that's a separate generated project for packages)