chore(typescript): move the typescript package to 7.0.2 and drop the native alias - #657
Merged
Merged
Conversation
…native alias Typecheck now runs node_modules/typescript/bin/tsc. The @typescript/native alias is removed (owner ruling 2026-09-24, #635 order 8).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
§11 order 8 now points at the PR that moves typescript to 7.0.2.
This was referenced Sep 24, 2026
Closed
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.
Closes #644
Part of #635 (order 8). Base
preview. Blocked-by order 7 is34bae4cc(PR #656).Edits mapped to やること
chore/typescript-7fromorigin/preview34bae4cc(order 7 merged). Bun 1.4.2 (1.4.2+744846f84) was already installed at/tmp/bun-1.4.2and was prepended toPATH. Global Bun was not upgraded (bun upgradewas not run;~/.bunwas not written). Nodev24.20.0. NoPUBLIC_GA4_MEASUREMENT_ID/PUBLIC_X_PIXEL_ID/PUBLIC_META_PIXEL_ID.package.json:scripts.typecheck:node node_modules/@typescript/native/bin/tsc --noEmit→node node_modules/typescript/bin/tsc --noEmitdevDependencies: deleted"@typescript/native": "npm:typescript@^7.0.2";"typescript": "^6.0.3"→"typescript": "^7.0.2".No other package range changed. No
tsconfig.jsonchange. Commitbb46fe78.bun install(Bun 1.4.2). See Lockfile.src/__tc_probe.tswithexport const probe: number = "not a number";madebun run typecheckexit 1 witherror TS2322. File removed;bun run typecheckexit 0. See Probe.bb46fe78sogit diff --exit-codeis the generated-file check. All exit 0. Results match the dry-run table (typecheck probe bites, then clean; test / build / REQUIRE_BUILT_ARTIFACTS / verify:gates OK; Playwright 356 passed, 26 skipped, 0 failed).bb46fe78:docs/TOOLCHAIN.md§2:typescript(JS package) row is**7.0.2** (native compiler; platform binary via optional deps).typecheck binaryrow is`typescript` **7.0.2** via `node node_modules/typescript/bin/tsc --noEmit` (the `@typescript/native` alias was removed in #635 order 8). §4's historical sentence is unchanged.CHANGELOG.md### Changed:- **typescript 6.0.3 → 7.0.2; @typescript/native alias removed** — typecheck now runs node_modules/typescript/bin/tsc (owner ruling 2026-09-24).docs/TOOLCHAIN.md§11 order 8:— done (#657). Follow-up commit80f7cede.Lockfile
git diff --numstat 34bae4ccfor commitbb46fe78:package.jsonis +2 / −3, matching the dry-run table. The dry-run's "diff = package.json (+2 / −3), bun.lock" did not include the step-6 docs; those are the CHANGELOG and TOOLCHAIN rows above.bun.lockis +2 / −5.bun installwrote it; it was not hand-edited.The hunks are:
"@typescript/native": "npm:typescript@^7.0.2";"typescript": "^6.0.3"→"^7.0.2"."@typescript/native": ["typescript@7.0.2", …](optional platform deps +bin.tsc)."typescript": ["typescript@6.0.3", …]with"typescript": ["typescript@7.0.2", …]carrying those same optional platform deps and the same integrity (sha512-8FYau96o3NK…).binistsconly, as on the old alias entry.bun installlog (Bun 1.4.2, after the range bump):Lockfile greps
Frozen reinstall
node_modules/@typescript/after that install:node_modules/@typescript/nativeis absent.Probe
Not committed.
echo 'export const probe: number = "not a number";' > src/__tc_probe.ts, then:rm src/__tc_probe.ts, then:TS 7.0.2 reported nothing on the real tree that the previous alias path did not. No source change was made to satisfy a new diagnostic.
@typescript/nativegrepStep 5 grep, after the docs in step 6 were already in the tree (commit
bb46fe78):No hit in
package.json,bun.lock,scripts/, orsrc/. The four hits are the CHANGELOG bullet and the §2 sentence this Issue tells us to write, the §4 historical sentence it tells us to leave, and the §11 queue row. Those prescribed sentences contain the string, so the grep cannot be empty without rewriting them. After follow-up80f7cedethe §11 line is the same target text plus— done (#657); it still matches.Verification (Bun 1.4.2+744846f84, Node v24.20.0)
Chain ran on commit
bb46fe78. Each command exit 0.unset PUBLIC_GA4_MEASUREMENT_ID PUBLIC_X_PIXEL_ID PUBLIC_META_PIXEL_IDbefore the chain.bun run testbun run testrunsbuild:datathenbun test. ETL completed (556 occupations).sector.test.tsprints two[og] sectors projection schema mismatchlines. Same pre-existing negative fixtures noted on #656; the run is 1725 pass / 0 fail.bun run buildThe 844 route lines are omitted. CSP hashes unchanged. Lockfile-sync reports 13 deps; order 7 reported 14 because
@typescript/nativewas a separate devDependency.REQUIRE_BUILT_ARTIFACTS=1 bun test scripts/home-css-loading.test.ts src/site/models-built.test.tsbun run verify:gatesbun x playwright test --reporter=linegit diff --exit-codeIssue #644 does not list
vercel inspector a previewcurl. Those commands were not run.CI
gh pr checks 657on head80f7cede:qualityon80f7cede(run 36020374152) is green, including the Run typecheck step (started 15:29:23Z, completed 15:29:24Z, conclusion success). The step log is:No
error TSline. The next step is Build production output. Linux unit tests in that job: 1725 pass / 0 fail.[check-lockfile-sync] OK — 13 deps.qualityon the code commitbb46fe78(run 36020323233) was cancelled when80f7cedewas pushed (concurrencycancel-in-progress). The run that passed is the head run above.The head commit is docs-only (
docs/TOOLCHAIN.md), soscripts/vercel-ignore-build.shskipped that build (exit 0 → skip). The code commitbb46fe78deployed: Vercel statusDeployment has completedat https://vercel.com/zkscio/jobs/EzRWHZsGTNsbXdDJVsE1MiwgPpRT. Branch preview from the Vercel bot comment: https://jobs-git-chore-typescript-7-zkscio.vercel.app.Issue #644 does not list
vercel inspector a previewcurl. Those commands were not run.