Skip to content

feat: switch typecheck to tsgo (native TypeScript) - #151

Merged
RhysSullivan merged 2 commits into
mainfrom
feat/tsgo-typecheck
Apr 10, 2026
Merged

feat: switch typecheck to tsgo (native TypeScript)#151
RhysSullivan merged 2 commits into
mainfrom
feat/tsgo-typecheck

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

Summary

  • Replaces tsc with tsgo (@typescript/native-preview) for typechecking across all 27 workspace packages
  • typecheck:slow falls back to tsc --noEmit everywhere
  • Desktop app: updated tsconfig to module: "NodeNext" for tsgo compat, added tsconfig.build.json with module: "CommonJS" for Electron emit
  • storage-postgres: added types: ["node"] to tsconfig (tsgo is stricter about implicit node types)
  • Adds typecheck:slow turbo task

Test plan

  • bun run typecheck passes all 27 packages (~7.5s)
  • bun run typecheck:slow still works as fallback
  • Desktop build script still emits CJS correctly

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
executor-marketing b2cb147 Apr 10 2026, 08:10 AM

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
executor-cloud b2cb147 Apr 10 2026, 08:10 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 10, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing dde3db1 Commit Preview URL

Branch Preview URL
Apr 10 2026, 08:16 AM

Replace tsc with tsgo (@typescript/native-preview) for typechecking
across all 27 workspace packages. Old tsc is still available via
`typecheck:slow`. Desktop app gets a separate tsconfig.build.json
for CJS emit since tsgo dropped moduleResolution node10.
@RhysSullivan
RhysSullivan merged commit 38f46e6 into main Apr 10, 2026
2 checks passed
RhysSullivan added a commit that referenced this pull request May 31, 2026
* feat: switch typecheck to tsgo (native TypeScript)

Replace tsc with tsgo (@typescript/native-preview) for typechecking
across all 27 workspace packages. Old tsc is still available via
`typecheck:slow`. Desktop app gets a separate tsconfig.build.json
for CJS emit since tsgo dropped moduleResolution node10.

* style: format
@RhysSullivan
RhysSullivan deleted the feat/tsgo-typecheck branch June 11, 2026 08:01
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