Skip to main content

3 step process to keep your NPM packages updated in VS Code

· One min read
D Balaji
Lead Design Technologist

Here is a short post detailing the methodology used by me to keep the npm packages up to date.

  1. Install vs-code extension called package-json-upgrade which will give information about the latest version available.

Extension ID of the extension - codeandstuff.package-json-upgrade

  1. Use package-json-upgrade extension tooltip to update the package.

  2. Run npm update to update the packages and modify the package-lock.json

Once updates are performed, check if the application can build successfully.