https://github.com/warningimhack3r/npm-update-dependencies
Update NPM dependencies from your IDE
https://github.com/warningimhack3r/npm-update-dependencies
Last synced: 6 months ago
JSON representation
Update NPM dependencies from your IDE
- Host: GitHub
- URL: https://github.com/warningimhack3r/npm-update-dependencies
- Owner: WarningImHack3r
- Created: 2023-02-16T07:55:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-30T19:10:04.000Z (over 1 year ago)
- Last Synced: 2024-11-30T19:33:17.552Z (over 1 year ago)
- Language: Kotlin
- Homepage: https://plugins.jetbrains.com/plugin/21105-npm-update-dependencies
- Size: 5.32 MB
- Stars: 10
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# npm-update-dependencies

[](https://plugins.jetbrains.com/plugin/com.github.warningimhack3r.npmupdatedependencies)
[](https://plugins.jetbrains.com/plugin/com.github.warningimhack3r.npmupdatedependencies)
## 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
- Keep comparators (e.g. `^`, `~`, `>`, `<`, `>=`, `<=`) when replacing versions
- Get notified of deprecated dependencies with a banner
- Detect and replace/remove deprecated dependencies
- Configure and spot dependencies that are likely unmaintained
- Batch update all dependencies (latest or satisfying) and/or all deprecated dependencies
- Support for custom registries and private packages
- Support of the `packageManager` field
- 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 menus:
- 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](https://registry.npmjs.org).
> Rewrite of the existing [npm-dependency-checker](https://github.com/unger1984/npm-dependency-checker) plugin.
## Installation
- Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace >
Search for "npm-update-dependencies" > Install Plugin
- Manually:
1. Either:
- Download the [latest release](https://github.com/WarningImHack3r/npm-update-dependencies/releases/latest)
- Build it manually by installing Java 17+ and running `./gradlew buildPlugin`:
the output zip is available at `build/distributions/npm-update-dependencies-X.X.X.zip`
2. Install it manually using
Settings/Preferences > Plugins > ⚙️ > Install Plugin from Disk…
---
> Plugin based on the [IntelliJ Platform Plugin Template](https://github.com/JetBrains/intellij-platform-plugin-template)