mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
TS project references for share plugin (#82051)
This commit is contained in:
parent
415a063dd0
commit
5a9bfc3ee2
6 changed files with 31 additions and 19 deletions
15
src/plugins/share/tsconfig.json
Normal file
15
src/plugins/share/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/**/*", "server/**/*"],
|
||||
"references": [
|
||||
{ "path": "../../core/tsconfig.json" },
|
||||
{ "path": "../../plugins/kibana_utils/tsconfig.json" }
|
||||
]
|
||||
}
|
|
@ -13,6 +13,7 @@
|
|||
"src/plugins/kibana_usage_collection/**/*",
|
||||
"src/plugins/kibana_utils/**/*",
|
||||
"src/plugins/newsfeed/**/*",
|
||||
"src/plugins/share/**/*",
|
||||
"src/plugins/telemetry_collection_manager/**/*",
|
||||
"src/plugins/telemetry/**/*",
|
||||
"src/plugins/url_forwarding/**/*",
|
||||
|
@ -31,6 +32,7 @@
|
|||
{ "path": "./src/plugins/kibana_usage_collection/tsconfig.json" },
|
||||
{ "path": "./src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "./src/plugins/newsfeed/tsconfig.json" },
|
||||
{ "path": "./src/plugins/share/tsconfig.json" },
|
||||
{ "path": "./src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||
{ "path": "./src/plugins/telemetry/tsconfig.json" },
|
||||
{ "path": "./src/plugins/usage_collection/tsconfig.json" },
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
{ "path": "./src/plugins/kibana_usage_collection/tsconfig.json" },
|
||||
{ "path": "./src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "./src/plugins/newsfeed/tsconfig.json" },
|
||||
{ "path": "./src/plugins/share/tsconfig.json" },
|
||||
{ "path": "./src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||
{ "path": "./src/plugins/telemetry/tsconfig.json" },
|
||||
{ "path": "./src/plugins/url_forwarding/tsconfig.json" },
|
||||
|
|
|
@ -16,5 +16,6 @@
|
|||
{ "path": "../../../src/core/tsconfig.json" },
|
||||
{ "path": "../../../src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "../../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../../../src/plugins/share/tsconfig.json" }
|
||||
]
|
||||
}
|
||||
|
|
|
@ -3,30 +3,22 @@
|
|||
"compilerOptions": {
|
||||
// overhead is too significant
|
||||
"incremental": false,
|
||||
"types": [
|
||||
"mocha",
|
||||
"node",
|
||||
"flot"
|
||||
]
|
||||
"types": ["mocha", "node", "flot"]
|
||||
},
|
||||
"include": [
|
||||
"**/*",
|
||||
"../typings/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"../typings/jest.d.ts"
|
||||
],
|
||||
"include": ["**/*", "../typings/**/*"],
|
||||
"exclude": ["../typings/jest.d.ts"],
|
||||
"references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../plugins/licensing/tsconfig.json" },
|
||||
{ "path": "../plugins/global_search/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/share/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": "../plugins/telemetry_collection_xpack/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/newsfeed/tsconfig.json" }
|
||||
{ "path": "../../src/plugins/usage_collection/tsconfig.json" },
|
||||
{ "path": "../plugins/global_search/tsconfig.json" },
|
||||
{ "path": "../plugins/licensing/tsconfig.json" },
|
||||
{ "path": "../plugins/telemetry_collection_xpack/tsconfig.json" }
|
||||
]
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
{ "path": "../src/plugins/kibana_usage_collection/tsconfig.json" },
|
||||
{ "path": "../src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "../src/plugins/newsfeed/tsconfig.json" },
|
||||
{ "path": "../src/plugins/share/tsconfig.json" },
|
||||
{ "path": "../src/plugins/telemetry_collection_manager/tsconfig.json" },
|
||||
{ "path": "../src/plugins/telemetry/tsconfig.json" },
|
||||
{ "path": "../src/plugins/url_forwarding/tsconfig.json" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue