updates icon indicating copy to clipboard operation
updates copied to clipboard

Option to delete modules and reinstall

Open silverwind opened this issue 5 years ago • 1 comments

After a dependency update, it's usually best to wipe node_modules and reinstall. I'm considering adding a command line switch to do just that for node_modules and whatever files yarn v2 uses, if present.

silverwind avatar Jul 24 '20 18:07 silverwind

Some notes:

  1. check for .yarnrc.yml and yarn.lock. if found, delete yarn.lock, .pnp.js, .yarn/cache and run yarn
  2. check for .yarnrc, yarn.lock. if found, delete yarn.lockm node_modules and run yarn.
  3. delete node_modules and package-lock.json and run npm i.

silverwind avatar Aug 04 '20 21:08 silverwind