Skip to content

Commit efcb8c2

Browse files
Add tsgo-backed typecheck targets across packages (#3130)
## Summary - Add `tsgo`-based `typecheck` scripts and matching `typecheck:tsc` fallback scripts across the TypeScript packages. - Wire the new `typecheck:tsc` task into Turbo so package-level typecheck checks can run consistently. - Update workspace and lockfile metadata to include `@typescript/native-preview` and the new toolchain wiring. - Remove redundant `baseUrl` settings from package tsconfig files where they are no longer needed. ## Testing - Not run (changes are limited to package scripts, tsconfig wiring, and lockfile updates). - Not run: `pnpm typecheck:tsc` - Not run: `pnpm build` - Not run: package-specific `typecheck` / `typecheck:tsc` commands in `ts/packages/cli`, `ts/packages/core`, `ts/packages/json-schema-to-zod`, and `ts/packages/providers/mastra`.
1 parent 8f56dd8 commit efcb8c2

File tree

13 files changed

+123
-83
lines changed

13 files changed

+123
-83
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"test:e2e:cloudflare": "turbo test:e2e:cloudflare --filter='@e2e-tests/cf-*'",
2727
"test:ui": "vitest --ui",
2828
"typecheck": "turbo typecheck --filter=./ts/packages/**",
29+
"typecheck:tsc": "turbo typecheck:tsc --filter=./ts/packages/**",
2930
"lint": "eslint ts/packages --ext .ts,.tsx",
3031
"lint:packages": "eslint ts/packages --ext .ts,.tsx",
3132
"lint:fix": "eslint . --ext .ts,.tsx --fix",
@@ -55,6 +56,7 @@
5556
"@composio/openai": "workspace:*",
5657
"@types/bun": "^1.3.6",
5758
"@types/node": "^22.15.18",
59+
"@typescript/native-preview": "catalog:",
5860
"@vitest/ui": "^3.1.4",
5961
"eslint": "^9.25.1",
6062
"globals": "^16.0.0",

pnpm-lock.yaml

Lines changed: 98 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ catalog:
3131
'@effect/vitest': ^0.27.0
3232
'@mastra/core': ^1.0.4
3333
'@modelcontextprotocol/sdk': ^1.25.2
34+
'@typescript/native-preview': 7.0.0-dev.20260403.1
3435
ai: ^6.0.27
3536
effect: ^3.19.15
3637
hono: ^4.11.4

0 commit comments

Comments
 (0)