_-prefixed packages have tests but no test script, so yarn test-packages skips them
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- node.js, typescript
- Área
- build-system, ci-cd, testing-qa
Línea de trabajo
Compare the package.json files in packages/_annotated-json, packages/_mapped-string, packages/_tidyverse-errors, and packages/_json-validator with their published siblings. Check the Node version in .nvmrc and the CI workflow at .github/workflows/test.yaml, then run yarn test-packages. Done means the intended tests run and pass, with the unused _json-validator package's fate decided based on its imports.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Bug
These workspaces have tests (test/basic.test.ts) but no scripts at all in their package.json:
packages/_annotated-jsonpackages/_mapped-stringpackages/_tidyverse-errorspackages/_json-validator
yarn test-packages runs turbo run test --filter='./packages/*', which only runs workspaces that define a test script, so these tests are silently skipped locally and in CI (.github/workflows/test.yaml). The _-prefixed packages are what the shipped extension actually uses. Their published, non-prefixed siblings (packages/annotated-json, etc.) do have "test": "node --import tsx --test test/*.test.ts".
Fix
Add the same test script to each _ package, and make sure tsx is declared as a devDependency (it is in the plan's inventory). Then run yarn test-packages and fix any tests that fail after going unrun for a while.
Note that node --import tsx needs Node ≥18.18/20.6. .nvmrc currently pins 18.12.1, which can't run it (the Node 24 bump in the upgrade plan fixes that). CI uses node-version: latest, so it works there.
Separately, _json-validator isn't imported anywhere. Consider deleting it rather than wiring up its tests.
Found during the dependency-upgrade research.
- Lenguaje dominante
- TypeScript
- Estrellas
- 652
- Forks
- 64
- Merge medio
- 8 h 45 min
- PR fusionados (30 d)
- 36
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 quarto-dev/quarto
-
VS Code extension: `quarto preview` fails when the file path contains parentheses (path not shell-quoted)Posiblemente ocupada @Bondrewd-K la tomó hace 3 días. Abiertobug vscode
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
quarto-dev/quarto#1194 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
quarto-dev/quarto#1139 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
quarto-dev/quarto#1138 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
quarto-dev/quarto#1137 ·
Los mantenedores suelen responder en 1 día
-
Add dependabot?Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
quarto-dev/quarto#1135 ·
Los mantenedores suelen responder en 1 día
Todos los issues de quarto-dev/quarto
Issues similares
-
area:security documentation effort:S priority:P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
app:web meta:ops
Dificultad 2/5 Medio día Aptitud para principiantes 78/100
osu-tournament-rating/otr#1113 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
typegoose/mongodb-memory-server#1040 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100