chore: drop deprecated baseUrl from tsconfig#20
Merged
Conversation
Problem: TypeScript 6 deprecates the baseUrl compiler option (error
TS5101) and will remove it in TS 7. This is what fails CI on the
Dependabot PR bumping typescript to 6.x.
Change: remove baseUrl. The paths entries are already written relative
('./*'), and since TS 4.1 paths resolves relative to the tsconfig file
without baseUrl. No imports rely on baseUrl-style bare specifiers
(verified by grep); everything uses the @/ alias.
Why: works identically on the current TS 5.9 and unblocks the TS 6
upgrade.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Deploy Preview for langquestdocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for scintillating-cassata-b68512 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
TypeScript 6 deprecates
baseUrl(TS5101, removed in TS 7) — it's what fails CI on thetypescript6.x Dependabot bump. Thepathsentries here are already relative (./*), which since TS 4.1 resolves against the tsconfig location withoutbaseUrl, and a grep shows no bare baseUrl-style imports — everything uses the@/alias. So removing the option is behavior-neutral on TS 5.9 and unblocks TS 6.🤖 Generated with Claude Code