Ryan Zimmerman
Ryan Zimmerman
Try `import fsExtra from 'fs-extra'`
Confirmed bug; but we need something more complicated than your proposed fix. We can't simply ignore these checks when we're not dereferencing; just one example case: https://github.com/jprichardson/node-fs-extra/blob/a277cbbdf630424482b1e7418749ccaac0db98fe/lib/copy/__tests__/copy-prevent-copying-into-itself.test.js#L351
@ChALkeR the intent is to reduce the number of people with publish access here; see https://github.com/ExodusMovement/schemasafe/issues/165 for context.
npm access locked down
> can you create a new environment named release, restrict the environment to be used from master, add the npm token as environment secret NPM_PUBLISH_TOKEN to that environment, and remove...
jsonfile is not for use in the browser; only in Node or Electron.
OK, what bundler are you using? Webpack? Does importing `fs` directly and using `writeFile` work?
Ah, you're using react-scripts, which uses webpack under the hood. Comment out your usage of `jsonfile`, and put this somewhere in your code: ```js import fs from 'fs'; fs.writeFile('test.txt', 'Hello...
As discussed in https://github.com/jprichardson/node-jsonfile/issues/67, you can use `Object.assign` to accomplish something like this. You can't truly append to a JSON file in the filesystem sense, so I don't see the...
See discussion on https://github.com/overlookmotel/fs-extra-promise/pull/27