3 step process to keep your NPM packages updated in VS Code
· One min read
Here is a short post detailing the methodology used by me to keep the npm packages up to date.
- 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
-
Use
package-json-upgrade
extension tooltip to update the package. -
Run
npm update
to update the packages and modify thepackage-lock.json
Once updates are performed, check if the application can build successfully.