chore: update TypeScript configuration and scripts (#9792)

- Added support for TypeScript incremental builds by enabling the `incremental` option and specifying the `tsBuildInfoFile` in both `tsconfig.node.json` and `tsconfig.web.json`.
- Updated the `typecheck` script in `package.json` to use `concurrently` for running node and web type checks in parallel.
- Added `.tsbuildinfo` to `.gitignore` to prevent build info files from being tracked.
This commit is contained in:
beyondkmp
2025-09-02 16:21:09 +08:00
committed by GitHub
parent 2c0391da81
commit d6dcb471f9
4 changed files with 9 additions and 1 deletions
+2
View File
@@ -12,6 +12,8 @@
],
"compilerOptions": {
"composite": true,
"incremental": true,
"tsBuildInfoFile": ".tsbuildinfo/tsconfig.web.tsbuildinfo",
"jsx": "react-jsx",
"baseUrl": ".",
"moduleResolution": "bundler",