Skip to content

chore(deps-dev): migrate to TypeScript 7 (#286, part 2 of 2) - #294

Merged
forcingfx merged 1 commit into
mainfrom
chore/typescript-7
Sep 9, 2026
Merged

forcingfx merged 1 commit into
mainfrom
chore/typescript-7

Conversation

@forcingfx

Copy link
Copy Markdown
Owner

Part 2 of #286, sequential on #291 (vitest 4, merged). Closes #286.

What

typescript 6.0.3 → 7.0.2.

Adaptations

TypeScript 7 removes the baseUrl compiler option (TS5102), which was the only error. The paths entries were already tsconfig-relative (./src/*), so dropping baseUrl is the whole migration. ignoreDeprecations: "6.0" had nothing left to ignore and goes with it.

Boy Scout: vite.config.js loses its two __dirname uses in favour of import.meta.dirname, matching the vitest.config.js change in #291, so Vite's native-config-loader warning no longer names this file. (The same warning still lists ~10 extensionless imports under src/core/license and src/core/stripe; that is a separate cleanup and not a build failure.)

Verification

  • npx tsc --noEmit and npx tsc -p tsconfig.scripts.json --noEmit: 0 errors.
  • npx vitest run: 3963 passed. node scripts/audit-gate.mjs: passed.
  • npm run build:all: SPA built, 12 API functions bundled (wrappers restored, not committed).

🤖 Generated with Claude Code

https://claude.ai/code/session_01GQoLHbPfaTCHvPuaoqGZeJ

TypeScript 7.0.2 removes the 'baseUrl' compiler option (TS5102). The
'paths' entries were already tsconfig-relative ('./src/*'), so dropping
baseUrl is the whole migration; 'ignoreDeprecations: "6.0"' had nothing
left to ignore and goes with it. vite.config.js loses its two __dirname
uses (import.meta.dirname), matching the vitest.config.js change in #291,
so Vite's native-config-loader warning no longer names this file.

Both tsc projects (tsconfig.json, tsconfig.scripts.json) are clean and
'npm run build:all' bundles all 12 API functions.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GQoLHbPfaTCHvPuaoqGZeJ
@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
feedzero Ready Ready Preview Sep 9, 2026 7:34pm UTC

Request Review

@forcingfx
forcingfx enabled auto-merge (squash) September 9, 2026 19:34
@forcingfx
forcingfx merged commit c360cc4 into main Sep 9, 2026
17 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.

chore(deps): migrate to vitest 4 and TypeScript 7

1 participant