Unlink Dependencies
This guides explains how to unlink dependencies from all packages in a monorepo.
Usage
To unlink dependencies from all packages in the monorepo, use the following command:
bash
monopkg unlink <package-name...> [options]
bash
bun x monopkg unlink <package-name...> [options]
bash
npx monopkg unlink <package-name...> [options]
bash
yarn dlx monopkg unlink <package-name...> [options]
Options
-f
,--filter
<packages...>
- Include specific packages.-e
,--exclude
<packages...>
- Exclude specific packages.-w
,--workspace
<workspaces...>
- Root workspaces of the packages.
Examples
Basic Usage
Unlink @beerush/utils
from all packages in the monorepo:
bash
monopkg unlink @beerush/utils
bash
bun x monopkg unlink @beerush/utils
bash
npx monopkg unlink @beerush/utils
bash
yarn dlx monopkg unlink @beerush/utils