Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .mise/tasks/typecheck/backend
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env sh
#MISE description="Typecheck the backend with tsc"
# The backend imports @jack/schemas, whose sources are generated and gitignored —
# without this, a fresh checkout fails with "Cannot find module '@jack/schemas/...'".
# `clients:generate` rather than `clients`: it skips the clean, so it's idempotent
# and cheap to repeat on every typecheck.
#MISE depends=["clients:generate"]

bunx tsc --project apps/backend/tsconfig.json --noEmit --pretty false
4 changes: 4 additions & 0 deletions .mise/tasks/typecheck/workspace
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env sh
#MISE description="Typecheck non-Vue workspace files with tsc"
# packages/schemas re-exports the generated (gitignored) clients, so they have to
# exist before tsc runs over the workspace. `clients:generate` skips the clean that
# `clients` does, so repeating it on every typecheck is cheap.
#MISE depends=["clients:generate"]

bunx tsc --project tsconfig.json --noEmit --pretty false