voidzero-dev / voidzero-dev/vite-plus

Add download progress display to `vp upgrade`

Offen
#2,587 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
pending triage
Vorherrschende Sprache
Rust
Sterne
5.8k
Forks
261
Ø Merge
1 T. 34 Min.
Gemergte PRs (30 T.)
135

Beschreibung

### Description

Unlike installing package managers and runtimes, `vp upgrade` does not display a download progress in the terminal. so in slow wi-fi, it seems freeze.

### Suggested solution

add download progress like runtime installer.

### Alternative

_No response_

### Additional context

current log:
```
> vp upgrade
info: checking for updates...
info: found vite-plus@0.3.0 (current: 0.2.9)
info: downloading vite-plus@0.3.0 for win32-x64-msvc...
info: installing...

✓ Updated vite-plus from 0.2.9 → 0.3.0

Release notes: https://github.com/voidzero-dev/vite-plus/releases/tag/v0.3.0
```

### Validations

- [x] Read the [Contributing Guidelines](https://github.com/voidzero-dev/vite-plus/blob/main/CONTRIBUTING.md).
- [x] Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
- [x] Check that there isn't already an issue requesting the same feature.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start at the `vp upgrade` command and compare its download flow with the runtime installer, which already displays progress. Trace the existing update log from checking for updates through downloading and installation. Done means a slow download visibly reports progress in the terminal without changing the final upgrade behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
cli
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
68/100

Neue Issues direkt in Ihr Postfach

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