Migrates index_management & runtime_fields to TS project refs (#89809)
This commit is contained in:
parent
0d54f07227
commit
9bee677f68
|
@ -21,4 +21,4 @@ const testBedConfig: TestBedConfig = {
|
||||||
|
|
||||||
const initTestBed = registerTestBed(WithAppDependencies(TemplateClone), testBedConfig);
|
const initTestBed = registerTestBed(WithAppDependencies(TemplateClone), testBedConfig);
|
||||||
|
|
||||||
export const setup = formSetup.bind(null, initTestBed);
|
export const setup: any = formSetup.bind(null, initTestBed);
|
||||||
|
|
|
@ -23,4 +23,4 @@ const initTestBed = registerTestBed<TestSubjects>(
|
||||||
testBedConfig
|
testBedConfig
|
||||||
);
|
);
|
||||||
|
|
||||||
export const setup = formSetup.bind(null, initTestBed);
|
export const setup: any = formSetup.bind(null, initTestBed);
|
||||||
|
|
|
@ -21,4 +21,4 @@ const testBedConfig: TestBedConfig = {
|
||||||
|
|
||||||
const initTestBed = registerTestBed<TestSubjects>(WithAppDependencies(TemplateEdit), testBedConfig);
|
const initTestBed = registerTestBed<TestSubjects>(WithAppDependencies(TemplateEdit), testBedConfig);
|
||||||
|
|
||||||
export const setup = formSetup.bind(null, initTestBed);
|
export const setup: any = formSetup.bind(null, initTestBed);
|
||||||
|
|
31
x-pack/plugins/index_management/tsconfig.json
Normal file
31
x-pack/plugins/index_management/tsconfig.json
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"extends": "../../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"composite": true,
|
||||||
|
"outDir": "./target/types",
|
||||||
|
"emitDeclarationOnly": true,
|
||||||
|
"declaration": true,
|
||||||
|
"declarationMap": true
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"__jest__/**/*",
|
||||||
|
"common/**/*",
|
||||||
|
"public/**/*",
|
||||||
|
"server/**/*",
|
||||||
|
"test/**/*",
|
||||||
|
"../../typings/**/*",
|
||||||
|
],
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../../src/core/tsconfig.json" },
|
||||||
|
{ "path": "../../../src/plugins/home/tsconfig.json" },
|
||||||
|
{ "path": "../../../src/plugins/management/tsconfig.json" },
|
||||||
|
{ "path": "../../../src/plugins/share/tsconfig.json" },
|
||||||
|
{ "path": "../../../src/plugins/usage_collection/tsconfig.json" },
|
||||||
|
{ "path": "../../../src/plugins/kibana_react/tsconfig.json" },
|
||||||
|
{ "path": "../../../src/plugins/es_ui_shared/tsconfig.json" },
|
||||||
|
{ "path": "../features/tsconfig.json" },
|
||||||
|
{ "path": "../licensing/tsconfig.json" },
|
||||||
|
{ "path": "../security/tsconfig.json" },
|
||||||
|
{ "path": "../runtime_fields/tsconfig.json" }
|
||||||
|
]
|
||||||
|
}
|
19
x-pack/plugins/runtime_fields/tsconfig.json
Normal file
19
x-pack/plugins/runtime_fields/tsconfig.json
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"extends": "../../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"composite": true,
|
||||||
|
"outDir": "./target/types",
|
||||||
|
"emitDeclarationOnly": true,
|
||||||
|
"declaration": true,
|
||||||
|
"declarationMap": true
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"public/**/*",
|
||||||
|
"../../../typings/**/*",
|
||||||
|
],
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../../src/core/tsconfig.json" },
|
||||||
|
{ "path": "../../../src/plugins/es_ui_shared/tsconfig.json" },
|
||||||
|
{ "path": "../../../src/plugins/kibana_legacy/tsconfig.json"}
|
||||||
|
]
|
||||||
|
}
|
|
@ -71,6 +71,8 @@
|
||||||
{ "path": "../plugins/snapshot_restore/tsconfig.json" },
|
{ "path": "../plugins/snapshot_restore/tsconfig.json" },
|
||||||
{ "path": "../plugins/grokdebugger/tsconfig.json" },
|
{ "path": "../plugins/grokdebugger/tsconfig.json" },
|
||||||
{ "path": "../plugins/painless_lab/tsconfig.json" },
|
{ "path": "../plugins/painless_lab/tsconfig.json" },
|
||||||
{ "path": "../plugins/watcher/tsconfig.json" }
|
{ "path": "../plugins/watcher/tsconfig.json" },
|
||||||
|
{ "path": "../plugins/runtime_fields/tsconfig.json" },
|
||||||
|
{ "path": "../plugins/index_management/tsconfig.json" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,6 +49,8 @@
|
||||||
"plugins/snapshot_restore/**/*",
|
"plugins/snapshot_restore/**/*",
|
||||||
"plugins/painless_lab/**/*",
|
"plugins/painless_lab/**/*",
|
||||||
"plugins/watcher/**/*",
|
"plugins/watcher/**/*",
|
||||||
|
"plugins/runtime_fields/**/*",
|
||||||
|
"plugins/index_management/**/*",
|
||||||
"plugins/grokdebugger/**/*",
|
"plugins/grokdebugger/**/*",
|
||||||
"test/**/*"
|
"test/**/*"
|
||||||
],
|
],
|
||||||
|
@ -133,6 +135,8 @@
|
||||||
{ "path": "./plugins/translations/tsconfig.json" },
|
{ "path": "./plugins/translations/tsconfig.json" },
|
||||||
{ "path": "./plugins/triggers_actions_ui/tsconfig.json" },
|
{ "path": "./plugins/triggers_actions_ui/tsconfig.json" },
|
||||||
{ "path": "./plugins/ui_actions_enhanced/tsconfig.json" },
|
{ "path": "./plugins/ui_actions_enhanced/tsconfig.json" },
|
||||||
|
{ "path": "./plugins/runtime_fields/tsconfig.json" },
|
||||||
|
{ "path": "./plugins/index_management/tsconfig.json" },
|
||||||
{ "path": "./plugins/watcher/tsconfig.json" }
|
{ "path": "./plugins/watcher/tsconfig.json" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,8 @@
|
||||||
{ "path": "./plugins/translations/tsconfig.json" },
|
{ "path": "./plugins/translations/tsconfig.json" },
|
||||||
{ "path": "./plugins/triggers_actions_ui/tsconfig.json" },
|
{ "path": "./plugins/triggers_actions_ui/tsconfig.json" },
|
||||||
{ "path": "./plugins/ui_actions_enhanced/tsconfig.json" },
|
{ "path": "./plugins/ui_actions_enhanced/tsconfig.json" },
|
||||||
|
{ "path": "./plugins/runtime_fields/tsconfig.json" },
|
||||||
|
{ "path": "./plugins/index_management/tsconfig.json" },
|
||||||
{ "path": "./plugins/watcher/tsconfig.json" }
|
{ "path": "./plugins/watcher/tsconfig.json" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue