link-workspace-packages

Installation
SKILL.md

Link Workspace Packages

Add dependencies between packages in a monorepo. All package managers support workspaces but with different syntax.

Detect Package Manager

Check whether there's a packageManager field in the root-level package.json.

Alternatively check lockfile in repo root:

  • pnpm-lock.yaml → pnpm
  • yarn.lock → yarn
  • bun.lock / bun.lockb → bun
  • package-lock.json → npm

Workflow

  1. Identify consumer package (the one importing)
  2. Identify provider package(s) (being imported)
Related skills

More from nrwl/nx-console

Installs
13
Repository
nrwl/nx-console
GitHub Stars
1.4K
First Seen
Feb 21, 2026