Skip to content

Commit

Permalink
[7.x] Telemetry collection xpack to ts project references (#81269) (#…
Browse files Browse the repository at this point in the history
…81663)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
TinaHeiligers and kibanamachine authored Oct 26, 2020
1 parent 6bc83d6 commit d7abf47
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
21 changes: 21 additions & 0 deletions x-pack/plugins/telemetry_collection_xpack/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"outDir": "./target/types",
"emitDeclarationOnly": true,
"declaration": true,
"declarationMap": true
},
"include": [
"common/**/*",
"server/**/*",
"../../../typings/*"
],
"references": [
{ "path": "../../../src/core/tsconfig.json" },
{ "path": "../../../src/plugins/telemetry_collection_manager/tsconfig.json" },
{ "path": "../../../src/plugins/telemetry/tsconfig.json" }
]
}

1 change: 1 addition & 0 deletions 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": "../plugins/telemetry_collection_xpack/tsconfig.json" },
{ "path": "../../src/plugins/newsfeed/tsconfig.json" }
]
}
4 changes: 3 additions & 1 deletion x-pack/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"plugins/apm/e2e/cypress/**/*",
"plugins/apm/scripts/**/*",
"plugins/licensing/**/*",
"plugins/global_search/**/*"
"plugins/global_search/**/*",
"plugins/telemetry_collection_xpack/**/*"
],
"compilerOptions": {
"paths": {
Expand All @@ -35,6 +36,7 @@
{ "path": "../src/plugins/telemetry_collection_manager/tsconfig.json" },
{ "path": "../src/plugins/telemetry/tsconfig.json" },
{ "path": "../src/plugins/kibana_usage_collection/tsconfig.json" },
{ "path": "./plugins/telemetry_collection_xpack/tsconfig.json" },
{ "path": "../src/plugins/newsfeed/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/telemetry_collection_xpack/tsconfig.json" },
]
}

0 comments on commit d7abf47

Please sign in to comment.