Skip to content

CCM-16002 - refactor: remove deprecated baseUrl from tsconfig files#132

Merged
rhyscoxnhs merged 4 commits intomainfrom
feature/CCM-16002-tsconfig-deprecation-fix
Apr 14, 2026
Merged

CCM-16002 - refactor: remove deprecated baseUrl from tsconfig files#132
rhyscoxnhs merged 4 commits intomainfrom
feature/CCM-16002-tsconfig-deprecation-fix

Conversation

@mjewildnhs
Copy link
Copy Markdown
Contributor

@mjewildnhs mjewildnhs commented Apr 13, 2026

Description

Replace baseUrl with paths mappings per TS 6.0 migration guide.

  • baseUrl: "." removed (paths already used ./ prefixes)
  • baseUrl: "src" replaced with paths: { "": ["./src/"] }

Context

baseUrl is deprecated

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

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.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

Replace baseUrl with paths mappings per TS 6.0 migration guide.
- baseUrl: "." removed (paths already used ./ prefixes)
- baseUrl: "src" replaced with paths: { "*": ["./src/*"] }
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

Refactors workspace tsconfig.json files to remove compilerOptions.baseUrl and adjust paths mappings, in preparation for a TypeScript 6 migration.

Changes:

  • Removed baseUrl from multiple workspace tsconfig.json files.
  • Updated/introduced paths mappings 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, but baseUrl was removed. In TypeScript ^5.9.x, paths requires baseUrl; without it tsc will likely fail to parse/validate the config and module resolution (e.g. import ... from "helpers") will break. Reintroduce an appropriate baseUrl (commonly ".").
{
  "compilerOptions": {
    "isolatedModules": true,
    "paths": {
      "helpers": [
        "./helpers/index"

tests/integration/tsconfig.json:6

  • This config still uses compilerOptions.paths, but baseUrl was removed. In TypeScript ^5.9.x, paths requires baseUrl; without it tsc will likely error and any configured path aliases may stop working. Reintroduce an appropriate baseUrl (commonly ".").
{
  "compilerOptions": {
    "isolatedModules": true,
    "paths": {
      "helpers": [
        "./helpers/index"

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

Comment thread tools/client-subscriptions-management/tsconfig.json
Comment thread lambdas/client-transform-filter-lambda/tsconfig.json
Comment thread src/models/tsconfig.json
Comment thread src/models/tsconfig.json
Comment thread src/logger/tsconfig.json
Comment thread lambdas/mock-webhook-lambda/tsconfig.json
@mjewildnhs mjewildnhs requested review from cgitim and rhyscoxnhs April 13, 2026 16:08
@rhyscoxnhs rhyscoxnhs merged commit 9f61f18 into main Apr 14, 2026
25 checks passed
@mjewildnhs mjewildnhs deleted the feature/CCM-16002-tsconfig-deprecation-fix branch April 14, 2026 14:31
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.

4 participants