{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    // Use / as the root for tests so path-mapped imports from
    // ../shared and ../../common are within the configured rootDir.
    // This avoids TS6059 during ts-jest compilation.
    "rootDir": "../..",
    "baseUrl": ".",
    "paths": {
      "api/*": ["src/*"],
      "shared/*": ["../shared/src/*"],
      "common/*": ["../../common/src/*"],
      "email/*": ["../email/emails/*"]
    }
  },
  "include": [
    "tests/**/*.ts",
    "src/**/*.ts",
    "../shared/src/**/*.ts",
    "../../common/src/**/*.ts"
  ]
}
