Skip to content

chore(deps): update typescript to v6#2514

Merged
joshuaellis merged 1 commit into
nextfrom
chore/typescript-v6
May 22, 2026
Merged

chore(deps): update typescript to v6#2514
joshuaellis merged 1 commit into
nextfrom
chore/typescript-v6

Conversation

@joshuaellis
Copy link
Copy Markdown
Member

@joshuaellis joshuaellis commented May 22, 2026

Why

Take the TypeScript 6 upgrade — the blocker on #2491 is gone now that the bundler swap landed. With tsup's baseUrl injection out of the picture, TS 6 (which hard-errors on baseUrl via TS5101) compiles cleanly with no tsconfig workaround in any job, and the test-types matrix '6.0' entry takes the same path as the rest of the matrix.

The vite and next publish-ci fixtures move forward with the same bump — their tsconfigs were written against TS 4.x defaults that TS 6 deprecates, and modernising them to moduleResolution: "bundler" (plus esModuleInterop: true in vite) is closer to what a real Vite/Next consumer would do. The cra5 fixture stays on TS 4.9.5 because react-scripts@5.0.1 declares peerOptional typescript@"^3.2.1 || ^4" and can't accept TS 6 without --legacy-peer-deps; CRA is EOL and that fixture's value is precisely "older CRA consumer still works".

Closes #2491.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-spring Error Error May 22, 2026 12:35pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 22, 2026

⚠️ No Changeset found

Latest commit: 0b99f62

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Base automatically changed from refactor/tsdown-migration to next May 22, 2026 12:05
@joshuaellis joshuaellis force-pushed the chore/typescript-v6 branch from 85360fe to 97509d4 Compare May 22, 2026 12:07
@joshuaellis joshuaellis force-pushed the chore/typescript-v6 branch from 97509d4 to b60c25f Compare May 22, 2026 12:11
@joshuaellis joshuaellis force-pushed the chore/typescript-v6 branch from b60c25f to 81521d6 Compare May 22, 2026 12:24
Bumps root devDependencies.typescript from 5.7.2 → 6.0.3, and the
publish-ci consumer fixtures (cra5, next, vite) from 4.9.5 → 6.0.3.

Stacked on the tsdown migration: tsup's deprecated baseUrl injection is
gone, so TS 6 (which hard-errors on baseUrl) compiles cleanly with no
tsconfig workaround in any job. The test-types matrix '6.0' entry now
takes the same path as the rest of the matrix.

Closes #2491.
@joshuaellis joshuaellis force-pushed the chore/typescript-v6 branch from 81521d6 to 0b99f62 Compare May 22, 2026 12:35
@joshuaellis joshuaellis merged commit ea58a76 into next May 22, 2026
17 of 18 checks passed
@joshuaellis joshuaellis deleted the chore/typescript-v6 branch May 22, 2026 12:39
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