chore: migrate to typescript@7 stable, remove tsgo/native-preview#804
Merged
Conversation
- bump catalog typescript ^7.0.1-rc -> ^7.0.2 - remove @typescript/native-preview and the link-native-preview-tsgo.mjs editor shim; effect-tsgo patch now targets the workspace typescript@7 install directly (pinned 0.16.0: newer releases are still inside bun's minimumReleaseAge window and their platform binaries fail to resolve) - point .vscode at node_modules/typescript/lib and drop the native-preview extension recommendation - bump distilled submodule (same migration on the distilled side) - reword tsgo comments to tsc Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
Install the packages built from this commit: alchemy bun add alchemy@https://pkg.ing/alchemy/5ab6a39@alchemy.run/better-auth bun add @alchemy.run/better-auth@https://pkg.ing/@alchemy.run/better-auth/5ab6a39@alchemy.run/pr-package bun add @alchemy.run/pr-package@https://pkg.ing/@alchemy.run/pr-package/5ab6a39 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TypeScript 7 is stable, so the
@typescript/native-previewnightly and all thetsgomachinery around it are obsolete — the native compiler now ships as plaintscin thetypescriptpackage.@effect/tsgostays (bumped): it is the Effect language service for the native compiler, and since 0.15effect-tsgo patchpatches the workspacetypescript@7install directly. Pinned to0.16.0because newer releases are still inside bun's 72hminimumReleaseAgewindow and their platform binaries fail to resolve as transitive optional deps — bump once they age out.scripts/link-native-preview-tsgo.mjsdeleted: it existed only so the "TypeScript (Native Preview)" VS Code extension could find the hoisted nightly binary..vscodenow pointstypescript.tsdkatnode_modules/typescript/lib, and the extension recommendation is removed.@typescript/native-preview-*entries dropped frombunfig.tomlexcludes; stale lock entries pruned.tsgo→tscintsconfig.json,Providers.ts,RpcServer.test.ts,release.yml.distilledsubmodule to the same migration on its side (chore: migrate to typescript@7 stable, drop tsgo/native-preview distilled#371).bun tsc -bpasses clean across the workspace withtsc7.0.2, andeffect-tsgo patchverified against the stable package on a fresh install.🤖 Generated with Claude Code