pnpm check-types only checks 2 of 10 packages, so CI's type gate is mostly empty
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript, vite
- Lĩnh vực
- build-system, ci-cd
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 21
- Fork
- 7
- Merge trung bình
- 5 giờ 6 phút
- Pull request đã merge (30 ngày)
- 29
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TheCodeHeist-Coder/Rexial
-
bug good first issue help wanted UI & UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
TheCodeHeist-Coder/Rexial#205 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The join endpoint returns an error shape the frontend cannot readCó thể đã có người làm @Anshuu2004 đã nhận 4 ngày trước. Đang mởBackend first issue bug good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
TheCodeHeist-Coder/Rexial#192 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue help wanted UI & UX
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
TheCodeHeist-Coder/Rexial#178 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted UI & UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
TheCodeHeist-Coder/Rexial#175 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug enhancement good first issue help wanted UI & UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
TheCodeHeist-Coder/Rexial#162 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TheCodeHeist-Coder/Rexial
Issue tương tự
-
[Bug]: Pen taps on sidebar rows start a drag and lose their clickCó thể đã có người làm @makhnatkin đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
b310-digital/teammapper#1515 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
puckeditor/puck#1884 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
outline/outline#14378 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nicobailon/pi-web-access#642 ·
Maintainer thường phản hồi trong vòng 1 ngày