yarnpkg/yarn

Feature request: Add who requested package from original dependencies in verbose

Open

#3488 opened on May 24, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (41,514 stars) (2,731 forks)batch import
cat-featuregood first issuehelp wantedtriaged

Description

doing yarn install --verbose outputs a lot of output similar to:

verbose 21.201 Request "https://registry.yarnpkg.com/is-windows" finished with status code 200.
verbose 21.201 Performing "GET" request to "https://registry.yarnpkg.com/is-buffer".

I have a package that is misbehaving, but I don't have it in my package.json. It makes yarn install fail. It would be super useful to have a "breadcrumb" text added to the verbose output to indicate the chain of package.json's that lead to the download of the eventual package.

something akin to:

my.package > a.dependency.i.have > a.dependency.he.has > misbehaving.package.

Contributor guide