chore(deps): drop @typescript/native-preview in favor of typescript 7 native tsc

TypeScript 7's own tsc is the Go-native compiler, so the separate tsgo
binary from the dev-preview package is redundant. yarn type-check now
runs tsc --noEmit. Bump tsconfig target to ES2018 and add types: [node]
to fix the pre-existing NodeJS namespace, global, and /s regex flag
errors that stable tsc reports but tsgo did not.
This commit is contained in:
Tommaso Casaburi
2026-07-09 15:17:35 +07:00
parent 217fccf2d6
commit ece58da78b
6 changed files with 7 additions and 89 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ Run before merge/rollout. All must pass.
| `yarn test` | Unit tests (Vitest) | Exit 0 = pass. Fix failing tests before merge. |
| `yarn build` | Production build | Exit 0 = pass. No build errors. |
| `yarn lint` | Lint (oxlint) | Exit 0 = pass. Fix lint errors. |
| `yarn type-check` | TypeScript (tsgo) | Exit 0 = pass. Fix type errors. |
| `yarn type-check` | TypeScript (tsc) | Exit 0 = pass. Fix type errors. |
| `yarn doctor` | React Doctor | Advisory. Prioritize `error` > `warning`. |
**Quick run (all quality gates):**