updates
updates copied to clipboard
Option to delete modules and reinstall
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.
Some notes:
- check for
.yarnrc.ymlandyarn.lock. if found, deleteyarn.lock,.pnp.js,.yarn/cacheand runyarn - check for
.yarnrc,yarn.lock. if found, deleteyarn.lockmnode_modulesand runyarn. - delete
node_modulesandpackage-lock.jsonand runnpm i.