Updep
An automated dependency upgrade module for NodeJS.
Install / Use
/learn @mrodrig/UpdepREADME
updep
Automatically upgrade your NPM dependencies to the latest version!
This module provides the CLI functionality that you've been looking for to tackle technical debt with NPM modules head-on. You'll be up-to-date in no time with the functionality to specify the upgrade level to run or you can perform a dry-run to see what upgrades would be made without actually changing anything.
Installation
$ npm install -g updep
Upgrading
$ npm update -g updep
Usage
Usage: updep <package.json> [options]
Options:
-v, --version output the version number
-p, --version-prefix <prefix> Optional package version prefix to prepend (default: "^")
-s, --indent-spaces <num_spaces> Number of spaces of indentation for package.json (default: 4)
-i, --version-increment [level] Package.json version increment level {major|minor|patch} (default: "patch")
-V, --verbose Verbose mode
-U, --upgrade-level [level] Dependency version upgrade level {major|minor|patch} (default: "major")
-D, --dry-run Show the upgrades that would be performed instead of upgrading
-h, --help output usage information
Examples:
$ updep --help
$ updep -h
$ updep package.json -p ^ -i major
$ updep package.json -p "~" -s 4 -i minor -U patch --dry-run
Tests
Coming soon...
npm run lint && npm test
Note: This requires mocha and should.
Features
- Upgrades your package.json to have the latest versions for dependencies and devDependencies.
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
