Skip to content

Hide succeeded tasks from the output of lerna run #4237

@sparten11740

Description

@sparten11740

Description

We have a large monorepo of about ~300 packages. When a task fails for a package in the CI (Github Actions), e.g. a test, it takes forever to load/scroll to the failed package in the command output even though the log output of succeeded packages is collapsed.

It would be helpful to have a CLI flag or config option to reduce the command output to a bare minimum (e.g succeeded tasks hidden, not even an indication of success such as ✔ @scope/my-package) and only show output for failed tasks.

Motivation

The proposed feature makes it easier to quickly navigate to issues in CI runs of large monorepos.

Suggested Implementation

This could either be a config flag to suppress log output or a more flexible extension point e.g. by supporting custom reporters.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions