voidzero-dev / voidzero-dev/vite-plus

Add download progress display to `vp upgrade`

Open
#2,587 0 comments 0 reactions 0 assignees View on GitHub
pending triage
Dominant language
Rust
Stars
5.8k
Forks
261
Avg merge
1d 34m
Merged PRs (30d)
135

Description

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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.