chore(deps-dev): migrate to TypeScript 7 (#286, part 2 of 2) - #294
Merged
Merged
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
forcingfx
enabled auto-merge (squash)
September 9, 2026 19:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 2 of #286, sequential on #291 (vitest 4, merged). Closes #286.
What
typescript6.0.3 → 7.0.2.Adaptations
TypeScript 7 removes the
baseUrlcompiler option (TS5102), which was the only error. Thepathsentries were already tsconfig-relative (./src/*), so droppingbaseUrlis the whole migration.ignoreDeprecations: "6.0"had nothing left to ignore and goes with it.Boy Scout:
vite.config.jsloses its two__dirnameuses in favour ofimport.meta.dirname, matching thevitest.config.jschange in #291, so Vite's native-config-loader warning no longer names this file. (The same warning still lists ~10 extensionless imports undersrc/core/licenseandsrc/core/stripe; that is a separate cleanup and not a build failure.)Verification
npx tsc --noEmitandnpx 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