Add download progress display to `vp upgrade`

Open
#2,587 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

pending triage
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
  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.
Dominant language
Rust
Stars
5.8k
Forks
263
Avg merge
1d 3h
Merged PRs (30d)
142

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from voidzero-dev/vite-plus

All issues in voidzero-dev/vite-plus

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.