Skip to content

fabiospampinato/vscode-outdated

Repository files navigation

Outdated

Logo

A super quick way to update npm dependencies, via a code lens.

Clicking the code lens will update the dependency's version in the current package.json file.

This extension requires npm-cli to be installed and it only works for npm dependencies listead in package.json files.

Install

Follow the instructions in the Marketplace, or run the following in the command palette:

ext install fabiospampinato.vscode-outdated

Usage

It adds 5 commands to the command palette:

'Outdated: Disable' // Disable the code lens
'Outdated: Enable' // Enable the code lens
'Outdated: Toggle' // Enable or disable the code lens
'Outdated: Toggle Badges' // Enable or disable the inline badges
'Outdated: Refresh' // Force refresh the code lens

Settings

{
  "outdated.enabled": true, // Whether the code lens is enabled or not
  "outdated.badges.enabled": true // Whether the inline badges should be rendered or not
}

Demo

Demo

License

MIT © Fabio Spampinato