Skip to content

chore: Remove deprecated baseUrl#192

Merged
Amund211 merged 1 commit intomainfrom
ts-6-preparation
Mar 30, 2026
Merged

chore: Remove deprecated baseUrl#192
Amund211 merged 1 commit intomainfrom
ts-6-preparation

Conversation

@Amund211
Copy link
Copy Markdown
Owner

Copilot AI review requested due to automatic review settings March 30, 2026 15:54
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying rainbow with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8171cee
Status: ✅  Deploy successful!
Preview URL: https://a16ff5a2.rainbow-ctx.pages.dev
Branch Preview URL: https://ts-6-preparation.rainbow-ctx.pages.dev

View logs

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the deprecated baseUrl setting from the app TypeScript configuration as part of aligning the repo with upcoming TypeScript changes.

Changes:

  • Removed compilerOptions.baseUrl from tsconfig.app.json.
  • Updated the #* path mapping target from src/* to ./src/*.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 3 to 6
/* Path aliases */
"baseUrl": ".",
"paths": {
"#*": ["src/*"]
"#*": ["./src/*"]
},
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compilerOptions.paths is present but baseUrl was removed. With the repo currently pinned to TypeScript 5.9.x, tsc -p tsconfig.app.json will error because paths cannot be used without baseUrl. Either keep baseUrl for now, remove paths and rely on package.json imports / Vite alias for # resolution, or upgrade TypeScript/config to a version that supports paths without baseUrl.

Copilot uses AI. Check for mistakes.
@Amund211 Amund211 merged commit 3c23d22 into main Mar 30, 2026
11 checks passed
@Amund211 Amund211 deleted the ts-6-preparation branch March 30, 2026 19:06
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.

2 participants