In this PR: - removing rootDir / baseUrl from any tsconfig.json - we need to keep it in tsconfig.spec.json and also specify rootDir in jest.config.ts moduleMapper because of the way nx jest executor works (automatically moving back to root) - we need to explictly specify the depencies to twenty-shared / twenty-emails (built packages) in packages package.json to help nx understand dependencies
32 lines
592 B
JSON
32 lines
592 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"jsx": "react-jsx",
|
|
"allowJs": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"noEmit": true,
|
|
"types": ["node"],
|
|
"outDir": "../../.cache/tsc",
|
|
"paths": {
|
|
"@ui/*": ["./src/*"]
|
|
}
|
|
},
|
|
"files": [],
|
|
"include": [],
|
|
"references": [
|
|
{
|
|
"path": "./tsconfig.build.json"
|
|
},
|
|
{
|
|
"path": "./tsconfig.dev.json"
|
|
},
|
|
{
|
|
"path": "./tsconfig.spec.json"
|
|
},
|
|
{
|
|
"path": "./tsconfig.storybook.json"
|
|
}
|
|
]
|
|
} |