A tool for managing package versions across monorepo workspaces.
You can run workspace-helper directly using bun or npx, or install it globally.
# Using bun (recommended)
bun x workspace-helper
# Using npx
npx workspace-helperTo install globally:
bun add -g workspace-helper
# or
npm install -g workspace-helperThen run:
whworkspace-helper is primarily an interactive CLI tool. When you run it, you will be presented with a menu to select the operation you want to perform.
whThe CLI provides the following interactive commands:
Select a package and a version, and choose which workspaces should have this package updated or added.
Select a package to remove from selected workspaces.
Choose a package and a target version to align all workspaces to that version.
Scans your monorepo for conflicting versions of the same dependency and helps you resolve them interactively.
Shows a summary of all dependencies in your workspaces.
Runs your project's package manager (npm, pnpm, yarn, bun) in all workspaces to ensure dependencies are installed.