voidzero-dev / voidzero-dev/vite-plus

Consolidated output for recursive commands (like nx run-many)

Offen
#1,167 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @wan9chi Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
5.8k
Forks
262
Ø Merge
1 T. 34 Min.
Gemergte PRs (30 T.)
135

Beschreibung

## Feature Request

### Problem

When running recursive operations (e.g., `vp run-many --target=build` or similar recursive commands across a monorepo), the output currently streams from each package individually. In large monorepos this becomes noisy and hard to follow.

### Proposed Solution

Take inspiration from Nx's `nx run-many --target=build` behavior:

1. **Consolidated progress list** — instead of interleaving stdout from every package, show a live-updating list of tasks with their status (pending, running, success, failed)
2. **Summary at the end** — once all tasks complete, print a clear summary showing:
- Total tasks run
- Successful tasks
- Failed tasks (with their error output)

### Example (Nx reference)

```
✔ @scope/pkg-a — build (1.2s)
✔ @scope/pkg-b — build (0.8s)
✖ @scope/pkg-c — build (2.1s)
✔ @scope/pkg-d — build (0.5s)

——————————————————————————————
Failed tasks:

@scope/pkg-c — build
Error: ...

Summary: 3 succeeded, 1 failed
```

### Why

- Much better DX for monorepos with many packages
- Easier to spot failures without scrolling through walls of output
- Aligns with the consolidated toolchain vision of Vite+

## Screenshots

Image

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.