voidzero-dev / voidzero-dev/vite-plus

Add download progress display to `vp upgrade`

Aperta
#2,587 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
pending triage
Lingua principale
Rust
Stelle
5.8k
Fork
261
Merge medio
1g 34m
PR unite (30g)
135

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
68/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.