Skip to content

[Bug?]: FORCE_COLOR=0 yarn outdated (-_-) #9096

Open
@sparecycles

Description

@sparecycles

Self-service

  • I'd be willing to implement a fix

Describe the bug

FORCE_COLOR=0 turns colors off, but there's no alternate indication of the package statuses.

image

To reproduce

run

FORCE_COLOR=0 yarn outdated

Environment

$ yarn dlx -q envinfo --preset jest
yarn run v1.22.22
error Command "dlx" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Additional context

I wanted to be able to share the yarn outdated output in, e.g., a github comment, but the colors weren't going to translate well via copy-paste.

An html or gfm-targetted output could be useful here? 💡

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions