yarnpkg/yarn

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

Open

#3488 aperta il 24 mag 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (2731 fork)batch import
cat-featuregood first issuehelp wantedtriaged

Metriche repository

Star
 (41.514 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor