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]