`yarn list`中的颜色是什么意思?

What do the colors in `yarn list` mean?

当我 运行 yarn list 时,模块显示为白色或褪色的灰色:

$ yarn list --pattern '@mycompany/foo-api'
yarn list v1.19.0
├─ WHITE @mycompany/some-module@1.0.0
│  └─ WHITE @mycompany/foo-api@1.0.17
└─ GREY @mycompany/foo-api@1.0.15
Done in 0.72s.

There is no documentation on the colorsyarn list 中的颜色是什么意思?

这已作为 GitHub issue 提出。在我看来,这是粗体和 non-bold 之间的对比,而不是颜色问题。简而言之,

  • 'bold'(白)指non-hoisted家属
  • 术语 'dim'(灰色)指的是提升的子依赖项。

Need documentation of what does the color mean in yarn list output