pnpm check-types only checks 2 of 10 packages, so CI's type gate is mostly empty
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 72/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- typescript, vite
- Domaine
- build-system, ci-cd
Piste de recherche
Start by reading .github/workflows/ci.yml, the root package scripts and turbo.json, then compare the package.json files for the listed apps with genai and @repo/ui. Check each package’s TypeScript project configuration, especially the frontend build setup, before adding the missing checks. Run pnpm run check-types and verify a deliberate type error in http-server or frontend makes it fail.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
CI presents this as the type-safety gate:
# .github/workflows/ci.yml
- name: Type-check
run: pnpm run check-types
But most packages do not define the script, so turbo finds almost nothing to run:
• Packages in scope: @repo/db, @repo/eslint-config, @repo/typescript-config,
@repo/ui, admin, admin-server, frontend, genai,
http-server, ws-server
• Running check-types in 10 packages
Tasks: 2 successful, 2 total
Only genai and @repo/ui have it. frontend, http-server, ws-server, admin, admin-server and @repo/db are all skipped, and turbo exits 0 regardless.
Why it matters
A contributor can break every type in http-server or the whole frontend and CI stays green. The step looks like protection and provides almost none — which is worse than having no step, because reviewers trust it.
What a fix looks like
Add the script to each package that is missing it:
"check-types": "tsc --noEmit"
The frontend builds with tsc -b && vite build, so it may want tsc -b --noEmit or its existing project reference instead — worth checking what that package actually needs rather than pasting the same line everywhere.
You will not inherit a pile of errors. I checked both servers before filing:
apps/http-server tsc --noEmit -> 0 errors
apps/ws-server tsc --noEmit -> 0 errors
So this is additive. If admin or admin-server turn out to have existing errors, say so in the PR rather than fixing them in the same change — those can be their own issue.
Definition of done
pnpm run check-typesreports more than2 total(6+ depending on what you include)- A deliberate type error in
http-serverorfrontendmakes the command fail - CI goes red for that deliberate error, then green once reverted
Good first issue: a few lines of JSON, and it turns a decorative CI step into a real one. Verify it works by breaking a type on purpose before you open the PR.
- Langage dominant
- TypeScript
- Étoiles
- 21
- Forks
- 7
- Merge moyen
- 5 h 35 min
- PR mergées (30 j)
- 33
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TheCodeHeist-Coder/Rexial
-
bug good first issue help wanted UI & UX
Difficulté 1/5 Moins d'une heure Accessibilité débutants 95/100
TheCodeHeist-Coder/Rexial#178 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
A participant's answer is silently lost when their connection dropsPeut-être pris @Blazehue l’a pris il y a 3 jours. Ouvertebug help wanted level2 nsoc26 UI & UX
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
TheCodeHeist-Coder/Rexial#175 · 2 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
bug enhancement good first issue help wanted UI & UX
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
TheCodeHeist-Coder/Rexial#162 ·
Les mainteneurs répondent en général sous 1 jour
-
Critical security: a couple of access control problems in the API and ws-server (details to be shared privately)Peut-être pris @Anshuu2004 l’a pris il y a 5 jours. Ouvertelevel3 nsoc26
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
TheCodeHeist-Coder/Rexial#215 · 3 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement help wanted UI & UX
Difficulté 4/5 3-5 jours Accessibilité débutants 54/100
TheCodeHeist-Coder/Rexial#201 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de TheCodeHeist-Coder/Rexial
Issues similaires
-
Difficulté 2/5 Moins d'une heure Accessibilité débutants 86/100
WilliamSmithEdward/xlide_vscode#1564 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
a2ui-project/a2ui#3809 ·
Les mainteneurs répondent en général sous 2 jours
-
[Bug] A write skipped for exceeding the size limit leaves its finished temp file in the libraryOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Les mainteneurs répondent en général sous 4 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
esphome/device-builder-frontend#2064 ·
Les mainteneurs répondent en général sous 1 jour
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 61/100
lingdojo/kana-dojo#33465 · 1 commentaire · 5 réactions ·
Les mainteneurs répondent en général sous 1 jour