# Conflicts: # tsconfig.json
This commit is contained in:
parent
63358163f5
commit
0bdce6afc1
23
src/plugins/telemetry/tsconfig.json
Normal file
23
src/plugins/telemetry/tsconfig.json
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"extends": "../../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"composite": true,
|
||||||
|
"outDir": "./target/types",
|
||||||
|
"emitDeclarationOnly": true,
|
||||||
|
"declaration": true,
|
||||||
|
"declarationMap": true
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"public/**/**/*",
|
||||||
|
"server/**/**/*",
|
||||||
|
"common/**/*",
|
||||||
|
"../../../typings/**/*"
|
||||||
|
],
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../core/tsconfig.json" },
|
||||||
|
{ "path": "../../plugins/usage_collection/tsconfig.json" },
|
||||||
|
{ "path": "../../plugins/telemetry_collection_manager/tsconfig.json" },
|
||||||
|
{ "path": "../../plugins/kibana_utils/tsconfig.json" },
|
||||||
|
{ "path": "../../plugins/kibana_react/tsconfig.json" }
|
||||||
|
]
|
||||||
|
}
|
18
src/plugins/telemetry_collection_manager/tsconfig.json
Normal file
18
src/plugins/telemetry_collection_manager/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": [
|
||||||
|
"server/**/*",
|
||||||
|
"common/*"
|
||||||
|
],
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../core/tsconfig.json" },
|
||||||
|
{ "path": "../../plugins/usage_collection/tsconfig.json" }
|
||||||
|
]
|
||||||
|
}
|
|
@ -30,7 +30,7 @@ import {
|
||||||
} from '../../../core/public';
|
} from '../../../core/public';
|
||||||
import { reportApplicationUsage } from './services/application_usage';
|
import { reportApplicationUsage } from './services/application_usage';
|
||||||
|
|
||||||
interface PublicConfigType {
|
export interface PublicConfigType {
|
||||||
uiMetric: {
|
uiMetric: {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
debug: boolean;
|
debug: boolean;
|
||||||
|
|
20
src/plugins/usage_collection/tsconfig.json
Normal file
20
src/plugins/usage_collection/tsconfig.json
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"extends": "../../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"composite": true,
|
||||||
|
"outDir": "./target/types",
|
||||||
|
"emitDeclarationOnly": true,
|
||||||
|
"declaration": true,
|
||||||
|
"declarationMap": true
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"public/**/*",
|
||||||
|
"server/**/*",
|
||||||
|
"common/*",
|
||||||
|
"../../../typings/**/*"
|
||||||
|
],
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../core/tsconfig.json" },
|
||||||
|
{ "path": "../../plugins/kibana_utils/tsconfig.json" }
|
||||||
|
]
|
||||||
|
}
|
|
@ -20,6 +20,9 @@
|
||||||
"references": [
|
"references": [
|
||||||
{ "path": "../src/core/tsconfig.json" },
|
{ "path": "../src/core/tsconfig.json" },
|
||||||
{ "path": "../src/plugins/kibana_utils/tsconfig.json" },
|
{ "path": "../src/plugins/kibana_utils/tsconfig.json" },
|
||||||
{ "path": "../src/plugins/kibana_react/tsconfig.json" }
|
{ "path": "../src/plugins/kibana_react/tsconfig.json" },
|
||||||
|
{ "path": "../src/plugins/usage_collection/tsconfig.json" },
|
||||||
|
{ "path": "../src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||||
|
{ "path": "../src/plugins/telemetry/tsconfig.json" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,10 @@
|
||||||
"src/test_utils/**/*",
|
"src/test_utils/**/*",
|
||||||
"src/core/**/*",
|
"src/core/**/*",
|
||||||
"src/plugins/kibana_utils/**/*",
|
"src/plugins/kibana_utils/**/*",
|
||||||
"src/plugins/kibana_react/**/*"
|
"src/plugins/kibana_react/**/*",
|
||||||
|
"src/plugins/usage_collection/**/*",
|
||||||
|
"src/plugins/telemetry_collection_manager/**/*",
|
||||||
|
"src/plugins/telemetry/**/*"
|
||||||
// In the build we actually exclude **/public/**/* from this config so that
|
// 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
|
// 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
|
// file, but if we did it during development IDEs would not be able to find
|
||||||
|
@ -25,6 +28,9 @@
|
||||||
{ "path": "./src/test_utils/tsconfig.json" },
|
{ "path": "./src/test_utils/tsconfig.json" },
|
||||||
{ "path": "./src/core/tsconfig.json" },
|
{ "path": "./src/core/tsconfig.json" },
|
||||||
{ "path": "./src/plugins/kibana_utils/tsconfig.json" },
|
{ "path": "./src/plugins/kibana_utils/tsconfig.json" },
|
||||||
{ "path": "./src/plugins/kibana_react/tsconfig.json" }
|
{ "path": "./src/plugins/kibana_react/tsconfig.json" },
|
||||||
|
{ "path": "./src/plugins/usage_collection/tsconfig.json" },
|
||||||
|
{ "path": "./src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||||
|
{ "path": "./src/plugins/telemetry/tsconfig.json" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,5 +5,8 @@
|
||||||
{ "path": "./src/core/tsconfig.json" },
|
{ "path": "./src/core/tsconfig.json" },
|
||||||
{ "path": "./src/plugins/kibana_utils/tsconfig.json" },
|
{ "path": "./src/plugins/kibana_utils/tsconfig.json" },
|
||||||
{ "path": "./src/plugins/kibana_react/tsconfig.json" },
|
{ "path": "./src/plugins/kibana_react/tsconfig.json" },
|
||||||
|
{ "path": "./src/plugins/usage_collection/tsconfig.json" },
|
||||||
|
{ "path": "./src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||||
|
{ "path": "./src/plugins/telemetry/tsconfig.json" },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,5 +22,8 @@
|
||||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||||
{ "path": "../plugins/licensing/tsconfig.json" },
|
{ "path": "../plugins/licensing/tsconfig.json" },
|
||||||
{ "path": "../plugins/global_search/tsconfig.json" },
|
{ "path": "../plugins/global_search/tsconfig.json" },
|
||||||
|
{ "path": "../../src/plugins/usage_collection/tsconfig.json" },
|
||||||
|
{ "path": "../../src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||||
|
{ "path": "../../src/plugins/telemetry/tsconfig.json" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
"plugins/apm/scripts/**/*",
|
"plugins/apm/scripts/**/*",
|
||||||
"plugins/licensing/**/*",
|
"plugins/licensing/**/*",
|
||||||
"plugins/global_search/**/*",
|
"plugins/global_search/**/*",
|
||||||
|
"../src/plugins/usage_collection/**/*",
|
||||||
|
"../src/plugins/telemetry_collection_manager/**/*",
|
||||||
|
"../src/plugins/telemetry/**/*"
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"paths": {
|
"paths": {
|
||||||
|
@ -31,5 +34,8 @@
|
||||||
{ "path": "../src/plugins/kibana_react/tsconfig.json" },
|
{ "path": "../src/plugins/kibana_react/tsconfig.json" },
|
||||||
{ "path": "./plugins/licensing/tsconfig.json" },
|
{ "path": "./plugins/licensing/tsconfig.json" },
|
||||||
{ "path": "./plugins/global_search/tsconfig.json" },
|
{ "path": "./plugins/global_search/tsconfig.json" },
|
||||||
|
{ "path": "../src/plugins/usage_collection/tsconfig.json" },
|
||||||
|
{ "path": "../src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||||
|
{ "path": "../src/plugins/telemetry/tsconfig.json" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue