Separate `system-first` shims from binary directory
メンテナーはふだん 1 日以内に返信
@liangmiQwQ がすでに取り組んでいます。
2026年9月19日 から。
評価
この issue はまだ評価されていません。
説明
Currently, when users set node/pm management mode to system-first, Vite+ will still create its shim under the bin_dir, which is put at the front of PATH. And then these shims will search node in the rest of PATH.
This confuses users semantically, as which node shows the path to Vite+ binary but it actually runs the . What's more, it causes infinite recursion problem (#2728).
My proposal is to separate system-first shims from the Vite+'s main bin dir. All binaries should be put in a separate directory named like system-first-bin, which should be put at last of PATH, so users can use their system node/pm first, and fall back to Vite+'s tools if they don't have. (Keep the current behavior)
vp env on / vp env off need to refresh the shims and put them at the right places.
Also, all binaries should use Vite+'s own downloaded version. Logic like finding system node / pnpm can be gone.
This proposal essentially is to re-implement the system-first mode by leveraging operating system capabilities. It can also simplify the architecture, improve the performance and reduce confusion.
Not sure whether this brings breaking change, need to confirm whether to implement before RC (cc @fengmk2)
- 主要言語
- Rust
- スター
- 5.8k
- フォーク
- 263
- 平均マージ
- 21時間 13分
- マージ済み PR(30日)
- 146
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
voidzero-dev/vite-plus#2801 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
voidzero-dev/vite-plus#2097 · コメント 10 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
vp run: task output forwarding aborts with EAGAIN when stdout turns non-blocking mid-run (follow-up to #2165)対応中かも @naokihaba が今日担当しました。 オープンbug
voidzero-dev/vite-plus#2824 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
voidzero-dev/vite-plus#2816 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
voidzero-dev/vite-plus#2811 ·
メンテナーはふだん 1 日以内に返信
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
Docs: "Work with Codex from anywhere" page still claims Windows mobile support is "coming soon"オープンapp documentation remote windows-os
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
oxidecomputer/dendrite#380 ·
メンテナーはふだん 5 日以内に返信
-
area:cli bug good first issue priority:high
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信