Allow disabling dlx function globally with vpx
Los mantenedores suelen responder en 1 día
@BlankParticle ya está trabajando en esto.
Desde el 5/10/2026.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 6.6k
- Forks
- 303
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 212
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de voidzero-dev/vite-plus
-
vite:monorepo template declares catalog entries that no workspace package usesPosiblemente ocupada @d4rshnn la tomó hoy. Abiertobug contribution welcome
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
voidzero-dev/vite-plus#3381 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
vp migrate rewrites catalog: specs in a Bun project whose workspaces.packages is emptyPosiblemente ocupada @jong-kyung la tomó hoy. Abiertobug migration
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
voidzero-dev/vite-plus#3375 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
`vp env pin`: says "Created .node-version" when overwriting an existing filePosiblemente ocupada @CheHyeonYeong la tomó hace 2 días. Abiertocontribution welcome documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
voidzero-dev/vite-plus#3370 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
triage: not actionable
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
voidzero-dev/vite-plus#3296 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
pending triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
voidzero-dev/vite-plus#3235 ·
Los mantenedores suelen responder en 1 día
Todos los issues de voidzero-dev/vite-plus
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
WalletConnect/walletconnect-monorepo#7392 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Absenderzeile über dem Anschriftfeld wird bei Angeboten und Rechnungen am Ende abgeschnittenAbiertofehler
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Azure/azure-functions-nodejs-extensions#180 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
laaielichter/Threesmith#28 ·
Los mantenedores suelen responder en 1 día