Skip to content

chore: migrate to typescript@7 stable, drop tsgo/native-preview#371

Merged
sam-goodwin merged 1 commit into
mainfrom
claude/typescript-7-stable
Jul 10, 2026
Merged

chore: migrate to typescript@7 stable, drop tsgo/native-preview#371
sam-goodwin merged 1 commit into
mainfrom
claude/typescript-7-stable

Conversation

@sam-goodwin

Copy link
Copy Markdown
Collaborator

TypeScript 7 is stable, so the @typescript/native-preview nightly and the tsgo binary it shipped are obsolete — the native compiler now ships as plain tsc in the typescript package.

 // package.json (catalog + devDependencies)
-"@typescript/native-preview": "7.0.0-dev.20260329.1"
+"typescript": "^7.0.2"

 // every packages/*/package.json
-"typecheck": "tsgo",
-"build": "tsgo -b",
-"check": "tsgo && oxlint src && oxfmt --check src",
+"typecheck": "tsc",
+"build": "tsc -b",
+"check": "tsc && oxlint src && oxfmt --check src",
  • create-sdk.ts scaffolding and AGENTS.md updated to match
  • typescript + its @typescript/typescript-* platform binaries added to bunfig.toml minimumReleaseAgeExcludes (7.0.2 is younger than the 72h gate)
  • the cloudflare generator's parse.ts uses the TypeScript JS compiler API, which the native compiler no longer ships — its TS 5 dependency stays, aliased as typescript-5 so its tsc bin can't shadow the workspace typescript@7

All packages typecheck clean with tsc 7.0.2 (bun run typecheck).

🤖 Generated with Claude Code

- replace @typescript/native-preview catalog/devDep with typescript ^7.0.2
- rewrite package scripts tsgo/tsgo -b -> tsc/tsc -b
- alias cloudflare generator's TS 5 compiler-API dep as typescript-5 so its
  tsc bin cannot shadow typescript@7
- allow typescript + platform packages through bun minimumReleaseAge
- update create-sdk.ts scaffolding and AGENTS.md

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alchemy-version-bot

Copy link
Copy Markdown
Contributor

Install the packages built from this commit:

@distilled.cloud/core

bun add @distilled.cloud/core@https://pkg.distilled.cloud/core/594e91b

@distilled.cloud/aws

bun add @distilled.cloud/aws@https://pkg.distilled.cloud/aws/594e91b

@distilled.cloud/axiom

bun add @distilled.cloud/axiom@https://pkg.distilled.cloud/axiom/594e91b

@distilled.cloud/azure

bun add @distilled.cloud/azure@https://pkg.distilled.cloud/azure/594e91b

@distilled.cloud/cloudflare

bun add @distilled.cloud/cloudflare@https://pkg.distilled.cloud/cloudflare/594e91b

@distilled.cloud/coinbase

bun add @distilled.cloud/coinbase@https://pkg.distilled.cloud/coinbase/594e91b

@distilled.cloud/expo-eas

bun add @distilled.cloud/expo-eas@https://pkg.distilled.cloud/expo-eas/594e91b

@distilled.cloud/fly-io

bun add @distilled.cloud/fly-io@https://pkg.distilled.cloud/fly-io/594e91b

@distilled.cloud/gcp

bun add @distilled.cloud/gcp@https://pkg.distilled.cloud/gcp/594e91b

@distilled.cloud/kubernetes

bun add @distilled.cloud/kubernetes@https://pkg.distilled.cloud/kubernetes/594e91b

@distilled.cloud/mongodb-atlas

bun add @distilled.cloud/mongodb-atlas@https://pkg.distilled.cloud/mongodb-atlas/594e91b

@distilled.cloud/neon

bun add @distilled.cloud/neon@https://pkg.distilled.cloud/neon/594e91b

@distilled.cloud/planetscale

bun add @distilled.cloud/planetscale@https://pkg.distilled.cloud/planetscale/594e91b

@distilled.cloud/posthog

bun add @distilled.cloud/posthog@https://pkg.distilled.cloud/posthog/594e91b

@distilled.cloud/prisma-postgres

bun add @distilled.cloud/prisma-postgres@https://pkg.distilled.cloud/prisma-postgres/594e91b

@distilled.cloud/stripe

bun add @distilled.cloud/stripe@https://pkg.distilled.cloud/stripe/594e91b

@distilled.cloud/supabase

bun add @distilled.cloud/supabase@https://pkg.distilled.cloud/supabase/594e91b

@distilled.cloud/turso

bun add @distilled.cloud/turso@https://pkg.distilled.cloud/turso/594e91b

@distilled.cloud/typesense

bun add @distilled.cloud/typesense@https://pkg.distilled.cloud/typesense/594e91b

@distilled.cloud/workos

bun add @distilled.cloud/workos@https://pkg.distilled.cloud/workos/594e91b

@sam-goodwin sam-goodwin merged commit 5f1606c into main Jul 10, 2026
36 of 44 checks passed
@sam-goodwin sam-goodwin deleted the claude/typescript-7-stable branch July 10, 2026 20:08
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