Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

143
Vistas
What do the colors in `yarn list` mean?

When I run yarn list, modules are shown in either white or a faded grey color:

$ 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 colors. What do the colors in yarn list mean?

7 months ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

This has been raised as a GitHub issue. In my perspective, it's a contrast between bold and non-bold rather than a color issue. In a nutshell,

  • 'bold' (white) refers to non-hoisted dependents.
  • The term 'dim'(grey) refers to hoisted child dependencies.

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

7 months ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos