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
21 lines
386 B
JSON
21 lines
386 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"types": ["jest", "node"],
|
|
"baseUrl": "../..",
|
|
"paths": {
|
|
"@ui/*": ["./packages/twenty-ui/src/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"vite.config.ts",
|
|
"jest.config.ts",
|
|
"setupTests.ts",
|
|
"src/**/*.d.ts",
|
|
"src/**/*.spec.ts",
|
|
"src/**/*.test.ts",
|
|
"vite.config.ts"
|
|
]
|
|
}
|