Fonctionnalité manquante, à comparer avec npm ls once
. Est-ce que yarn why once
le remplace? Si tel est le cas, le graphique de dépendances qu'il montre semble incorrect.
[cpojer: ~/Projects/yarn (master)]$ yarn why once
yarn why v0.14.0
[1/3] 🤔 Why do we have the module "once"...?
[2/3] 🚚 Initialising dependency graph...
[3/3] 🔍 Finding dependency...
info Reasons this module exists
- "node-gyp#glob" depends on it
- "jest#jest-cli#istanbul-api" depends on it
[cpojer: ~/Projects/yarn (master)]$ npm ls once
[email protected] /Users/cpojer/Projects/yarn
├─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
Nous avons yarn ls <package>
maintenant 😃
@torifat génial !!
Pour tous ceux qui viennent ici à la recherche de la commande ls
, yarn list <package>
fonctionne sur v1.9.4
( ls
ne fonctionne pas).
yarn ls <package>
introuvable
❯ yarn ls react
yarn run v1.19.1
error Command "ls" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Commentaire le plus utile
Pour tous ceux qui viennent ici à la recherche de la commande
ls
,yarn list <package>
fonctionne surv1.9.4
(ls
ne fonctionne pas).