Updating Dependencies
How to check and update dependencies in the monorepo
Last updated: Jan 19, 2026
Check Outdated Packages
# Check all outdated packages
ncu
# Check specific workspace
ncu --cwd apps/web
ncu --cwd apps/server
ncu --cwd packages/dbUpdate All Workspaces
# Preview updates across all workspaces
ncu --workspaces
# Apply updates to all package.json files
ncu -u --workspaces
# Install updated dependencies
bun installUpdate Specific Workspace
# Update only the web app
ncu -u --cwd apps/web && bun install
# Update only the server
ncu -u --cwd apps/server && bun install
# Update only a package
ncu -u --cwd packages/db && bun installUpdate Root Catalog
The root package.json contains a workspace catalog with shared versions. Update it separately:
# Check root package.json
ncu
# Update root package.json
ncu -u
# Install
bun installUpdate Specific Package
# Update a single package everywhere
ncu -u --filter next --workspaces
# Update multiple packages
ncu -u --filter "next,react,typescript" --workspaces
# Install
bun installInteractive Mode
# Interactively select which packages to update
ncu -i --workspacesAfter Updating
Always run these after updating:
# Install new versions
bun install
# Check for type errors
bun run check-types
# Build to verify
bun run build