updated tsconfig to exclude tests files for apps
This commit is contained in:
parent
2de71c6310
commit
cffcd05066
9 changed files with 87 additions and 5 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
"rootDir": "./src"
|
"rootDir": "./src"
|
||||||
},
|
},
|
||||||
"include": ["src/**/*"],
|
"include": ["src/**/*"],
|
||||||
|
"exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts", "**/test/**", "**/tests/**", "**/__tests__/**"],
|
||||||
"references": [
|
"references": [
|
||||||
{ "path": "../../libs/types" },
|
{ "path": "../../libs/types" },
|
||||||
{ "path": "../../libs/config" },
|
{ "path": "../../libs/config" },
|
||||||
|
|
|
||||||
17
apps/execution-service/tsconfig.json
Normal file
17
apps/execution-service/tsconfig.json
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"include": ["src/**/*"],
|
||||||
|
"exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts", "**/test/**", "**/tests/**", "**/__tests__/**"],
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../libs/types" },
|
||||||
|
{ "path": "../../libs/config" },
|
||||||
|
{ "path": "../../libs/logger" },
|
||||||
|
{ "path": "../../libs/utils" },
|
||||||
|
{ "path": "../../libs/event-bus" },
|
||||||
|
{ "path": "../../libs/shutdown" }
|
||||||
|
]
|
||||||
|
}
|
||||||
18
apps/portfolio-service/tsconfig.json
Normal file
18
apps/portfolio-service/tsconfig.json
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"include": ["src/**/*"],
|
||||||
|
"exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts", "**/test/**", "**/tests/**", "**/__tests__/**"],
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../libs/types" },
|
||||||
|
{ "path": "../../libs/config" },
|
||||||
|
{ "path": "../../libs/logger" },
|
||||||
|
{ "path": "../../libs/utils" },
|
||||||
|
{ "path": "../../libs/postgres-client" },
|
||||||
|
{ "path": "../../libs/event-bus" },
|
||||||
|
{ "path": "../../libs/shutdown" }
|
||||||
|
]
|
||||||
|
}
|
||||||
20
apps/processing-service/tsconfig.json
Normal file
20
apps/processing-service/tsconfig.json
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"include": ["src/**/*"],
|
||||||
|
"exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts", "**/test/**", "**/tests/**", "**/__tests__/**"],
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../libs/types" },
|
||||||
|
{ "path": "../../libs/config" },
|
||||||
|
{ "path": "../../libs/logger" },
|
||||||
|
{ "path": "../../libs/utils" },
|
||||||
|
{ "path": "../../libs/data-frame" },
|
||||||
|
{ "path": "../../libs/vector-engine" },
|
||||||
|
{ "path": "../../libs/mongodb-client" },
|
||||||
|
{ "path": "../../libs/event-bus" },
|
||||||
|
{ "path": "../../libs/shutdown" }
|
||||||
|
]
|
||||||
|
}
|
||||||
18
apps/strategy-service/tsconfig.json
Normal file
18
apps/strategy-service/tsconfig.json
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"include": ["src/**/*"],
|
||||||
|
"exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts", "**/test/**", "**/tests/**", "**/__tests__/**"],
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../libs/types" },
|
||||||
|
{ "path": "../../libs/config" },
|
||||||
|
{ "path": "../../libs/logger" },
|
||||||
|
{ "path": "../../libs/utils" },
|
||||||
|
{ "path": "../../libs/strategy-engine" },
|
||||||
|
{ "path": "../../libs/event-bus" },
|
||||||
|
{ "path": "../../libs/shutdown" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
"rootDir": "./src"
|
"rootDir": "./src"
|
||||||
},
|
},
|
||||||
"include": ["src/**/*"],
|
"include": ["src/**/*"],
|
||||||
|
"exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts", "**/test/**/*", "**/tests/**/*"],
|
||||||
"references": [
|
"references": [
|
||||||
{ "path": "../types" }
|
{ "path": "../types" }
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
"rootDir": "./src"
|
"rootDir": "./src"
|
||||||
},
|
},
|
||||||
"include": ["src/**/*"],
|
"include": ["src/**/*"],
|
||||||
|
"exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts", "**/test/**/*", "**/tests/**/*"],
|
||||||
"references": [
|
"references": [
|
||||||
{ "path": "../types" },
|
{ "path": "../types" },
|
||||||
{ "path": "../logger" }
|
{ "path": "../logger" }
|
||||||
|
|
|
||||||
|
|
@ -56,10 +56,16 @@
|
||||||
{ "path": "./libs/http" },
|
{ "path": "./libs/http" },
|
||||||
{ "path": "./libs/event-bus" },
|
{ "path": "./libs/event-bus" },
|
||||||
{ "path": "./libs/shutdown" },
|
{ "path": "./libs/shutdown" },
|
||||||
|
// Engine libraries
|
||||||
// Engine libraries
|
|
||||||
{ "path": "./libs/data-frame" },
|
{ "path": "./libs/data-frame" },
|
||||||
{ "path": "./libs/vector-engine" },
|
{ "path": "./libs/vector-engine" },
|
||||||
{ "path": "./libs/strategy-engine" }
|
{ "path": "./libs/strategy-engine" },
|
||||||
|
|
||||||
|
// Applications
|
||||||
|
{ "path": "./apps/data-service" },
|
||||||
|
{ "path": "./apps/execution-service" },
|
||||||
|
{ "path": "./apps/portfolio-service" },
|
||||||
|
{ "path": "./apps/processing-service" },
|
||||||
|
{ "path": "./apps/strategy-service" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -5,12 +5,12 @@
|
||||||
"build": {
|
"build": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"outputs": ["dist/**", ".next/**", "!.next/cache/**"],
|
"outputs": ["dist/**", ".next/**", "!.next/cache/**"],
|
||||||
"inputs": ["src/**", "package.json", "tsconfig.json"]
|
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"]
|
||||||
},
|
},
|
||||||
"build:libs": {
|
"build:libs": {
|
||||||
"dependsOn": [],
|
"dependsOn": [],
|
||||||
"outputs": ["dist/**"],
|
"outputs": ["dist/**"],
|
||||||
"inputs": ["src/**", "package.json", "tsconfig.json"]
|
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"]
|
||||||
},
|
},
|
||||||
"dev": {
|
"dev": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue