Skip to content

Commit

Permalink
[7.x] Migrates ingest_pipelines to a TS project ref (#89505) (#89897)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
TinaHeiligers and kibanamachine authored Feb 1, 2021
1 parent 00c8a22 commit f845e19
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { useKibana } from '../../../../../../../../shared_imports';
import { useIsMounted } from '../../../../../use_is_mounted';
import { AddDocumentForm } from '../add_document_form';

import './add_documents_accordion.scss';
import './add_docs_accordion.scss';

const DISCOVER_URL_GENERATOR_ID = 'DISCOVER_APP_URL_GENERATOR';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* you may not use this file except in compliance with the Elastic License.
*/

export { AddDocumentsAccordion } from './add_documents_accordion';
export { AddDocumentsAccordion } from './add_docs_accordion';
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
Form,
} from '../../../../../../../shared_imports';
import { Document } from '../../../../types';
import { AddDocumentsAccordion } from './add_documents_accordion';
import { AddDocumentsAccordion } from './add_docs_accordion';
import { ResetDocumentsModal } from './reset_documents_modal';

import './tab_documents.scss';
Expand Down
28 changes: 28 additions & 0 deletions x-pack/plugins/ingest_pipelines/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"outDir": "./target/types",
"emitDeclarationOnly": true,
"declaration": true,
"declarationMap": true
},
"include": [
"common/**/*",
"public/**/*",
"server/**/*",
"__jest__/**/*",
"../../typings/**/*"
],
"references": [
{ "path": "../../../src/core/tsconfig.json" },
{ "path": "../licensing/tsconfig.json" },
{ "path": "../features/tsconfig.json" },
{ "path": "../security/tsconfig.json" },
{ "path": "../../../src/plugins/es_ui_shared/tsconfig.json"},
{ "path": "../../../src/plugins/kibana_react/tsconfig.json"},
{ "path": "../../../src/plugins/management/tsconfig.json"},
{ "path": "../../../src/plugins/share/tsconfig.json"},
{ "path": "../../../src/plugins/usage_collection/tsconfig.json"},
]
}
1 change: 1 addition & 0 deletions x-pack/test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
{ "path": "../plugins/cloud/tsconfig.json" },
{ "path": "../plugins/saved_objects_tagging/tsconfig.json" },
{ "path": "../plugins/global_search_bar/tsconfig.json" },
{ "path": "../plugins/ingest_pipelines/tsconfig.json" },
{ "path": "../plugins/license_management/tsconfig.json" },
{ "path": "../plugins/painless_lab/tsconfig.json" },
{ "path": "../plugins/watcher/tsconfig.json" }
Expand Down
6 changes: 6 additions & 0 deletions x-pack/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"plugins/cloud/**/*",
"plugins/saved_objects_tagging/**/*",
"plugins/global_search_bar/**/*",
"plugins/ingest_pipelines/**/*",
"plugins/license_management/**/*",
"plugins/painless_lab/**/*",
"plugins/watcher/**/*",
Expand Down Expand Up @@ -115,6 +116,11 @@
{ "path": "./plugins/task_manager/tsconfig.json" },
{ "path": "./plugins/telemetry_collection_xpack/tsconfig.json" },
{ "path": "./plugins/translations/tsconfig.json" },
{ "path": "./plugins/triggers_actions_ui/tsconfig.json"},
{ "path": "./plugins/stack_alerts/tsconfig.json"},
{ "path": "./plugins/ingest_pipelines/tsconfig.json"},
{ "path": "./plugins/license_management/tsconfig.json" },
{ "path": "./plugins/painless_lab/tsconfig.json" },
{ "path": "./plugins/triggers_actions_ui/tsconfig.json" },
{ "path": "./plugins/ui_actions_enhanced/tsconfig.json" },
{ "path": "./plugins/watcher/tsconfig.json" }
Expand Down
11 changes: 11 additions & 0 deletions x-pack/tsconfig.refs.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@
{ "path": "./plugins/telemetry_collection_xpack/tsconfig.json" },
{ "path": "./plugins/translations/tsconfig.json" },
{ "path": "./plugins/triggers_actions_ui/tsconfig.json"},
{ "path": "./plugins/spaces/tsconfig.json" },
{ "path": "./plugins/security/tsconfig.json" },
{ "path": "./plugins/stack_alerts/tsconfig.json"},
{ "path": "./plugins/encrypted_saved_objects/tsconfig.json" },
{ "path": "./plugins/beats_management/tsconfig.json" },
{ "path": "./plugins/cloud/tsconfig.json" },
{ "path": "./plugins/saved_objects_tagging/tsconfig.json" },
{ "path": "./plugins/global_search_bar/tsconfig.json" },
{ "path": "./plugins/ingest_pipelines/tsconfig.json" },
{ "path": "./plugins/license_management/tsconfig.json" },
{ "path": "./plugins/painless_lab/tsconfig.json" },
{ "path": "./plugins/ui_actions_enhanced/tsconfig.json" },
{ "path": "./plugins/watcher/tsconfig.json" }
]
Expand Down

0 comments on commit f845e19

Please sign in to comment.