当前位置: 首页 > 文档资料 > Yarn 中文文档 >

yarn why

优质
小牛编辑
134浏览
2023-12-01

Show information about why a package is installed.

yarn why <query>

This command will identify why a package has been installed, detailing which other packages depend upon it, for example, or whether it was explicitly marked as a dependency in the package.json manifest.

yarn why jest
yarn why vx.x.x
[1/4]