Skip to content

build(website): upgrade to TypeScript 7 - #6

Merged
bberka merged 2 commits into
masterfrom
chore/typescript-7
Oct 11, 2026
Merged

bberka merged 2 commits into
masterfrom
chore/typescript-7

Conversation

@bberka

@bberka bberka commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Supersedes #2 and #5.

  • astro check does not support TypeScript 7 (peer range is 5 or 6; Astro itself says so). Astro's replacement is @astrojs/ts-content-mapper, which type-checks .astro files through tsc and needs TypeScript 7.1+.
  • typescript is pinned to the 7.1 dev build (7.1.0-dev.20261011.1) until 7.1 is stable; then change the pin to ^7.1.0.
  • npm run check = tsc --noEmit --runExternalCode. Checked that it fails on a deliberate type error in an .astro file. npm run build = check + astro build.
  • Other dependencies: NuGet packages, Actions pins and nfpm are all already at the latest stable release.

@bberka
bberka merged commit 7ef391b into master Oct 11, 2026
3 checks passed
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