mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
[Asset Management] Migrate Osquery plugin to TS project references (#90916)
This commit is contained in:
parent
d1653bc425
commit
c058d9b024
5 changed files with 39 additions and 2 deletions
|
@ -87,6 +87,7 @@
|
|||
{ "path": "./x-pack/plugins/maps/tsconfig.json" },
|
||||
{ "path": "./x-pack/plugins/ml/tsconfig.json" },
|
||||
{ "path": "./x-pack/plugins/observability/tsconfig.json" },
|
||||
{ "path": "./x-pack/plugins/osquery/tsconfig.json" },
|
||||
{ "path": "./x-pack/plugins/painless_lab/tsconfig.json" },
|
||||
{ "path": "./x-pack/plugins/reporting/tsconfig.json" },
|
||||
{ "path": "./x-pack/plugins/saved_objects_tagging/tsconfig.json" },
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
"requiredBundles": [
|
||||
"esUiShared",
|
||||
"kibanaUtils",
|
||||
"kibanaReact",
|
||||
"kibanaUtils"
|
||||
"kibanaReact"
|
||||
],
|
||||
"requiredPlugins": [
|
||||
"data",
|
||||
|
|
34
x-pack/plugins/osquery/tsconfig.json
Normal file
34
x-pack/plugins/osquery/tsconfig.json
Normal file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
},
|
||||
"include": [
|
||||
// add all the folders contains files to be compiled
|
||||
"common/**/*",
|
||||
"public/**/*",
|
||||
"server/**/*"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../../../src/core/tsconfig.json" },
|
||||
// add references to other TypeScript projects the plugin depends on
|
||||
|
||||
// requiredPlugins from ./kibana.json
|
||||
{ "path": "../../../src/plugins/data/tsconfig.json" },
|
||||
{ "path": "../../../src/plugins/navigation/tsconfig.json" },
|
||||
{ "path": "../data_enhanced/tsconfig.json" },
|
||||
{ "path": "../fleet/tsconfig.json" },
|
||||
|
||||
// optionalPlugins from ./kibana.json
|
||||
{ "path": "../../../src/plugins/home/tsconfig.json" },
|
||||
|
||||
// requiredBundles from ./kibana.json
|
||||
{ "path": "../../../src/plugins/es_ui_shared/tsconfig.json" },
|
||||
{ "path": "../../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../../../src/plugins/kibana_utils/tsconfig.json" },
|
||||
]
|
||||
}
|
|
@ -68,6 +68,7 @@
|
|||
{ "path": "../plugins/licensing/tsconfig.json" },
|
||||
{ "path": "../plugins/ml/tsconfig.json" },
|
||||
{ "path": "../plugins/observability/tsconfig.json" },
|
||||
{ "path": "../plugins/osquery/tsconfig.json" },
|
||||
{ "path": "../plugins/painless_lab/tsconfig.json" },
|
||||
{ "path": "../plugins/runtime_fields/tsconfig.json" },
|
||||
{ "path": "../plugins/saved_objects_tagging/tsconfig.json" },
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
"plugins/maps_legacy_licensing/**/*",
|
||||
"plugins/ml/**/*",
|
||||
"plugins/observability/**/*",
|
||||
"plugins/osquery/**/*",
|
||||
"plugins/reporting/**/*",
|
||||
"plugins/searchprofiler/**/*",
|
||||
"plugins/security_solution/cypress/**/*",
|
||||
|
@ -133,6 +134,7 @@
|
|||
{ "path": "./plugins/maps/tsconfig.json" },
|
||||
{ "path": "./plugins/ml/tsconfig.json" },
|
||||
{ "path": "./plugins/observability/tsconfig.json" },
|
||||
{ "path": "./plugins/osquery/tsconfig.json" },
|
||||
{ "path": "./plugins/painless_lab/tsconfig.json" },
|
||||
{ "path": "./plugins/saved_objects_tagging/tsconfig.json" },
|
||||
{ "path": "./plugins/searchprofiler/tsconfig.json" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue