* add base config for all the TS projects * all the project use new tsconfig.project.json * compile test files in the high-level tsconfig.json * fix TS error in maps plugin * fix TS error in infra plugin * exclude mote test and test until folders * uptime. do not import test code within prod code * expressions. do not import test code within prod code * data: export mocks from high level folder * task_manager: comply with es client typings * infra: remove unused enzyme_helpers * check_ts_project requires "include" key * ts_check should handle parent configs * all ts configs should extend base one * exclude test folders from plugins * update patterns to fix ts_check errors * Apply suggestions from code review Co-authored-by: Constance <constancecchen@users.noreply.github.com> * uptime: MountWithReduxProvider to test helpers Co-authored-by: Constance <constancecchen@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
31 lines
1 KiB
JSON
31 lines
1 KiB
JSON
{
|
|
"extends": "../../../tsconfig.project.json",
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"outDir": "./target/types",
|
|
"emitDeclarationOnly": true,
|
|
"declaration": true,
|
|
"declarationMap": true
|
|
},
|
|
"include": [
|
|
"common/**/*",
|
|
"public/**/*",
|
|
"server/**/*",
|
|
],
|
|
"references": [
|
|
{ "path": "../../../src/core/tsconfig.json" },
|
|
// required plugins
|
|
{ "path": "../../../src/plugins/home/tsconfig.json" },
|
|
{ "path": "../licensing/tsconfig.json" },
|
|
{ "path": "../../../src/plugins/management/tsconfig.json" },
|
|
{ "path": "../remote_clusters/tsconfig.json" },
|
|
{ "path": "../index_management/tsconfig.json" },
|
|
{ "path": "../features/tsconfig.json" },
|
|
// optional plugins
|
|
{ "path": "../../../src/plugins/usage_collection/tsconfig.json" },
|
|
// required bundles
|
|
{ "path": "../../../src/plugins/kibana_react/tsconfig.json" },
|
|
{ "path": "../../../src/plugins/es_ui_shared/tsconfig.json" },
|
|
{ "path": "../../../src/plugins/data/tsconfig.json" },
|
|
]
|
|
}
|