mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
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:
@@ -262,7 +262,7 @@ When CodeGraph MCP tools are available and `.codegraph/` exists, prefer them for
|
||||
- yarn
|
||||
- oxlint
|
||||
- oxfmt
|
||||
- tsgo
|
||||
- tsc (TypeScript 7 native compiler)
|
||||
|
||||
## Project Structure
|
||||
|
||||
@@ -1262,7 +1262,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):**
|
||||
|
||||
Reference in New Issue
Block a user