I've been using angular yeoman for a while now and seen that these packages get updated quite frequently:
For example these ones:
npm install -g generator-webapp
npm install -g generator-angular
When I want to update them I just run the same commands again or run npm update [-g] [<name> [<name> ...]]
Is there a way to just tell npm to update them all to the latest version if I don't have a package.json
You can just run npm update -g
, which will update ALL of your globally installed packages.
It also doesnt have anythign to do with the package.json, since that is for the LOCALLY defined npm-Packages (in your projects scope).