fix: use react-jsx for typecheck (#280)

This commit is contained in:
Brandon Keiji 2025-05-07 19:36:04 +00:00 committed by GitHub
parent 6b3ef9f939
commit 358281f0fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -47,8 +47,7 @@ jobs:
# 6. Type Checking
- name: Run type check
run: npm run typecheck # Or: tsc --noEmit
continue-on-error: true
run: npm run typecheck
# 7. Build
# Optional if your tests run directly on TS files (e.g., using ts-jest, ts-node)

View File

@ -16,7 +16,7 @@
"debug": "NODE_ENV=development DEBUG=1 scripts/start.sh",
"lint:fix": "eslint . --fix",
"lint": "eslint . --ext .ts,.tsx",
"typecheck": "tsc --noEmit --jsx react",
"typecheck": "tsc --noEmit --jsx react-jsx",
"format": "prettier --write .",
"preflight": "npm run format --workspaces --if-present && npm run lint --workspaces --if-present && npm run test --workspaces --if-present",
"auth:npm": "npx google-artifactregistry-auth",