AGENT SKILL

npm-check-updates

Use this skill when the user wants to check for or upgrade npm dependencies.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
npm-check-updates
description
Use this skill when the user wants to check for or upgrade npm dependencies.

03 SKILL.md 正文

NPM-Check-Updates Plugin

Find newer versions of dependencies than what package.json allows.

Commands

Dependency Management

  • npm-check-updates dependencies check — Check for newer dependency versions
  • npm-check-updates dependencies upgrade — Upgrade package.json with latest versions

Usage Examples

  • "npm-check-updates dependencies check --json"
  • "npm-check-updates dependencies upgrade --target latest"

Installation

npm install -g npm-check-updates

Examples

# Check for updates
ncu

# Check with JSON output
ncu --json

# Upgrade package.json
ncu -u

# Target specific version type
ncu --target minor
ncu --target patch

# Filter specific packages
ncu --filter "express*"

# Check specific package file
ncu --packageFile package.json

# Check only production dependencies
ncu --prod

# Check only dev dependencies
ncu --dev

Key Features

  • Check for newer dependency versions
  • Upgrade package.json automatically
  • JSON output for automation
  • Filter by package name
  • Target specific version types (latest, minor, patch)
  • Compatible with npm, yarn, pnpm, deno, bun

04 同仓库更多 Skills