Skip to content

WarningImHack3r/npm-update-dependencies

Repository files navigation

npm-update-dependencies

Build Version Downloads

Description

Update your npm dependencies with a single click.

This plugin will update all the dependencies in your package.json file to the latest version, or the satisfying version depending on your choice.

Features

  • Update a dependency to the latest or satisfying version
  • Support for custom registries and private packages
  • Keep comparators (e.g. ^, ~, >, <, >=, <=) when replacing versions
  • Detect and replace/remove deprecated dependencies
  • Batch update all dependencies (latest or satisfying), all deprecated dependencies
  • Get notified of deprecated dependencies with a banner
  • See your outdated dependencies at a glance in the status bar
  • Exclude dependencies or versions from the scan
  • Configure everything in the settings
  • Manually invalidate the cache in case of issues
  • ...and more!

Usage

There are 3 ways to invoke the extension menu:

  • Hover over an annotated dependency and click the action you want to perform
  • Right click in the package.json file and select the extension from the context menu
  • Use the Tools menu

Configuration options are available in the settings.

Works by fetching registry.npmjs.org.
Rewrite of the existing npm-dependency-checker plugin.

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for " npm-update-dependencies" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.