Skip to content

chore(deps): migrate TypeScript to v7 - #384

Merged
agustinespildora merged 1 commit into
mainfrom
feat/agus/typescript-7
Aug 6, 2026
Merged

chore(deps): migrate TypeScript to v7#384
agustinespildora merged 1 commit into
mainfrom
feat/agus/typescript-7

Conversation

@agustinespildora

@agustinespildora agustinespildora commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump typescript from 5.9.3 to 7.0.2.
  • Add @typescript/typescript6 so vite-plugin-dts / unplugin-dts keep the JS Compiler API that TS7 no longer ships (same pattern as banners.js#201).
  • Bump vite-plugin-dts 5.0.05.0.3 (what Pablo meant by updating Vite plugins for TS7 compatibility).
  • Remove baseUrl / empty paths from tsconfig.json (hard errors in TS7).
  • Add scrollMargin to the IntersectionObserver test mock for updated DOM typings.

Dev-only changes. Built dist/ artifacts (bundles + .d.ts) are byte-identical to the TS 5.9 baseline.

Test plan

  • pnpm run types:check
  • pnpm run build (es/umd + iife; shas match pre-upgrade)
  • pnpm test (47/47)
  • pnpm run lint

Bump typescript 5.9.3 → 7.0.2, add @typescript/typescript6 so
vite-plugin-dts can keep using the JS Compiler API, and bump
vite-plugin-dts to 5.0.3. Drop removed tsconfig options (baseUrl,
empty paths). Update IntersectionObserver test mock for newer DOM
typings (scrollMargin).

Co-authored-by: Cursor <cursoragent@cursor.com>
@agustinespildora
agustinespildora marked this pull request as ready for review August 6, 2026 13:36
@agustinespildora
agustinespildora requested a review from a team as a code owner August 6, 2026 13:36
@agustinespildora
agustinespildora merged commit 1bbcdbd into main Aug 6, 2026
7 checks passed
@agustinespildora
agustinespildora deleted the feat/agus/typescript-7 branch August 6, 2026 13:42
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.

4 participants