mirror of
https://github.com/elastic/kibana.git
synced 2025-04-19 15:35:00 -04:00
SKA: Fix kebab-case issues in search-kibana packages (#211348)
## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > * This PR has been auto-generated. > * Any manual contributions will be lost if the 'relocate' script is re-run. > * Try to obtain the missing reviews / approvals before applying manual fixes, and/or keep your changes in a .patch / git stash. > * Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe [here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E). #### 1 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/search-shared-ui` | `x-pack/solutions/search/packages/shared-ui` | <details > <summary>Updated references</summary> ``` ./package.json ./packages/kbn-relocate/utils/transforms.ts ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/private/kbn-repo-packages/package-map.json ./tsconfig.base.json ./x-pack/.i18nrc.json ./x-pack/solutions/search/packages/shared-ui/jest.config.js ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` x-pack/solutions/search/packages/shared-ui/jest.config.js:14 x-pack/solutions/search/packages/shared-ui/tsconfig.json:2 ``` </details>
This commit is contained in:
parent
2438336758
commit
11cd98bfc1
21 changed files with 9 additions and 9 deletions
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
@ -963,7 +963,7 @@ x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana
|
|||
x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana
|
||||
x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana
|
||||
x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana
|
||||
x-pack/solutions/search/packages/shared_ui @elastic/search-kibana
|
||||
x-pack/solutions/search/packages/shared-ui @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/enterprise_search @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/search_assistant @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/search_connectors @elastic/search-kibana
|
||||
|
|
|
@ -815,7 +815,7 @@
|
|||
"@kbn/search-notebooks": "link:x-pack/solutions/search/plugins/search_notebooks",
|
||||
"@kbn/search-playground": "link:x-pack/solutions/search/plugins/search_playground",
|
||||
"@kbn/search-response-warnings": "link:src/platform/packages/shared/kbn-search-response-warnings",
|
||||
"@kbn/search-shared-ui": "link:x-pack/solutions/search/packages/shared_ui",
|
||||
"@kbn/search-shared-ui": "link:x-pack/solutions/search/packages/shared-ui",
|
||||
"@kbn/search-synonyms": "link:x-pack/solutions/search/plugins/search_synonyms",
|
||||
"@kbn/search-types": "link:src/platform/packages/shared/kbn-search-types",
|
||||
"@kbn/searchprofiler-plugin": "link:x-pack/platform/plugins/shared/searchprofiler",
|
||||
|
|
|
@ -1620,8 +1620,8 @@
|
|||
"@kbn/search-playground/*": ["x-pack/solutions/search/plugins/search_playground/*"],
|
||||
"@kbn/search-response-warnings": ["src/platform/packages/shared/kbn-search-response-warnings"],
|
||||
"@kbn/search-response-warnings/*": ["src/platform/packages/shared/kbn-search-response-warnings/*"],
|
||||
"@kbn/search-shared-ui": ["x-pack/solutions/search/packages/shared_ui"],
|
||||
"@kbn/search-shared-ui/*": ["x-pack/solutions/search/packages/shared_ui/*"],
|
||||
"@kbn/search-shared-ui": ["x-pack/solutions/search/packages/shared-ui"],
|
||||
"@kbn/search-shared-ui/*": ["x-pack/solutions/search/packages/shared-ui/*"],
|
||||
"@kbn/search-synonyms": ["x-pack/solutions/search/plugins/search_synonyms"],
|
||||
"@kbn/search-synonyms/*": ["x-pack/solutions/search/plugins/search_synonyms/*"],
|
||||
"@kbn/search-types": ["src/platform/packages/shared/kbn-search-types"],
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
],
|
||||
"xpack.runtimeFields": "platform/plugins/private/runtime_fields",
|
||||
"xpack.screenshotting": "platform/plugins/shared/screenshotting",
|
||||
"xpack.searchSharedUI": "solutions/search/packages/shared_ui",
|
||||
"xpack.searchSharedUI": "solutions/search/packages/shared-ui",
|
||||
"xpack.searchHomepage": "solutions/search/plugins/search_homepage",
|
||||
"xpack.searchIndices": "solutions/search/plugins/search_indices",
|
||||
"xpack.searchNavigation": "solutions/search/plugins/search_solution/search_navigation",
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
module.exports = {
|
||||
coverageDirectory:
|
||||
'<rootDir>/target/kibana-coverage/jest/x-pack/solutions/search/packages/shared_ui',
|
||||
'<rootDir>/target/kibana-coverage/jest/x-pack/solutions/search/packages/shared-ui',
|
||||
coverageReporters: ['text', 'html'],
|
||||
collectCoverageFrom: ['<rootDir>/x-pack/solutions/search/packages/shared_ui/**/*.{ts,tsx}'],
|
||||
collectCoverageFrom: ['<rootDir>/x-pack/solutions/search/packages/shared-ui/**/*.{ts,tsx}'],
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/x-pack/solutions/search/packages/shared_ui'],
|
||||
roots: ['<rootDir>/x-pack/solutions/search/packages/shared-ui'],
|
||||
};
|
|
@ -7109,7 +7109,7 @@
|
|||
version "0.0.0"
|
||||
uid ""
|
||||
|
||||
"@kbn/search-shared-ui@link:x-pack/solutions/search/packages/shared_ui":
|
||||
"@kbn/search-shared-ui@link:x-pack/solutions/search/packages/shared-ui":
|
||||
version "0.0.0"
|
||||
uid ""
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue