Skip to content

feat: update tsconfig template to prepare for TS 6#15668

Merged
florian-lefebvre merged 18 commits intomainfrom
feat/typescript6
Mar 2, 2026
Merged

feat: update tsconfig template to prepare for TS 6#15668
florian-lefebvre merged 18 commits intomainfrom
feat/typescript6

Conversation

@florian-lefebvre
Copy link
Member

@florian-lefebvre florian-lefebvre commented Feb 26, 2026

Changes

  • https://devblogs.microsoft.com/typescript/announcing-typescript-6-0-beta
  • Updates our packages to work with TS 6 beta (intermediary release to prepare for TS 7). The updates that it requires on our side keep it backward compatible with v5
  • I updated to TS 6 to spot all errors then downgraded to TS 5. It's probably too early to upgrade to v6 in the monorepo
  • Most important change: the base tsconfig now has types: ["node"] and libReplacement: false
  • Removes some unused things in language tools

Testing

Should pass!

Docs

@florian-lefebvre florian-lefebvre self-assigned this Feb 26, 2026
@changeset-bot
Copy link

changeset-bot bot commented Feb 26, 2026

🦋 Changeset detected

Latest commit: 9f30ac4

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

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

@github-actions github-actions bot added pkg: integration Related to any renderer integration (scope) pkg: astro Related to the core `astro` package (scope) labels Feb 26, 2026
@github-actions github-actions bot added the pkg: svelte Related to Svelte (scope) label Feb 26, 2026
@github-actions github-actions bot added pkg: vue Related to Vue (scope) pkg: example Related to an example package (scope) pkg: react Related to React (scope) pkg: preact Related to Preact (scope) pkg: solid Related to Solid (scope) pkg: create-astro Related to the `create-astro` package (scope) labels Feb 26, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Feb 26, 2026

Merging this PR will not alter performance

✅ 18 untouched benchmarks


Comparing feat/typescript6 (9f30ac4) with main (14f37b8)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (6fd3889) during the generation of this report, so 14f37b8 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@florian-lefebvre

This comment was marked as outdated.

@florian-lefebvre florian-lefebvre changed the title feat: typescript 6 feat: update tsconfig template to prepare for TS 6 Feb 27, 2026
@florian-lefebvre florian-lefebvre marked this pull request as ready for review February 27, 2026 08:39
@florian-lefebvre florian-lefebvre merged commit 1118ac4 into main Mar 2, 2026
13 checks passed
@florian-lefebvre florian-lefebvre deleted the feat/typescript6 branch March 2, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope) pkg: create-astro Related to the `create-astro` package (scope) pkg: example Related to an example package (scope) pkg: integration Related to any renderer integration (scope) pkg: preact Related to Preact (scope) pkg: react Related to React (scope) pkg: solid Related to Solid (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants