voidzero-dev / voidzero-dev/vite-plus

Add download progress display to `vp upgrade`

オープン
#2,587 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
pending triage
主要言語
Rust
スター
5.8k
フォーク
262
平均マージ
23時間 41分
マージ済み PR(30日)
138

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

`vp upgrade` コマンドから始め、すでに進捗を表示しているランタイムインストーラーとダウンロードフローを比較します。更新の確認からダウンロード、インストールまで、既存の更新ログを追跡します。低速なダウンロードの進捗がターミナルに表示され、最終的なアップグレードの動作を変更しないことが完了の条件です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
68/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。