`vp test --help` omits Vitest 5 CLI options (`--repeats`, `--fsModuleCache`, `--sharedViteServer`, ...)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 75/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- nodejs, typescript
- Área
- cli, developer-experience, documentation
Línea de trabajo
El texto de ayuda está en packages/cli/src/help.ts. Compare las opciones de CLI listadas allí con la cliOptionsConfig del vitest@5.0.1 incluido para identificar opciones faltantes como --repeats y --fsModuleCache. Actualice la lista de ayuda y corrija la descripción de --clearCache. Verifique ejecutando vp test --help y comprobando que aparezcan las nuevas opciones.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
vp test --help prints a static option list (packages/cli/src/help.ts) that has not caught up with Vitest 5. These top-level CLI options defined by the bundled vitest@5.0.1 (cliOptionsConfig) are missing from the help, although vp test forwards them and they work:
--repeats <number>: repeat every test a number of times regardless of the result--injectCjsGlobals--fsModuleCache--fsModuleCachePath <path>--sharedViteServer
Also, the --clearCache description still says it deletes caches "including experimental.fsModuleCache". In Vitest 5 that option is the top-level fsModuleCache.
For example, vp test --repeats 3 runs every test four times as expected, but a user reading vp test --help has no way to discover the flag.
Reproduction
Any Vite+ 1.0.0-rc.0 project with tests.
Steps to reproduce
vp test --help | grep -E 'repeats|fsModuleCache|sharedViteServer|injectCjsGlobals': only the--clearCacheline (with the oldexperimental.name) matches.vp test --repeats 1: the flag is accepted and every test runs twice.
System Info
vite-plus 1.0.0-rc.0 (global and local), bundled vitest 5.0.1
Node.js 24.20.0, pnpm 11.25.0, macOS (darwin arm64)
Used Package Manager
pnpm
Logs
No response
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vitest's own
cliOptionsConfigdefines these options; the gap is in Vite+'s help list). - The provided reproduction is a minimal reproducible example.
- Lenguaje dominante
- Rust
- Estrellas
- 5.8k
- Forks
- 263
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 147
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
-
pending triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
voidzero-dev/vite-plus#2801 · 1 reacción ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
voidzero-dev/vite-plus#2097 · 10 comentarios · 2 reacciones ·
-
documentation
voidzero-dev/vite-plus#2800 · 1 asignado ·
-
pending triage
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
voidzero-dev/vite-plus#2796 · 1 comentario ·
-
pending triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
voidzero-dev/vite-plus#2781 · 2 reacciones ·
Todos los issues de voidzero-dev/vite-plus
Issues similares
-
Replayed reasoning items send "content": null, which the Responses API schema does not permit Abiertobug CLI custom-model
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
fulcrumgenomics/ferro-hgvs#2251 ·
-
Missing examples for `Allocator` AbiertoA-allocators A-docs C-enhancement T-libs
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100