Updating NPM packages
pick a way to update npm packages and use it frequently
There seem to be lots of ways to update the versions of npm packages that a project depends on.
One very easy way is:
npx npm-check-updates -u
This'll download the script itself if needed, then run it, and update package.json to
include all the last versions of the packages that are available. It won't actually install them,
though. To do that, you'll need to run:
npm install
Then see if they're actually compatible and test it still works etc. Then commit the updated package.json to VC.