mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
fix: use react-jsx for typecheck (#280)
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -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)
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user