invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.19k stars 207 forks source link

request: Display colors of exec command with melos #473

Open patou opened 1 year ago

patou commented 1 year ago

Is there an existing feature request for this?

Command

No response

Description

When melos exec command from a melos run script, the ouput of command is printed without formating instead the melos output use formating (colors on the terms)

In this picture, the flutter test display +1 in green, but when exec with melos, there are no color

image

If I run the command :

melos exec -- flutter format

The formating of the output use colors

image

But if I use the melos run script :

  format:
    exec: dart format .
    description: Run `Flutter format`

The output of the command not use any formatting and colors :

image

Reasoning

It's more readable to see result with formatting and colors.

Additional context and comments

No response

RobertBrunhage commented 1 year ago

This also heavily impacts the visual simplicity/readability of using spec from https://github.com/invertase/spec as none of the colors work which makes it quite hard to read.