A Visual Studio Code extension for managing dependencies in pnpm workspace catalogs. It provides inline version information, update notifications, and quick actions for packages defined in your pnpm-workspace.yaml file.
Features
LENS:
workspace.yaml - shows catalog version
package.json - shows installed version
CMD + Click "workspace:" to open workspace package
CMD + Click "catalog:" to open pnpm catalog
COMMANDS:
Update to Latest (hover action)
PNPM Catalog: Install or Update Dependency
Search npm or local workspace packages
Add new packages to catalog or manage existing ones
Select version from npm or type a custom version
Add/remove from multiple workspace packages at once
PNPM Catalog: Add Workspace Dependency
Add a workspace package as a dependency to multiple target packages
Previews
Command Click
Update to latest command
Install Dependency Command
Webview UI
Requirements
pnpm must be installed and available in your PATH
A valid pnpm-workspace.yaml file in your workspace
How It Works
When you open a pnpm-workspace.yaml file, the extension runs pnpm outdated -r --json to fetch outdated package information
Results are cached per workspace to avoid repeated calls
Hover information is fetched on-demand from the npm registry and cached for performance
The cache is automatically refreshed when you switch workspaces
Known Issues
The extension relies on pnpm outdated which requires packages to be installed. If you have a fresh workspace without node_modules, run pnpm install first.
Version decorations may take a moment to appear on first load while the outdated check runs.