Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>NPM Package UpdaterNew to Visual Studio Code? Get it now.

NPM Package Updater

Garth Toland

|
1,285 installs
| (0) | Free
Commands for updating your project's NPM dependencies.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NPM Package Updater

VS Code Marketplace Version VS Code Marketplace Downloads VS Code Marketplace Installs

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)

  1. 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)

  1. 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)

  1. 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:

Usage

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.

Useful links

Semantic Versioning explanation.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft