Skip to content

Commit d7abf47

Browse files
[7.x] Telemetry collection xpack to ts project references (#81269) (#81663)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
1 parent 6bc83d6 commit d7abf47

File tree

4 files changed

+26
-1
lines changed

4 files changed

+26
-1
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"extends": "../../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"composite": true,
5+
"outDir": "./target/types",
6+
"emitDeclarationOnly": true,
7+
"declaration": true,
8+
"declarationMap": true
9+
},
10+
"include": [
11+
"common/**/*",
12+
"server/**/*",
13+
"../../../typings/*"
14+
],
15+
"references": [
16+
{ "path": "../../../src/core/tsconfig.json" },
17+
{ "path": "../../../src/plugins/telemetry_collection_manager/tsconfig.json" },
18+
{ "path": "../../../src/plugins/telemetry/tsconfig.json" }
19+
]
20+
}
21+

x-pack/test/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
{ "path": "../../src/plugins/telemetry_collection_manager/tsconfig.json" },
2727
{ "path": "../../src/plugins/telemetry/tsconfig.json" },
2828
{ "path": "../../src/plugins/kibana_usage_collection/tsconfig.json" },
29+
{ "path": "../plugins/telemetry_collection_xpack/tsconfig.json" },
2930
{ "path": "../../src/plugins/newsfeed/tsconfig.json" }
3031
]
3132
}

x-pack/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"plugins/apm/e2e/cypress/**/*",
1414
"plugins/apm/scripts/**/*",
1515
"plugins/licensing/**/*",
16-
"plugins/global_search/**/*"
16+
"plugins/global_search/**/*",
17+
"plugins/telemetry_collection_xpack/**/*"
1718
],
1819
"compilerOptions": {
1920
"paths": {
@@ -35,6 +36,7 @@
3536
{ "path": "../src/plugins/telemetry_collection_manager/tsconfig.json" },
3637
{ "path": "../src/plugins/telemetry/tsconfig.json" },
3738
{ "path": "../src/plugins/kibana_usage_collection/tsconfig.json" },
39+
{ "path": "./plugins/telemetry_collection_xpack/tsconfig.json" },
3840
{ "path": "../src/plugins/newsfeed/tsconfig.json" },
3941
]
4042
}

x-pack/tsconfig.refs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"references": [
44
{ "path": "./plugins/licensing/tsconfig.json" },
55
{ "path": "./plugins/global_search/tsconfig.json" },
6+
{ "path": "./plugins/telemetry_collection_xpack/tsconfig.json" },
67
]
78
}

0 commit comments

Comments
 (0)