CCM-16002 - refactor: remove deprecated baseUrl from tsconfig files#132
Merged
rhyscoxnhs merged 4 commits intomainfrom Apr 14, 2026
Merged
CCM-16002 - refactor: remove deprecated baseUrl from tsconfig files#132rhyscoxnhs merged 4 commits intomainfrom
rhyscoxnhs merged 4 commits intomainfrom
Conversation
Replace baseUrl with paths mappings per TS 6.0 migration guide.
- baseUrl: "." removed (paths already used ./ prefixes)
- baseUrl: "src" replaced with paths: { "*": ["./src/*"] }
Contributor
There was a problem hiding this comment.
Pull request overview
Refactors workspace tsconfig.json files to remove compilerOptions.baseUrl and adjust paths mappings, in preparation for a TypeScript 6 migration.
Changes:
- Removed
baseUrlfrom multiple workspacetsconfig.jsonfiles. - Updated/introduced
pathsmappings to preserve existing import alias behavior (e.g.src/*,helpers,services/*via wildcard). - Normalized some path targets to use
./-prefixed relative forms.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/client-subscriptions-management/tsconfig.json | Removes baseUrl and adjusts paths for src/* aliasing used by this tool. |
| tests/test-support/tsconfig.json | Removes baseUrl from test-support tsconfig. |
| tests/performance/tsconfig.json | Removes baseUrl while retaining paths alias for helpers. |
| tests/integration/tsconfig.json | Removes baseUrl while retaining paths alias for helpers. |
| src/models/tsconfig.json | Replaces baseUrl: "src" with a wildcard paths mapping to ./src/*. |
| src/logger/tsconfig.json | Replaces baseUrl: "src" with a wildcard paths mapping to ./src/*. |
| lambdas/mock-webhook-lambda/tsconfig.json | Replaces baseUrl: "src" with a wildcard paths mapping to ./src/*. |
| lambdas/client-transform-filter-lambda/tsconfig.json | Replaces baseUrl: "src" with a wildcard paths mapping to ./src/*. |
Comments suppressed due to low confidence (2)
tests/performance/tsconfig.json:6
- This config still uses
compilerOptions.paths, butbaseUrlwas removed. In TypeScript ^5.9.x,pathsrequiresbaseUrl; without ittscwill likely fail to parse/validate the config and module resolution (e.g.import ... from "helpers") will break. Reintroduce an appropriatebaseUrl(commonly ".").
{
"compilerOptions": {
"isolatedModules": true,
"paths": {
"helpers": [
"./helpers/index"
tests/integration/tsconfig.json:6
- This config still uses
compilerOptions.paths, butbaseUrlwas removed. In TypeScript ^5.9.x,pathsrequiresbaseUrl; without ittscwill likely error and any configured path aliases may stop working. Reintroduce an appropriatebaseUrl(commonly ".").
{
"compilerOptions": {
"isolatedModules": true,
"paths": {
"helpers": [
"./helpers/index"
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rhyscoxnhs
approved these changes
Apr 14, 2026
cgitim
approved these changes
Apr 14, 2026
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.
Description
Replace baseUrl with paths mappings per TS 6.0 migration guide.
Context
baseUrl is deprecated
Type of changes
Checklist
Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.