mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Add TS project references for inspector (#81792)
This commit is contained in:
parent
2a94139d30
commit
2c1bc50ec0
6 changed files with 43 additions and 34 deletions
|
@ -9,10 +9,11 @@
|
|||
"public/**/*.ts",
|
||||
"public/**/*.tsx",
|
||||
"server/**/*.ts",
|
||||
"../../typings/**/*",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"references": [
|
||||
{ "path": "../../src/core/tsconfig.json" }
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/inspector/tsconfig.json" }
|
||||
]
|
||||
}
|
||||
|
|
15
src/plugins/inspector/tsconfig.json
Normal file
15
src/plugins/inspector/tsconfig.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
},
|
||||
"include": ["common/**/*", "public/**/*", "index.ts"],
|
||||
"references": [
|
||||
{ "path": "../../core/tsconfig.json" },
|
||||
{ "path": "../kibana_react/tsconfig.json" }
|
||||
]
|
||||
}
|
|
@ -2,29 +2,19 @@
|
|||
"extends": "../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"tsBuildInfoFile": "../build/tsbuildinfo/test",
|
||||
"types": [
|
||||
"node",
|
||||
"mocha",
|
||||
"flot"
|
||||
]
|
||||
"types": ["node", "mocha", "flot"]
|
||||
},
|
||||
"include": [
|
||||
"**/*",
|
||||
"../typings/elastic__node_crypto.d.ts",
|
||||
"typings/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"plugin_functional/plugins/**/*",
|
||||
"interpreter_functional/plugins/**/*"
|
||||
],
|
||||
"include": ["**/*", "../typings/elastic__node_crypto.d.ts", "typings/**/*"],
|
||||
"exclude": ["plugin_functional/plugins/**/*", "interpreter_functional/plugins/**/*"],
|
||||
"references": [
|
||||
{ "path": "../src/core/tsconfig.json" },
|
||||
{ "path": "../src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "../src/plugins/inspector/tsconfig.json" },
|
||||
{ "path": "../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../src/plugins/usage_collection/tsconfig.json" },
|
||||
{ "path": "../src/plugins/kibana_usage_collection/tsconfig.json" },
|
||||
{ "path": "../src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "../src/plugins/newsfeed/tsconfig.json" },
|
||||
{ "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/usage_collection/tsconfig.json" }
|
||||
]
|
||||
}
|
||||
|
|
|
@ -6,18 +6,18 @@
|
|||
"include": ["kibana.d.ts", "src/**/*", "typings/**/*", "test_utils/**/*"],
|
||||
"exclude": [
|
||||
"src/**/__fixtures__/**/*",
|
||||
"src/test_utils/**/*",
|
||||
"src/core/**/*",
|
||||
"src/plugins/inspector/**/*",
|
||||
"src/plugins/kibana_legacy/**/*",
|
||||
"src/plugins/kibana_react/**/*",
|
||||
"src/plugins/kibana_usage_collection/**/*",
|
||||
"src/plugins/kibana_utils/**/*",
|
||||
"src/plugins/kibana_react/**/*",
|
||||
"src/plugins/kibana_utils/**/*",
|
||||
"src/plugins/newsfeed/**/*",
|
||||
"src/plugins/telemetry/**/*",
|
||||
"src/plugins/telemetry_collection_manager/**/*",
|
||||
"src/plugins/telemetry/**/*",
|
||||
"src/plugins/url_forwarding/**/*",
|
||||
"src/plugins/usage_collection/**/*"
|
||||
"src/plugins/usage_collection/**/*",
|
||||
"src/test_utils/**/*"
|
||||
// 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
|
||||
|
@ -25,14 +25,15 @@
|
|||
// "src/**/public/**/*"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "./src/test_utils/tsconfig.json" },
|
||||
{ "path": "./src/core/tsconfig.json" },
|
||||
{ "path": "./src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "./src/plugins/inspector/tsconfig.json" },
|
||||
{ "path": "./src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "./src/plugins/usage_collection/tsconfig.json" },
|
||||
{ "path": "./src/plugins/kibana_usage_collection/tsconfig.json" },
|
||||
{ "path": "./src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "./src/plugins/newsfeed/tsconfig.json" },
|
||||
{ "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/usage_collection/tsconfig.json" },
|
||||
{ "path": "./src/test_utils/tsconfig.json" }
|
||||
]
|
||||
}
|
||||
|
|
|
@ -2,15 +2,16 @@
|
|||
"include": [],
|
||||
"references": [
|
||||
{ "path": "./src/core/tsconfig.json" },
|
||||
{ "path": "./src/test_utils/tsconfig.json" },
|
||||
{ "path": "./src/plugins/inspector/tsconfig.json" },
|
||||
{ "path": "./src/plugins/kibana_legacy/tsconfig.json" },
|
||||
{ "path": "./src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "./src/plugins/kibana_usage_collection/tsconfig.json" },
|
||||
{ "path": "./src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "./src/plugins/newsfeed/tsconfig.json" },
|
||||
{ "path": "./src/plugins/telemetry/tsconfig.json" },
|
||||
{ "path": "./src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||
{ "path": "./src/plugins/telemetry/tsconfig.json" },
|
||||
{ "path": "./src/plugins/url_forwarding/tsconfig.json" },
|
||||
{ "path": "./src/plugins/usage_collection/tsconfig.json" }
|
||||
{ "path": "./src/plugins/usage_collection/tsconfig.json" },
|
||||
{ "path": "./src/test_utils/tsconfig.json" }
|
||||
]
|
||||
}
|
||||
|
|
|
@ -22,13 +22,14 @@
|
|||
},
|
||||
"references": [
|
||||
{ "path": "../src/core/tsconfig.json" },
|
||||
{ "path": "../src/plugins/inspector/tsconfig.json" },
|
||||
{ "path": "../src/plugins/kibana_legacy/tsconfig.json" },
|
||||
{ "path": "../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../src/plugins/kibana_usage_collection/tsconfig.json" },
|
||||
{ "path": "../src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "../src/plugins/newsfeed/tsconfig.json" },
|
||||
{ "path": "../src/plugins/telemetry/tsconfig.json" },
|
||||
{ "path": "../src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||
{ "path": "../src/plugins/telemetry/tsconfig.json" },
|
||||
{ "path": "../src/plugins/url_forwarding/tsconfig.json" },
|
||||
{ "path": "../src/plugins/usage_collection/tsconfig.json" },
|
||||
{ "path": "./plugins/global_search/tsconfig.json" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue