Skip to content

dcdavidev/depsup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

depsup

A powerful CLI tool to update dependencies in Nx workspaces and monorepos automatically.

Table of Contents

What does depsup do?

depsup is a CLI tool that automates dependency updates across your entire workspace:

  1. 🔍 Auto-detects your environment

    • Finds workspace root (supports pnpm, yarn, bun workspaces)
    • Identifies package manager (npm, pnpm, yarn, bun) via lock files
  2. 🚀 Updates Nx (if present)

    • Runs nx migrate latest
    • Applies migrations automatically
    • Skips if Nx isn't in your project
  3. 📦 Updates all dependencies

    • Root package.json first
    • Then all packages in packages/ directory
    • Skips directories without package.json
    • Works in monorepos and single-package projects
  4. 🎯 Two modes

    • Interactive (default): Choose which dependencies to update
    • Auto (-y): Update everything automatically

Built with Commander.js and powered by npm-check-updates under the hood.

Installation

# Using npm
npm install -g depsup

# Using pnpm
pnpm add -g depsup

# Using yarn
yarn global add depsup

# Using bun
bun add -g depsup

Or use directly without installation:

npx depsup
pnpm dlx depsup
yarn dlx depsup
bunx depsup

Usage

# Interactive mode (default) - choose which dependencies to update
depsup

# Auto mode - update all dependencies automatically
depsup -y
depsup --yes

License

This project is licensed under the MIT License.

Copyright (c) 2025 Davide Di Criscito

For the full details, see the LICENSE file.

About

Programmatically update dependencies in your workspaces.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project