Yarn: Enhance `why` to show the reverse dependency tree

Created on 25 Aug 2017  路  5Comments  路  Source: yarnpkg/yarn

Do you want to request a feature or report a bug?

feature

What is the current behavior?

if I want to know why a package is installed, I can ask using yarn why. But this command only goes one step and tells me which packages require this one.

What is the expected behavior?

I would like that yarn why goes to the bottom of the reverse dependency tree (dependent packages) and tell me which packages in package.json are responsible for an installed package.

Please mention your node.js, yarn and operating system version.

> node --version ; yarn --version
v6.11.2
0.27.5

Fedora 25.

cat-feature

Most helpful comment

I started working on this feature, a PR will come soon.

All 5 comments

Hey @DamienCassou, I think this is a good idea! Would you like to try implementing it yourself?

I started working on this feature, a PR will come soon.

Feature request posted, waiting for approval. https://github.com/yarnpkg/rfcs/pull/95

@BYK , can you have a look into the RFCS?

wondering if there was any progress on the implementation of the RFC

Was this page helpful?
0 / 5 - 0 ratings