NPM Package Updater automatically checks for either the most up-to-date latest version of each dependency in your package.json file, or the latest minor or patch versions (both dependencies and devDependencies).
When you run the extension it will check if you'd like to create a backup of your package.json file. If you use git or another version control system you shouldn't need this.
Be sure to reinstall your packages once complete by running npm install or yarn install in your terminal.
Features
Update to the latest major, minor and patch version (Shortcut: ctrl+shift+u)
Run the Update Latest Majors: NPM Package Updater command from your command palette to get the most up-to-date version of all your packages.
Update to the latest minor and patch version (Shortcut: ctrl+shift+m)
Run the Update Latest Minors: NPM Package Updater command from your command palette to get the most up-to-date minor and patch versions of all of your packages.
Update to the latest patch version (Shortcut: ctrl+shift+p)
Run the Update Latest Patches: NPM Package Updater command from your command palette to get the most up-to-date patch (non-breaking) versions of all of your packages.
See it in action here:
Settings
Indentation size & type
This extension allows for customisable indentation types of your package.json. Whether you prefer tabs or spaces it's your decision 😉 Look for the Npm Package Updater: Indentation Size & Npm Package Updater: Indentation Type settings.
Registry
Update the registry used for fetching package details. You can use a registry different to the standard NPM one (which is set by default). For example if you're working for an organisation that has it's own registry. Look for the Npm Package Updater: Registry setting.