pnpm why
Shows all packages that depend on the specified package.
#
Options#
--recursive, -rShow the dependency tree for the specified package 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 verbose output.
#
--parseableShow parseable output instead of tree view.
#
--globalList packages in the global install directory instead of in the current project.
#
--prod, -POnly display the dependency tree for packages in dependencies
.
#
--dev, -DOnly display the dependency tree for packages in devDependencies
.