Re-delegate elicited app targets through full CLI resolution
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- node.js, rust, typescript
- Ambito
- build-system, cli, tooling
Direzione di ricerca
Leggi la sezione sull'equivalenza dell'RFC, quindi segui l'elicitation del target e la risoluzione locale di CLI/runtime utilizzata da vp -C <dir> <cmd>. Confrontala con cd <dir> && vp build per un root il cui vite.config.ts imposta defaultPackage. L'attività è completata quando un target elicited risolve nuovamente la propria CLI locale, il runtime Node e PATH prima del dispatch.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Follow-up to #2031, from Codex review round 7. When a bare app command at a root is retargeted by target elicitation (defaultPackage, picker, auto-select), the binding swaps the spawn cwd and PWD for the tool, but the executing local CLI, its Node runtime, and PATH were already resolved for the invocation directory.
Within one workspace this matches the supported single-Vite+-version model and the behavior is correct. The gap is the non-workspace framework shape: a root whose vite.config.ts points defaultPackage at a directory that carries its own vite-plus install or runtime pin (.node-version, devEngines.runtime). There, cd <dir> && vp build resolves that local install and runtime, while vp build at the root elicits inside the CLI chosen at the root (possibly the global bundled one), so versions can skew.
Candidate fix: when elicitation returns a target directory, re-delegate as if the user had run vp -C <dir> <cmd> from the top: the global binary re-runs local-CLI and runtime resolution from the target before dispatching (needs a signal across the NAPI boundary, or the global CLI performing elicitation for the bare-at-root case before choosing the local CLI). The RFC documents the current scoping in the equivalence section.
- Lingua principale
- Rust
- Stelle
- 5.8k
- Fork
- 263
- Merge medio
- 22h 48m
- PR unite (30g)
- 145
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di voidzero-dev/vite-plus
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
voidzero-dev/vite-plus#2804 · 1 reazione ·
-
pending triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
voidzero-dev/vite-plus#2801 · 1 reazione ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
voidzero-dev/vite-plus#2097 · 10 commenti · 2 reazioni ·
-
pending triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
voidzero-dev/vite-plus#2811 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
voidzero-dev/vite-plus#2806 · 1 commento ·
Tutte le issue di voidzero-dev/vite-plus
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
bug good first issue package: quic
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
`dora trace view` sends a non-canonical full UUID as-is, so a valid trace ID shows "No spans found" Apertacli coordinator rust
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
area: tasks enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Jason-jo17/Polybench#15 · 1 commento ·