Skip to content

chore: upgrade to TypeScript 7 - #13163

Draft
satya164 wants to merge 1 commit into
mainfrom
@satya164/typescript-7
Draft

chore: upgrade to TypeScript 7#13163
satya164 wants to merge 1 commit into
mainfrom
@satya164/typescript-7

Conversation

@satya164

Copy link
Copy Markdown
Member

No description provided.

@socket-security

socket-security Bot commented Jun 18, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​typescript/​typescript6@​6.0.1621005588100
Addedtypescript@​7.0.2991008996100

View full report

@satya164
satya164 force-pushed the @satya164/typescript-7 branch from ffcf48e to 8bfbba7 Compare June 18, 2026 17:44
@satya164
satya164 force-pushed the @satya164/typescript-7 branch from 8bfbba7 to 3b9dd97 Compare June 18, 2026 18:16
Base automatically changed from @satya164/pnpm to main June 18, 2026 19:27
@satya164
satya164 force-pushed the @satya164/typescript-7 branch from 3b9dd97 to c3db4a4 Compare June 18, 2026 19:28
@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Deploy Preview for react-navigation-example ready!

Name Link
🔨 Latest commit f1cea33
🔍 Latest deploy log https://app.netlify.com/projects/react-navigation-example/deploys/6a4ec7d3c8c30400080719ba
😎 Deploy Preview https://deploy-preview-13163--react-navigation-example.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown

TypeScript performance impact

Baseline: origin/main (c5e7cd3)
Current: a293a88 (a293a88)
Runs: 5

tsc type-check

Metric Baseline Current Δ
Types 501,970 913,511 +82.0%
Instantiations 2,526,780 3,398,794 +34.5%
Memory 1,094 MB 999 MB -8.7%
Check time 17.95 s 5.43 s -69.8%
Total time 20.46 s 6.25 s -69.5%

tsserver latency

Operation Baseline Current Δ
Open + first check 9.51 s 9.64 s +1.4%
Hover 17.4 ms 16.4 ms -5.7%
Completion 11.4 ms 10.9 ms -4.8%
Re-check after edit 8.21 s 8.03 s -2.2%

@satya164
satya164 force-pushed the @satya164/typescript-7 branch from c3db4a4 to c6f34bc Compare June 20, 2026 18:11
@satya164
satya164 force-pushed the @satya164/typescript-7 branch from c6f34bc to f1cea33 Compare July 8, 2026 21:57
dnbrwstr pushed a commit to tloncorp/tlon-apps that referenced this pull request Jul 20, 2026
Upgrade the workspace to TypeScript 7 (the native `tsgo` compiler) and
replace the legacy-TS-API build tooling that TS 7 no longer supports.

- Bump the `typescript` override to 7.0.2 (native compiler).
- Migrate tsconfigs off removed options (`baseUrl`, `downlevelIteration`,
  `moduleResolution: node`); make `paths` relative; add `skipLibCheck` to
  the desktop solution config so `tsc -b` honors it.
- Fix genuine TS-7 stricter-checker errors across app/mobile/ui/editor/web/
  desktop (FlashList generics, query-fn nullability, component-prop
  constraints, null/undefined variance, IPC param typing, etc.).
- Quarantine react-navigation's not-yet-TS7-compatible types behind
  self-cleaning `@ts-expect-error` (56 sites) pending
  react-navigation/react-navigation#13163.

- Lint: ESLint + typescript-eslint -> oxlint. Custom `no-restricted-syntax`
  guards (TLON-5598 navigate/pop, getToken, Stack onPress, CommonActions.reset)
  and the api/shared import boundaries are ported to a local oxlint JS plugin
  (`oxlint/tlon-plugin.cjs`) via `jsPlugins`.
- Format: Prettier -> oxfmt (config migrated; scoped to code files).
- Build: `packages/api` tsup -> tsdown with `dts: { tsgo: true }`.
- Patch `@tamagui/build` to guard `ts.sys` so `--skip-types` works under TS 7.

CI (`ci.yml`) format step now runs `oxfmt`; lint/typecheck commands unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant