Allow disabling dlx function globally with vpx
I maintainer di solito rispondono entro 1 giorno
@BlankParticle ci sta già lavorando.
Dal 5/10/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by locating the vpx binary-resolution path in the CLI crate — the point where a missing local binary falls back to downloading from npm and executing. The config schema needs the new vpxDlxBehaviour option (allow/ask/deny), with non-interactive environments treating ask as deny, while vp dlx keeps its current behaviour. Read CONTRIBUTING.md for build and test steps; done means vpx cowsay prints the suggested message under deny and existing dlx tests still pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
Basically same as what Nub does https://x.com/colinhacks/status/2099827579817779683
When the config is set, if the current project doesn't have the bin installed and the user tries to do vpx <something>, don't try to download it from npm and execute
Suggested solution
there can be option like vpxDlxBehaviour = allow(default) | ask | deny which will figure out what needs to be done when vpx is invoked with a not installed package, in non interactive envs like for agents, ask will deny, vp dlx will still work, but its a more conscious choice which is saying download and execute this from npm
$ vpx cowsay
`cowsay` is not a installed binary in this project, if you meant to execute `cowsay` from npm, use `vp dlx cowsay`
Alternative
Hope you don't typo the package name or use the wrong binary name,
I have done it most with typescript, where I don't have typescript installed, I try to do vpx tsc which resolves to tsc on npm (which is a placeholder that warns about this exact thing)
Additional context
No response
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.
- Lingua principale
- TypeScript
- Stelle
- 6.6k
- Fork
- 303
- Merge medio
- 1g 5h
- PR unite (30g)
- 212
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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
-
vite:monorepo template declares catalog entries that no workspace package usesForse già presa @d4rshnn l’ha presa oggi. Apertabug contribution welcome
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
voidzero-dev/vite-plus#3381 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
vp migrate rewrites catalog: specs in a Bun project whose workspaces.packages is emptyForse già presa @jong-kyung l’ha presa oggi. Apertabug migration
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
voidzero-dev/vite-plus#3375 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
`vp env pin`: says "Created .node-version" when overwriting an existing fileForse già presa @CheHyeonYeong l’ha presa 2 giorni fa. Apertacontribution welcome documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
voidzero-dev/vite-plus#3370 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
triage: not actionable
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
voidzero-dev/vite-plus#3296 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
pending triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
voidzero-dev/vite-plus#3235 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di voidzero-dev/vite-plus
Issue simili
-
fehler
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Azure/azure-functions-nodejs-extensions#180 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
laaielichter/Threesmith#28 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 2 giorni
-
iso-bmff: add IsoBoxReadView.readUint64 and IsoBoxWriteView.writeUint64 for exact 64-bit fieldsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
streaming-video-technology-alliance/common-media-library#611 ·
I maintainer di solito rispondono entro 1 giorno