Version: 4.x
pnpm why
Shows the packages that depend on <pkg>
#
Synopsis#
Options#
--recursive, -rPerform command on every package in subdirectories or on every workspace package, when executed inside a workspace.
#
--jsonAdded in: 3.7.0
Show information in JSON format.
#
--longShow extended information.
#
--parseableShow parseable output instead of tree view.
#
--globalList packages in the global install directory instead of in the current project.
#
--prod, -PDisplay only the dependency tree for packages in dependencies
.
#
--dev, -DDisplay only the dependency tree for packages in devDependencies
.