yarnpkg/yarn

Yarn list doesn't match NPM

Open

#2,846 创建于 2017年3月6日

在 GitHub 查看
 (12 评论) (2 反应) (0 负责人)JavaScript (41,514 star) (2,731 fork)batch import
cat-compatibilityhelp wantedneeds-discussiontriaged

描述

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

What is the current behavior? Doesn't correctly show where a dep is coming from.

Joes-MacBook-Pro:react-scripts joe$ yarn list loader-utils
yarn list v0.21.3
├─ eslint-loader@1.6.3
│  └─ loader-utils@1.0.3
├─ extract-text-webpack-plugin@2.0.0
│  └─ loader-utils@1.0.3
└─ loader-utils@0.2.17

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

Joes-MacBook-Pro:react-scripts joe$ npm ls loader-utils
react-scripts@0.9.3 /Users/joe/Documents/Development/OSS/create-react-app/packages/react-scripts
├─┬ babel-loader@6.3.2
│ └── loader-utils@0.2.17 
├─┬ eslint-loader@1.6.3
│ └── loader-utils@1.0.3 
└─┬ extract-text-webpack-plugin@2.0.0
  └── loader-utils@1.0.3 

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

Joes-MacBook-Pro:react-scripts joe$ node -v
v6.10.0
Joes-MacBook-Pro:react-scripts joe$ npm -v
3.10.10
Joes-MacBook-Pro:react-scripts joe$ yarn --version
0.21.3

贡献者指南