pnpm why <Scripts...>
Shows all packages that depend on the specified package
Arguments
Options
Name | Description |
---|
--recursive, -r | Show the dependency tree for the specified package on every package in subdirectories or on every workspace package when executed inside a workspace |
--json | Log output in JSON format |
--long | Show verbose output |
--parseable | Show parseable output instead of tree view |
--global | List packages in the global install directory instead of in the current project |
--dev, -D | Only display the dependency tree for packages in devDependencies |
--prod, -P | Only display the dependency tree for packages in dependencies |
--filter <Filepath / Package> | Filtering allows you to restrict commands to specific subsets of packages.
pnpm supports a rich selector syntax for picking packages by name or by relation.
More details: https://pnpm.io/filtering |