fix: use react-jsx for typecheck (#280)
This commit is contained in:
parent
6b3ef9f939
commit
358281f0fd
|
@ -47,8 +47,7 @@ jobs:
|
||||||
|
|
||||||
# 6. Type Checking
|
# 6. Type Checking
|
||||||
- name: Run type check
|
- name: Run type check
|
||||||
run: npm run typecheck # Or: tsc --noEmit
|
run: npm run typecheck
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
# 7. Build
|
# 7. Build
|
||||||
# Optional if your tests run directly on TS files (e.g., using ts-jest, ts-node)
|
# Optional if your tests run directly on TS files (e.g., using ts-jest, ts-node)
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
"debug": "NODE_ENV=development DEBUG=1 scripts/start.sh",
|
"debug": "NODE_ENV=development DEBUG=1 scripts/start.sh",
|
||||||
"lint:fix": "eslint . --fix",
|
"lint:fix": "eslint . --fix",
|
||||||
"lint": "eslint . --ext .ts,.tsx",
|
"lint": "eslint . --ext .ts,.tsx",
|
||||||
"typecheck": "tsc --noEmit --jsx react",
|
"typecheck": "tsc --noEmit --jsx react-jsx",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"preflight": "npm run format --workspaces --if-present && npm run lint --workspaces --if-present && npm run test --workspaces --if-present",
|
"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",
|
"auth:npm": "npx google-artifactregistry-auth",
|
||||||
|
|
Loading…
Reference in New Issue