Skip to content

Instantly share code, notes, and snippets.

@DavesCodeMusings
Created December 17, 2023 13:54
Show Gist options
  • Select an option

  • Save DavesCodeMusings/213817e6f2d6615839cd9ba6a176ae4a to your computer and use it in GitHub Desktop.

Select an option

Save DavesCodeMusings/213817e6f2d6615839cd9ba6a176ae4a to your computer and use it in GitHub Desktop.
Update dependent packages for VS Code extensions you've created
REM Shamelessly lifted from StackOverflow.
REM https://stackoverflow.com/questions/16073603/how-can-i-update-each-dependency-in-package-json-to-the-latest-version
REM Change directory to your extention's code directory and run the commands below.
REM `npm install -g npm-check-updates` installs the ncu utility and only needs to be run once per system.
REM Repeat ncu -u and npm install as needed for each extension's code directory.
npm install -g npm-check-updates
ncu -u
npm install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment