mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
TS project references for apmOss plugin (#87676)
References #80508. References #81003.
This commit is contained in:
parent
021bb4e3e9
commit
e5fe735d76
3 changed files with 24 additions and 3 deletions
18
src/plugins/apm_oss/tsconfig.json
Normal file
18
src/plugins/apm_oss/tsconfig.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
},
|
||||
"include": [
|
||||
"common/**/*",
|
||||
"public/**/*",
|
||||
"server/**/*",
|
||||
// have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636
|
||||
"server/tutorial/index_pattern.json"
|
||||
],
|
||||
"references": [{ "path": "../../core/tsconfig.json" }, { "path": "../home/tsconfig.json" }]
|
||||
}
|
|
@ -7,6 +7,7 @@
|
|||
"exclude": [
|
||||
"src/**/__fixtures__/**/*",
|
||||
"src/core/**/*",
|
||||
"src/plugins/apm_oss/**/*",
|
||||
"src/plugins/bfetch/**/*",
|
||||
"src/plugins/data/**/*",
|
||||
"src/plugins/dev_tools/**/*",
|
||||
|
@ -28,7 +29,7 @@
|
|||
"src/plugins/telemetry_collection_manager/**/*",
|
||||
"src/plugins/ui_actions/**/*",
|
||||
"src/plugins/url_forwarding/**/*",
|
||||
"src/plugins/usage_collection/**/*",
|
||||
"src/plugins/usage_collection/**/*"
|
||||
// In the build we actually exclude **/public/**/* from this config so that
|
||||
// we can run the TSC on both this and the .browser version of this config
|
||||
// file, but if we did it during development IDEs would not be able to find
|
||||
|
@ -37,6 +38,7 @@
|
|||
],
|
||||
"references": [
|
||||
{ "path": "./src/core/tsconfig.json" },
|
||||
{ "path": "./src/plugins/apm_oss/tsconfig.json" },
|
||||
{ "path": "./src/plugins/bfetch/tsconfig.json" },
|
||||
{ "path": "./src/plugins/data/tsconfig.json" },
|
||||
{ "path": "./src/plugins/dev_tools/tsconfig.json" },
|
||||
|
@ -58,6 +60,6 @@
|
|||
{ "path": "./src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||
{ "path": "./src/plugins/ui_actions/tsconfig.json" },
|
||||
{ "path": "./src/plugins/url_forwarding/tsconfig.json" },
|
||||
{ "path": "./src/plugins/usage_collection/tsconfig.json" },
|
||||
{ "path": "./src/plugins/usage_collection/tsconfig.json" }
|
||||
]
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
"include": [],
|
||||
"references": [
|
||||
{ "path": "./src/core/tsconfig.json" },
|
||||
{ "path": "./src/plugins/apm_oss/tsconfig.json" },
|
||||
{ "path": "./src/plugins/bfetch/tsconfig.json" },
|
||||
{ "path": "./src/plugins/data/tsconfig.json" },
|
||||
{ "path": "./src/plugins/dev_tools/tsconfig.json" },
|
||||
|
@ -23,6 +24,6 @@
|
|||
{ "path": "./src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||
{ "path": "./src/plugins/ui_actions/tsconfig.json" },
|
||||
{ "path": "./src/plugins/url_forwarding/tsconfig.json" },
|
||||
{ "path": "./src/plugins/usage_collection/tsconfig.json" },
|
||||
{ "path": "./src/plugins/usage_collection/tsconfig.json" }
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue