Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] Sustainable Kibana Architecture: Move the rest of shared-ux mod…
…ules (#205924) (#206269) # Backport This will backport the following commits from `main` to `8.x`: - [Sustainable Kibana Architecture: Move the rest of shared-ux modules (#205924)](#205924) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Anton Dosov","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-10T11:30:37Z","message":"Sustainable Kibana Architecture: Move the rest of shared-ux modules (#205924)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 1 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/url-drilldown-plugin` |\r\n`x-pack/platform/plugins/private/drilldowns/url_drilldown` |\r\n\r\n\r\n\r\n\r\n#### 21 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/core-chrome-browser` | `src/core/packages/chrome/browser` |\r\n| `@kbn/deeplinks-shared` |\r\n`src/platform/packages/shared/deeplinks/shared` |\r\n| `@kbn/home-sample-data-card` |\r\n`src/platform/packages/shared/home/sample_data_card` |\r\n| `@kbn/home-sample-data-tab` |\r\n`src/platform/packages/shared/home/sample_data_tab` |\r\n| `@kbn/home-sample-data-types` |\r\n`src/platform/packages/shared/home/sample_data_types` |\r\n| `@kbn/guided-onboarding` |\r\n`src/platform/packages/shared/kbn-guided-onboarding` |\r\n| `@kbn/item-buffer` | `src/platform/packages/private/kbn-item-buffer` |\r\n| `@kbn/management-settings-section-registry` |\r\n`src/platform/packages/shared/kbn-management/settings/section_registry`\r\n|\r\n| `@kbn/management-settings-ids` |\r\n`src/platform/packages/shared/kbn-management/settings/setting_ids` |\r\n| `@kbn/react-mute-legacy-root-warning` |\r\n`src/platform/packages/private/kbn-react-mute-legacy-root-warning` |\r\n| `@kbn/saved-objects-settings` |\r\n`src/platform/packages/private/kbn-saved-objects-settings` |\r\n| `@kbn/react-kibana-context-common` |\r\n`src/platform/packages/shared/react/kibana_context/common` |\r\n| `@kbn/react-kibana-context-render` |\r\n`src/platform/packages/shared/react/kibana_context/render` |\r\n| `@kbn/react-kibana-context-root` |\r\n`src/platform/packages/shared/react/kibana_context/root` |\r\n| `@kbn/react-kibana-context-styled` |\r\n`src/platform/packages/shared/react/kibana_context/styled` |\r\n| `@kbn/react-kibana-context-theme` |\r\n`src/platform/packages/shared/react/kibana_context/theme` |\r\n| `@kbn/react-kibana-mount` |\r\n`src/platform/packages/shared/react/kibana_mount` |\r\n| `@kbn/serverless-project-switcher` |\r\n`src/platform/packages/private/serverless/project_switcher` |\r\n| `@kbn/serverless-common-settings` |\r\n`src/platform/packages/private/serverless/settings/common` |\r\n| `@kbn/serverless-observability-settings` |\r\n`src/platform/packages/shared/serverless/settings/observability_project`\r\n|\r\n| `@kbn/serverless-types` |\r\n`src/platform/packages/private/serverless/types` |\r\n\r\n\r\n<details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/core/packages/chrome/browser/jest.config.js:12\r\nsrc/core/packages/chrome/browser/tsconfig.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:21\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:24\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:27\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:30\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:33\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:36\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:39\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:42\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:45\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:48\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:51\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:54\r\nsrc/platform/packages/private/kbn-item-buffer/jest.config.js:12\r\nsrc/platform/packages/private/kbn-item-buffer/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/jest.config.js:12\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/jest.config.js:12\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/jest.config.js:12\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:23\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:20\r\nsrc/platform/packages/private/serverless/types/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:29\r\nsrc/platform/packages/shared/home/sample_data_tab/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_types/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_context/root/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/react/kibana_context/styled/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/theme/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:20\r\nx-pack/platform/plugins/private/drilldowns/url_drilldown/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"64b6a1a5e7f779e61799186ff3605beaeb7227e3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Drilldowns","v9.0.0","Team:SharedUX","backport:prev-minor","plugin groups"],"number":205924,"url":"https://github.com/elastic/kibana/pull/205924","mergeCommit":{"message":"Sustainable Kibana Architecture: Move the rest of shared-ux modules (#205924)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 1 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/url-drilldown-plugin` |\r\n`x-pack/platform/plugins/private/drilldowns/url_drilldown` |\r\n\r\n\r\n\r\n\r\n#### 21 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/core-chrome-browser` | `src/core/packages/chrome/browser` |\r\n| `@kbn/deeplinks-shared` |\r\n`src/platform/packages/shared/deeplinks/shared` |\r\n| `@kbn/home-sample-data-card` |\r\n`src/platform/packages/shared/home/sample_data_card` |\r\n| `@kbn/home-sample-data-tab` |\r\n`src/platform/packages/shared/home/sample_data_tab` |\r\n| `@kbn/home-sample-data-types` |\r\n`src/platform/packages/shared/home/sample_data_types` |\r\n| `@kbn/guided-onboarding` |\r\n`src/platform/packages/shared/kbn-guided-onboarding` |\r\n| `@kbn/item-buffer` | `src/platform/packages/private/kbn-item-buffer` |\r\n| `@kbn/management-settings-section-registry` |\r\n`src/platform/packages/shared/kbn-management/settings/section_registry`\r\n|\r\n| `@kbn/management-settings-ids` |\r\n`src/platform/packages/shared/kbn-management/settings/setting_ids` |\r\n| `@kbn/react-mute-legacy-root-warning` |\r\n`src/platform/packages/private/kbn-react-mute-legacy-root-warning` |\r\n| `@kbn/saved-objects-settings` |\r\n`src/platform/packages/private/kbn-saved-objects-settings` |\r\n| `@kbn/react-kibana-context-common` |\r\n`src/platform/packages/shared/react/kibana_context/common` |\r\n| `@kbn/react-kibana-context-render` |\r\n`src/platform/packages/shared/react/kibana_context/render` |\r\n| `@kbn/react-kibana-context-root` |\r\n`src/platform/packages/shared/react/kibana_context/root` |\r\n| `@kbn/react-kibana-context-styled` |\r\n`src/platform/packages/shared/react/kibana_context/styled` |\r\n| `@kbn/react-kibana-context-theme` |\r\n`src/platform/packages/shared/react/kibana_context/theme` |\r\n| `@kbn/react-kibana-mount` |\r\n`src/platform/packages/shared/react/kibana_mount` |\r\n| `@kbn/serverless-project-switcher` |\r\n`src/platform/packages/private/serverless/project_switcher` |\r\n| `@kbn/serverless-common-settings` |\r\n`src/platform/packages/private/serverless/settings/common` |\r\n| `@kbn/serverless-observability-settings` |\r\n`src/platform/packages/shared/serverless/settings/observability_project`\r\n|\r\n| `@kbn/serverless-types` |\r\n`src/platform/packages/private/serverless/types` |\r\n\r\n\r\n<details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/core/packages/chrome/browser/jest.config.js:12\r\nsrc/core/packages/chrome/browser/tsconfig.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:21\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:24\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:27\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:30\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:33\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:36\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:39\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:42\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:45\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:48\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:51\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:54\r\nsrc/platform/packages/private/kbn-item-buffer/jest.config.js:12\r\nsrc/platform/packages/private/kbn-item-buffer/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/jest.config.js:12\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/jest.config.js:12\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/jest.config.js:12\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:23\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:20\r\nsrc/platform/packages/private/serverless/types/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:29\r\nsrc/platform/packages/shared/home/sample_data_tab/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_types/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_context/root/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/react/kibana_context/styled/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/theme/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:20\r\nx-pack/platform/plugins/private/drilldowns/url_drilldown/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"64b6a1a5e7f779e61799186ff3605beaeb7227e3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205924","number":205924,"mergeCommit":{"message":"Sustainable Kibana Architecture: Move the rest of shared-ux modules (#205924)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 1 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/url-drilldown-plugin` |\r\n`x-pack/platform/plugins/private/drilldowns/url_drilldown` |\r\n\r\n\r\n\r\n\r\n#### 21 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/core-chrome-browser` | `src/core/packages/chrome/browser` |\r\n| `@kbn/deeplinks-shared` |\r\n`src/platform/packages/shared/deeplinks/shared` |\r\n| `@kbn/home-sample-data-card` |\r\n`src/platform/packages/shared/home/sample_data_card` |\r\n| `@kbn/home-sample-data-tab` |\r\n`src/platform/packages/shared/home/sample_data_tab` |\r\n| `@kbn/home-sample-data-types` |\r\n`src/platform/packages/shared/home/sample_data_types` |\r\n| `@kbn/guided-onboarding` |\r\n`src/platform/packages/shared/kbn-guided-onboarding` |\r\n| `@kbn/item-buffer` | `src/platform/packages/private/kbn-item-buffer` |\r\n| `@kbn/management-settings-section-registry` |\r\n`src/platform/packages/shared/kbn-management/settings/section_registry`\r\n|\r\n| `@kbn/management-settings-ids` |\r\n`src/platform/packages/shared/kbn-management/settings/setting_ids` |\r\n| `@kbn/react-mute-legacy-root-warning` |\r\n`src/platform/packages/private/kbn-react-mute-legacy-root-warning` |\r\n| `@kbn/saved-objects-settings` |\r\n`src/platform/packages/private/kbn-saved-objects-settings` |\r\n| `@kbn/react-kibana-context-common` |\r\n`src/platform/packages/shared/react/kibana_context/common` |\r\n| `@kbn/react-kibana-context-render` |\r\n`src/platform/packages/shared/react/kibana_context/render` |\r\n| `@kbn/react-kibana-context-root` |\r\n`src/platform/packages/shared/react/kibana_context/root` |\r\n| `@kbn/react-kibana-context-styled` |\r\n`src/platform/packages/shared/react/kibana_context/styled` |\r\n| `@kbn/react-kibana-context-theme` |\r\n`src/platform/packages/shared/react/kibana_context/theme` |\r\n| `@kbn/react-kibana-mount` |\r\n`src/platform/packages/shared/react/kibana_mount` |\r\n| `@kbn/serverless-project-switcher` |\r\n`src/platform/packages/private/serverless/project_switcher` |\r\n| `@kbn/serverless-common-settings` |\r\n`src/platform/packages/private/serverless/settings/common` |\r\n| `@kbn/serverless-observability-settings` |\r\n`src/platform/packages/shared/serverless/settings/observability_project`\r\n|\r\n| `@kbn/serverless-types` |\r\n`src/platform/packages/private/serverless/types` |\r\n\r\n\r\n<details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/core/packages/chrome/browser/jest.config.js:12\r\nsrc/core/packages/chrome/browser/tsconfig.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:21\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:24\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:27\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:30\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:33\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:36\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:39\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:42\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:45\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:48\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:51\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:54\r\nsrc/platform/packages/private/kbn-item-buffer/jest.config.js:12\r\nsrc/platform/packages/private/kbn-item-buffer/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/jest.config.js:12\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/jest.config.js:12\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/jest.config.js:12\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:23\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:20\r\nsrc/platform/packages/private/serverless/types/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:29\r\nsrc/platform/packages/shared/home/sample_data_tab/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_types/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_context/root/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/react/kibana_context/styled/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/theme/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:20\r\nx-pack/platform/plugins/private/drilldowns/url_drilldown/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"64b6a1a5e7f779e61799186ff3605beaeb7227e3"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information