Skip to content

chore: upgrade types/node and typescript to v6 - #32

Merged
kahlstrm merged 2 commits into
mainfrom
chore/types-node-ts6
Aug 2, 2026
Merged

kahlstrm merged 2 commits into
mainfrom
chore/types-node-ts6

Conversation

@kahlstrm

@kahlstrm kahlstrm commented Aug 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • @types/node 20.5.0 -> 24.13.3 — the latest of the 24.x line, matching the Node version in mise.toml
  • typescript 5.9.3 -> 6.0.3

Batched because both touch only package.json/pnpm-lock.yaml, and separate PRs would just conflict.

Why not @types/node 26

@types/node majors track Node majors. 26.x describes APIs that do not exist in Node 24, so
code would type-check and then fail at runtime. pnpm outdated and dependabot will keep
offering it; the version is pinned exactly and the reasoning is now in the README so the trap
is visible rather than rediscovered.

TypeScript 6: no fallout, unlike kahlstrm/web

TypeScript 6 turns strict on by default. In web that surfaced two real ts(7053) errors,
because its tsconfig never set it. Here strict: true has been explicit since the
create-next-app scaffold, so the new default changes nothing.

@typescript-eslint/parser (used by the narrow ESLint pass) accepts TS 6 — lint is clean and
pnpm peers check reports no issues.

TypeScript 7 is not included: it is the native port, and the ecosystem is still catching up.

Testing

  • pnpm test:unit — 18 passed
  • pnpm test:e2e — 9 passed
  • pnpm lint / pnpm format:check — clean
  • pnpm build — compiles
  • pnpm peers check — no issues

@vercel

vercel Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
next-shortener Ready Ready Preview Aug 2, 2026 7:03pm

@kahlstrm
kahlstrm merged commit 97baba5 into main Aug 2, 2026
4 checks passed
@kahlstrm
kahlstrm deleted the chore/types-node-ts6 branch August 2, 2026 19:24

This branch was successfully deployed

1 active deployment
Preview — 60587eb9 Deployed Aug 2, 2026 by vercel[bot]
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