Skip to content

fix(tooling): make just typecheck check each workspace#33

Closed
eouzoe wants to merge 1 commit into
mainfrom
pr/typecheck-workspaces
Closed

fix(tooling): make just typecheck check each workspace#33
eouzoe wants to merge 1 commit into
mainfrom
pr/typecheck-workspaces

Conversation

@eouzoe

@eouzoe eouzoe commented Jul 16, 2026

Copy link
Copy Markdown
Owner

修改了什麼

Justfiletypecheck recipe 從 tsc --noEmit(根目錄)改為逐 workspace 檢查:apps/backendapps/frontendpackages/shared

為什麼要修改

專案根目錄沒有 tsconfig.json,原本的 tsc --noEmit 在根目錄跑會報錯或跳過實際程式碼,型別檢查實質失效。

功能

  • 依序對三個 workspace 執行 tsc --noEmit -p <dir>,任一失敗即 exit 1

涉及檔案

  • Justfile(typecheck recipe,2 行變更)

影響

  • 僅改變型別檢查的執行方式,不影響其他 recipe。
  • 已在本地以 tsc --noEmit -p apps/backend 驗證 backend 可通過。

參考文件 / 依據

  • monorepo 結構:apps/backendapps/frontendpackages/shared 各含獨立 tsconfig.json

測試

  • backend workspace tsc --noEmit -p . 通過。

@eouzoe eouzoe closed this Jul 16, 2026
@eouzoe
eouzoe deleted the pr/typecheck-workspaces branch July 16, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant