To update all npm packages to the latest version, this is how you can do it! Open up your terminal in your workspace and run these commands:
npm i -g npm-check-updates
ncu -u
npm install
For yarn I found that yarn upgrade –latest suffice.
To update all npm packages to the latest version, this is how you can do it! Open up your terminal in your workspace and run these commands:
npm i -g npm-check-updates
ncu -u
npm install
For yarn I found that yarn upgrade –latest suffice.