Simplifies linking dependencies between internal packages in monorepos across npm, yarn, pnpm, and bun.
This skill streamlines the process of managing internal dependencies within monorepo environments. It automatically detects the active package manager and applies the correct workspace syntax to wire up sibling packages, resolving common 'module not found' errors and TypeScript resolution issues (TS2307). By utilizing native workspace commands instead of manual configuration hacks or fragile path mapping, it ensures that symlinks are correctly established and dependencies are properly declared using the workspace protocol where appropriate.
Key Features
01Automatic detection of npm, yarn, pnpm, and bun environments
02Support for the workspace: protocol in pnpm, yarn, and bun
03Verification of symlink creation in node_modules
04Automated dependency wiring between sibling packages
05Smart resolution of 'Cannot find module' and TS2307 errors
060 GitHub stars
Use Cases
01Initializing internal links after generating a new package in a monorepo
02Adding a shared UI library as a dependency to a web application package
03Fixing broken imports between sibling packages in a multi-package repository