Skip to content

Commit

Permalink
Migrate Task Manager plugins to TS project references
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Oct 23, 2020
1 parent 096aedf commit 65450be
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
18 changes: 18 additions & 0 deletions x-pack/plugins/task_manager/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"outDir": "./target/types",
"emitDeclarationOnly": true,
"declaration": true,
"declarationMap": true
},
"include": [
"server/**/*.ts",
"server/**/*.json",
"../../../typings/index.d.ts"
],
"references": [
{ "path": "../../../src/core/tsconfig.json" }
]
}
3 changes: 2 additions & 1 deletion x-pack/test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
{ "path": "../../src/plugins/telemetry_collection_manager/tsconfig.json" },
{ "path": "../../src/plugins/telemetry/tsconfig.json" },
{ "path": "../../src/plugins/kibana_usage_collection/tsconfig.json" },
{ "path": "../../src/plugins/newsfeed/tsconfig.json" }
{ "path": "../../src/plugins/newsfeed/tsconfig.json" },
{ "path": "./plugins/task_manager/tsconfig.json"}
]
}
1 change: 1 addition & 0 deletions x-pack/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@
{ "path": "../src/plugins/telemetry/tsconfig.json" },
{ "path": "../src/plugins/kibana_usage_collection/tsconfig.json" },
{ "path": "../src/plugins/newsfeed/tsconfig.json" },
{ "path": "./plugins/task_manager/tsconfig.json"}
]
}
1 change: 1 addition & 0 deletions x-pack/tsconfig.refs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"references": [
{ "path": "./plugins/licensing/tsconfig.json" },
{ "path": "./plugins/global_search/tsconfig.json" },
{ "path": "./plugins/task_manager/tsconfig.json"}
]
}

0 comments on commit 65450be

Please sign in to comment.