Skip to content

chore(ts): drop deprecated baseUrl from web/docs tsconfigs - #91

Closed
sandydasari wants to merge 1 commit into
mainfrom
fix/baseurl-deprecation
Closed

chore(ts): drop deprecated baseUrl from web/docs tsconfigs#91
sandydasari wants to merge 1 commit into
mainfrom
fix/baseurl-deprecation

Conversation

@sandydasari

Copy link
Copy Markdown
Owner

What

Removes "baseUrl": "." from apps/web/tsconfig.json and apps/docs/tsconfig.json.

Why

Newer TypeScript surfaces Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Since TS 5.0, paths resolves relative to the tsconfig's own directory without baseUrl, so "baseUrl": "." was a no-op next to the existing paths: { "@/*": ["./*"] }. Dropping it clears the deprecation now rather than waiting for the 7.0 bump.

The repo's pinned typescript@5.9.2 doesn't error on this yet (CI was green); the warning only appears in editors running a newer TS — but the fix is harmless and future-proofs the bump.

Verification

  • pnpm --filter web check-types and pnpm --filter docs check-types pass unchanged.
  • Full-workspace pnpm build + pre-commit/pre-push check-types green.
  • The Vite @/* alias is configured independently of tsconfig, so bundler resolution is unaffected.

🤖 Generated with Claude Code

baseUrl is deprecated for removal in TypeScript 7.0 (newer editor TS
already surfaces the warning). Since TS 5.0, "paths" resolves relative
to the tsconfig directory without baseUrl, so "baseUrl": "." is a
no-op here. Removing it clears the deprecation; check-types passes
unchanged for both apps.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying openacme-ai with  Cloudflare Pages  Cloudflare Pages

Latest commit: 42f32c5
Status: ✅  Deploy successful!
Preview URL: https://cd396ff1.openacme-ai.pages.dev
Branch Preview URL: https://fix-baseurl-deprecation.openacme-ai.pages.dev

View logs

@sandydasari

Copy link
Copy Markdown
Owner Author

Folding this into #90 instead — the baseUrl tsconfig fix is now a commit on that branch.

@sandydasari
sandydasari deleted the fix/baseurl-deprecation branch June 26, 2026 01:53
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