yarnpkg/yarn

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

Open

#3 488 ouverte le 24 mai 2017

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (2 731 forks)batch import
cat-featuregood first issuehelp wantedtriaged

Métriques du dépôt

Stars
 (41 514 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur