Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sustainable Kibana Architecture: Move modules owned by @elastic/fleet #202422

Merged
merged 10 commits into from
Dec 24, 2024

Conversation

gsoldevila
Copy link
Contributor

@gsoldevila gsoldevila commented Dec 2, 2024

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 Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe here.

2 plugin(s) are going to be relocated:

Id Target folder
@kbn/custom-integrations-plugin src/platform/plugins/shared/custom_integrations
@kbn/fleet-plugin x-pack/platform/plugins/shared/fleet

1 packages(s) are going to be relocated:

Id Target folder
@kbn/deeplinks-fleet src/platform/packages/shared/deeplinks/fleet
Script errors
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Updated relative paths
src/platform/packages/shared/deeplinks/fleet/jest.config.js:12
src/platform/packages/shared/deeplinks/fleet/tsconfig.json:2
src/platform/packages/shared/deeplinks/fleet/tsconfig.type_check.json:2
src/platform/plugins/shared/custom_integrations/jest.config.js:12
src/platform/plugins/shared/custom_integrations/tsconfig.json:2
src/platform/plugins/shared/custom_integrations/tsconfig.json:7
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:2
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:20
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:26
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:29
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:32
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:35
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:38
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:41
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:9
x-pack/platform/plugins/shared/fleet/cypress.config.js:22
x-pack/platform/plugins/shared/fleet/cypress.config.js:25
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:26
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:29
x-pack/platform/plugins/shared/fleet/cypress.config.ts:25
x-pack/platform/plugins/shared/fleet/cypress.config.ts:28
x-pack/platform/plugins/shared/fleet/cypress/README.md:122
x-pack/platform/plugins/shared/fleet/cypress/README.md:128
x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:6
x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:8
x-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts:21
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:2
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:7
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:25
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:28
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:31
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:37
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:40
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:7
x-pack/platform/plugins/shared/fleet/jest.config.js:10
x-pack/platform/plugins/shared/fleet/jest.integration.config.js:10
x-pack/platform/plugins/shared/fleet/package.json:11
x-pack/platform/plugins/shared/fleet/package.json:12
x-pack/platform/plugins/shared/fleet/package.json:15
x-pack/platform/plugins/shared/fleet/package.json:16
x-pack/platform/plugins/shared/fleet/package.json:8
x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:25
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:26
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:27
x-pack/platform/plugins/shared/fleet/tsconfig.json:2
x-pack/platform/plugins/shared/fleet/tsconfig.json:22
x-pack/platform/plugins/shared/fleet/tsconfig.json:26
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:102
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:105
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:111
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:114
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:120
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:123
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:126
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:129
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:132
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:135
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:144
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:147
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:150
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:153
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:156
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:159
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:162
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:165
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:168
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:171
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:174
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:177
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:180
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:183
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:186
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:189
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:192
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:195
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:198
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:201
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:204
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:207
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:210
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:213
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:216
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:219
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:222
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:225
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:228
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:23
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:231
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:234
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:237
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:240
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:243
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:246
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:249
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:252
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:255
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:261
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:264
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:27
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:270
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:273
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:276
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:279
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:30
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:36
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:42
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:45
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:57
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:60
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:63
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:66
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:72
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:75
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:78
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:81
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:84
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:87
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:90
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:93
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:96
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:99

@gsoldevila gsoldevila added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Dec 2, 2024
@gsoldevila gsoldevila requested review from a team as code owners December 2, 2024 10:20
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

Copy link
Contributor

github-actions bot commented Dec 2, 2024

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@gsoldevila gsoldevila changed the title Move modules owned by @elastic/fleet Sustainable Kibana Architecture: Move modules owned by @elastic/fleet Dec 2, 2024
Copy link
Contributor

@szwarckonrad szwarckonrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Defend Workflows changes LGTM!

Note: All changes within x-pack/plugins/security_solution/*/endpoint are limited to updating references in comments, with no impact on the code or behavior whatsoever.

@@ -18,7 +18,7 @@ import { request } from './common';
* Credentials in the `kibana.dev.yml` config file will be used to authenticate
* with Kibana when credentials are not provided via environment variables
*/
const KIBANA_DEV_YML_PATH = '../../../config/kibana.dev.yml';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure this path was correct event before the relocation.
@elastic/fleet could you please review and fix if needed in a follow-up PR? TIA

"reporterOptions": {
"html": false,
"json": true,
"mochaFile": "../../../../../target/kibana-fleet/cypress/results/TEST-fleet-cypress-[hash].xml",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure these 2 relative paths are correct.
I imagine the target folder should be straight under the root, and I don't think this was the case even before the relocation.
@elastic/fleet Could you please review and fix in a follow-up PR if needed? TIA

@dokmic dokmic force-pushed the kbn-team-1309-move-fleet branch from d11a1f1 to 65f1f90 Compare December 18, 2024 14:23
@dokmic dokmic force-pushed the kbn-team-1309-move-fleet branch from 65f1f90 to 134b017 Compare December 18, 2024 23:56
@pgayvallet pgayvallet force-pushed the kbn-team-1309-move-fleet branch from 42bd00a to a2aa6f0 Compare December 23, 2024 16:21
Copy link
Contributor

@shainaraskas shainaraskas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get_doc_links lgtm

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

@pgayvallet pgayvallet added backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) and removed backport:skip This commit does not require backporting labels Dec 24, 2024
@pgayvallet pgayvallet merged commit fce686b into elastic:main Dec 24, 2024
12 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12482999645

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 202422

Questions ?

Please refer to the Backport tool documentation

pgayvallet pushed a commit to pgayvallet/kibana that referenced this pull request Dec 24, 2024
…t` (elastic#202422)

## 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).

#### 2 plugin(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/custom-integrations-plugin` |
`src/platform/plugins/shared/custom_integrations` |
| `@kbn/fleet-plugin` | `x-pack/platform/plugins/shared/fleet` |

#### 1 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/deeplinks-fleet` |
`src/platform/packages/shared/deeplinks/fleet` |

<details open>
<summary>Script errors</summary>

```
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
```

</details><details >
<summary>Updated relative paths</summary>

```
src/platform/packages/shared/deeplinks/fleet/jest.config.js:12
src/platform/packages/shared/deeplinks/fleet/tsconfig.json:2
src/platform/packages/shared/deeplinks/fleet/tsconfig.type_check.json:2
src/platform/plugins/shared/custom_integrations/jest.config.js:12
src/platform/plugins/shared/custom_integrations/tsconfig.json:2
src/platform/plugins/shared/custom_integrations/tsconfig.json:7
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:2
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:20
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:26
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:29
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:32
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:35
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:38
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:41
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:9
x-pack/platform/plugins/shared/fleet/cypress.config.js:22
x-pack/platform/plugins/shared/fleet/cypress.config.js:25
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:26
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:29
x-pack/platform/plugins/shared/fleet/cypress.config.ts:25
x-pack/platform/plugins/shared/fleet/cypress.config.ts:28
x-pack/platform/plugins/shared/fleet/cypress/README.md:122
x-pack/platform/plugins/shared/fleet/cypress/README.md:128
x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:6
x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:8
x-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts:21
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:2
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:7
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:25
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:28
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:31
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:37
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:40
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:7
x-pack/platform/plugins/shared/fleet/jest.config.js:10
x-pack/platform/plugins/shared/fleet/jest.integration.config.js:10
x-pack/platform/plugins/shared/fleet/package.json:11
x-pack/platform/plugins/shared/fleet/package.json:12
x-pack/platform/plugins/shared/fleet/package.json:15
x-pack/platform/plugins/shared/fleet/package.json:16
x-pack/platform/plugins/shared/fleet/package.json:8
x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:25
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:26
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:27
x-pack/platform/plugins/shared/fleet/tsconfig.json:2
x-pack/platform/plugins/shared/fleet/tsconfig.json:22
x-pack/platform/plugins/shared/fleet/tsconfig.json:26
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:102
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:105
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:111
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:114
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:120
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:123
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:126
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:129
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:132
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:135
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:144
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:147
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:150
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:153
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:156
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:159
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:162
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:165
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:168
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:171
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:174
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:177
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:180
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:183
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:186
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:189
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:192
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:195
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:198
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:201
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:204
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:207
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:210
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:213
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:216
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:219
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:222
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:225
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:228
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:23
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:231
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:234
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:237
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:240
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:243
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:246
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:249
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:252
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:255
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:261
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:264
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:27
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:270
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:273
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:276
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:279
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:30
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:36
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:42
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:45
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:57
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:60
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:63
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:66
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:72
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:75
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:78
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:81
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:84
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:87
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:90
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:93
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:96
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:99
```

</details>

---------

Co-authored-by: pgayvallet <[email protected]>
Co-authored-by: Nicolas Chaulet <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit fce686b)

# Conflicts:
#	.github/CODEOWNERS
#	.i18nrc.json
#	package.json
#	packages/kbn-babel-preset/styled_components_files.js
#	src/dev/storybook/aliases.ts
#	tsconfig.base.json
#	x-pack/.i18nrc.json
#	x-pack/platform/plugins/shared/fleet/common/openapi/README.md
#	x-pack/platform/plugins/shared/fleet/common/openapi/bundled.json
#	x-pack/platform/plugins/shared/fleet/common/openapi/bundled.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/README.md
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/headers/kbn_xsrf.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/parameters/format.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/parameters/kuery.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/parameters/page_index.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/parameters/page_size.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/parameters/show_inactive.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/parameters/show_upgradeable.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/parameters/sort_field.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/parameters/sort_order.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/parameters/with_metrics.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/responses/error.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_action.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_component.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_component_status.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_component_unit.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_component_unit_type.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_diagnostics.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_get_by_actions.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_metadata.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_policy.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_policy_create_request.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_policy_full.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_policy_update_request.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_status.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/agent_type.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/bulk_install_packages_response.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/bulk_upgrade_agents.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/data_stream.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/download_sources.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/elasticsearch_asset_type.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/enrollment_api_key.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/fleet_server_host.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/fleet_settings_enrollment_response.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/fleet_settings_response.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/fleet_setup_response.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/fleet_status_response.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/full_agent_policy.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/full_agent_policy_input.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/full_agent_policy_input_stream.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/full_agent_policy_output.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/full_agent_policy_output_permissions.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/get_agent_tags_response.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/get_agents_response.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/get_bulk_assets_response.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/get_categories_response.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/get_packages_response.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/install_result.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/installation_info.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/kibana_saved_object_type.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/new_package_policy.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/output_create_request.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/output_create_request_elasticsearch.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/output_create_request_kafka.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/output_create_request_logstash.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/output_create_request_remote_elasticsearch.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/output_update_request.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/output_update_request_elasticsearch.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/output_update_request_kafka.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/output_update_request_logstash.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/package_info.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/package_policy.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/package_policy_request.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/package_usage_stats.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/proxies.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/saved_object_type.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/search_result.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/settings.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/update_package_policy.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/upgrade_agent.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/upgrade_agent_diff.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/upgrade_diff.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/components/schemas/upgrade_managed_package_policies.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/entrypoint.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/README.md
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agent_download_sources.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agent_download_sources@{source_id}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agent_policies.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agent_policies@_bulk_get.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/[email protected]
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agent_policies@{agent_policy_id}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agent_policies@{agent_policy_id}@copy.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agent_policies@{agent_policy_id}@download.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agent_policies@{agent_policy_id}@full.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agent_status.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/[email protected]
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agent_status_deprecated.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agent_tags.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@action_status.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@actions@{action_id}@cancel.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@bulk_reassign.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@bulk_request_diagnostics.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@bulk_unenroll.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@bulk_update_tags.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@bulk_upgrade.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@current_upgrades.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@files@{file_id}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@files@{file_id}@{file_name}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/[email protected]
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@{agent_id}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@{agent_id}@actions.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@{agent_id}@reassign.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@{agent_id}@request_diagnostics.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@{agent_id}@unenroll.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@{agent_id}@upgrade.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/agents@{agent_id}@uploads.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/data_streams.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/enrollment_api_keys.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/enrollment_api_keys@{key_id}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/enrollment_api_keys@{key_id}_deprecated.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/enrollment_api_keys_deprecated.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/epm@bulk_assets.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/[email protected]
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/epm@get_file.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/epm@limited_list.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/[email protected]
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/epm@packages@{pkg_name}@stats.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/epm@packages@{pkg_name}@{pkg_version}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/epm@packages@{pkg_name}@{pkg_version}@Transforms@authorize.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/epm@packages@{pkgkey}_deprecated.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/epm@packages_bulk.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/epm@templates@{pkg_name}@{pkg_version}@inputs.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/epm@verification_key_id.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/fleet_server_hosts.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/fleet_server_hosts@{item_id}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/health_check.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/kubernetes.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/logstash_api_keys.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/output_health@{output_id}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/outputs.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/outputs@{output_id}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/package_policies.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/package_policies@_bulk_get.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/[email protected]
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/[email protected]
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/package_policies@upgrade_dryrun.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/package_policies@{package_policy_id}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/proxies.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/proxies@{item_id}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/service_tokens.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/service_tokens_deprecated.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/settings.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/settings_enrollment.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/setup.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/uninstall_tokens.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/paths/uninstall_tokens@{uninstall_token_id}.yaml
#	x-pack/platform/plugins/shared/fleet/common/openapi/validate_docs.test.ts
#	x-pack/platform/plugins/shared/fleet/common/services/route.test.ts
#	x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json
#	x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/agentless.md
#	x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.test.tsx
#	x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.tsx
#	x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/donut_chart.tsx
#	x-pack/platform/plugins/shared/fleet/server/constants/max_concurrency_constants.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/agent/index.test.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/index.test.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/app/index.test.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/data_streams/index.test.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/download_source/index.test.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/download_source/index.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/download_source/index.tsx
#	x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/index.test.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/epm/index.test.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/index.test.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/index.test.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/health_check/handler.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/output/index.test.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/schema/errors.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/schema/utils.ts
#	x-pack/platform/plugins/shared/fleet/server/routes/settings/settings_handler.test.ts
#	x-pack/platform/plugins/shared/fleet/server/saved_objects/bump_agent_policies.md
#	x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/outputs.ts
#	x-pack/platform/plugins/shared/fleet/server/services/epm/airgapped.ts
#	x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent_policy.test.ts
#	x-pack/platform/plugins/shared/fleet/server/types/rest_spec/app.ts
#	x-pack/plugins/fleet/package.json
#	x-pack/plugins/fleet/server/routes/schema/utils.ts
#	x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json
@pgayvallet
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

pgayvallet added a commit that referenced this pull request Dec 24, 2024
…c/fleet` (#202422) (#205145)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/fleet`
(#202422)](#202422)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-24T14:32:43Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/fleet`
(#202422)\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####
2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/custom-integrations-plugin`
|\r\n`src/platform/plugins/shared/custom_integrations` |\r\n|
`@kbn/fleet-plugin` | `x-pack/platform/plugins/shared/fleet`
|\r\n\r\n\r\n\r\n\r\n#### 1 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-fleet`
|\r\n`src/platform/packages/shared/deeplinks/fleet`
|\r\n\r\n\r\n<details open>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/fleet/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/jest.config.js:12\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:7\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:20\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:26\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:29\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:32\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:35\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:38\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:41\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:22\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:26\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:29\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:28\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:6\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:8\r\nx-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts:21\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:7\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:7\r\nx-pack/platform/plugins/shared/fleet/jest.config.js:10\r\nx-pack/platform/plugins/shared/fleet/jest.integration.config.js:10\r\nx-pack/platform/plugins/shared/fleet/package.json:11\r\nx-pack/platform/plugins/shared/fleet/package.json:12\r\nx-pack/platform/plugins/shared/fleet/package.json:15\r\nx-pack/platform/plugins/shared/fleet/package.json:16\r\nx-pack/platform/plugins/shared/fleet/package.json:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:25\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:26\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:22\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:26\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:102\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:105\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:111\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:114\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:120\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:123\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:126\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:129\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:132\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:135\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:144\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:147\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:150\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:153\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:156\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:159\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:162\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:165\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:168\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:171\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:174\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:177\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:180\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:183\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:186\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:189\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:192\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:195\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:198\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:201\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:204\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:207\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:210\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:213\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:216\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:219\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:222\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:225\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:228\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:23\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:231\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:234\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:237\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:240\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:243\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:246\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:249\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:252\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:255\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:261\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:264\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:270\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:273\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:276\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:279\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:30\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:36\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:42\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:45\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:60\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:63\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:66\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:72\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:75\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:78\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:81\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:84\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:87\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:90\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:93\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:96\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:99\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet <[email protected]>\r\nCo-authored-by: Nicolas
Chaulet <[email protected]>\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"fce686bc88ae4eb9606279f34ce097bd17900949","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor","plugin
groups"],"number":202422,"url":"https://github.com/elastic/kibana/pull/202422","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/fleet`
(#202422)\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####
2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/custom-integrations-plugin`
|\r\n`src/platform/plugins/shared/custom_integrations` |\r\n|
`@kbn/fleet-plugin` | `x-pack/platform/plugins/shared/fleet`
|\r\n\r\n\r\n\r\n\r\n#### 1 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-fleet`
|\r\n`src/platform/packages/shared/deeplinks/fleet`
|\r\n\r\n\r\n<details open>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/fleet/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/jest.config.js:12\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:7\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:20\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:26\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:29\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:32\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:35\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:38\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:41\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:22\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:26\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:29\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:28\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:6\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:8\r\nx-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts:21\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:7\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:7\r\nx-pack/platform/plugins/shared/fleet/jest.config.js:10\r\nx-pack/platform/plugins/shared/fleet/jest.integration.config.js:10\r\nx-pack/platform/plugins/shared/fleet/package.json:11\r\nx-pack/platform/plugins/shared/fleet/package.json:12\r\nx-pack/platform/plugins/shared/fleet/package.json:15\r\nx-pack/platform/plugins/shared/fleet/package.json:16\r\nx-pack/platform/plugins/shared/fleet/package.json:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:25\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:26\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:22\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:26\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:102\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:105\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:111\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:114\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:120\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:123\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:126\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:129\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:132\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:135\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:144\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:147\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:150\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:153\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:156\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:159\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:162\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:165\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:168\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:171\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:174\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:177\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:180\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:183\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:186\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:189\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:192\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:195\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:198\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:201\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:204\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:207\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:210\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:213\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:216\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:219\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:222\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:225\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:228\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:23\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:231\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:234\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:237\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:240\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:243\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:246\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:249\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:252\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:255\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:261\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:264\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:270\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:273\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:276\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:279\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:30\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:36\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:42\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:45\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:60\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:63\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:66\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:72\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:75\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:78\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:81\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:84\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:87\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:90\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:93\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:96\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:99\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet <[email protected]>\r\nCo-authored-by: Nicolas
Chaulet <[email protected]>\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"fce686bc88ae4eb9606279f34ce097bd17900949"}},"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/202422","number":202422,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/fleet`
(#202422)\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####
2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/custom-integrations-plugin`
|\r\n`src/platform/plugins/shared/custom_integrations` |\r\n|
`@kbn/fleet-plugin` | `x-pack/platform/plugins/shared/fleet`
|\r\n\r\n\r\n\r\n\r\n#### 1 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-fleet`
|\r\n`src/platform/packages/shared/deeplinks/fleet`
|\r\n\r\n\r\n<details open>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/fleet/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/jest.config.js:12\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:7\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:20\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:26\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:29\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:32\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:35\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:38\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:41\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:22\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:26\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:29\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:28\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:6\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:8\r\nx-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts:21\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:7\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:7\r\nx-pack/platform/plugins/shared/fleet/jest.config.js:10\r\nx-pack/platform/plugins/shared/fleet/jest.integration.config.js:10\r\nx-pack/platform/plugins/shared/fleet/package.json:11\r\nx-pack/platform/plugins/shared/fleet/package.json:12\r\nx-pack/platform/plugins/shared/fleet/package.json:15\r\nx-pack/platform/plugins/shared/fleet/package.json:16\r\nx-pack/platform/plugins/shared/fleet/package.json:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:25\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:26\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:22\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:26\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:102\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:105\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:111\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:114\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:120\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:123\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:126\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:129\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:132\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:135\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:144\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:147\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:150\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:153\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:156\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:159\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:162\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:165\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:168\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:171\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:174\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:177\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:180\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:183\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:186\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:189\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:192\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:195\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:198\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:201\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:204\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:207\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:210\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:213\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:216\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:219\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:222\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:225\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:228\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:23\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:231\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:234\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:237\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:240\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:243\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:246\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:249\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:252\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:255\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:261\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:264\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:270\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:273\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:276\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:279\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:30\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:36\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:42\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:45\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:60\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:63\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:66\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:72\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:75\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:78\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:81\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:84\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:87\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:90\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:93\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:96\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:99\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet <[email protected]>\r\nCo-authored-by: Nicolas
Chaulet <[email protected]>\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"fce686bc88ae4eb9606279f34ce097bd17900949"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
stratoula pushed a commit to stratoula/kibana that referenced this pull request Jan 2, 2025
…t` (elastic#202422)

## 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).

#### 2 plugin(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/custom-integrations-plugin` |
`src/platform/plugins/shared/custom_integrations` |
| `@kbn/fleet-plugin` | `x-pack/platform/plugins/shared/fleet` |




#### 1 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/deeplinks-fleet` |
`src/platform/packages/shared/deeplinks/fleet` |


<details open>
<summary>Script errors</summary>

```
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
```

</details><details >
<summary>Updated relative paths</summary>

```
src/platform/packages/shared/deeplinks/fleet/jest.config.js:12
src/platform/packages/shared/deeplinks/fleet/tsconfig.json:2
src/platform/packages/shared/deeplinks/fleet/tsconfig.type_check.json:2
src/platform/plugins/shared/custom_integrations/jest.config.js:12
src/platform/plugins/shared/custom_integrations/tsconfig.json:2
src/platform/plugins/shared/custom_integrations/tsconfig.json:7
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:2
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:20
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:26
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:29
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:32
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:35
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:38
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:41
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:9
x-pack/platform/plugins/shared/fleet/cypress.config.js:22
x-pack/platform/plugins/shared/fleet/cypress.config.js:25
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:26
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:29
x-pack/platform/plugins/shared/fleet/cypress.config.ts:25
x-pack/platform/plugins/shared/fleet/cypress.config.ts:28
x-pack/platform/plugins/shared/fleet/cypress/README.md:122
x-pack/platform/plugins/shared/fleet/cypress/README.md:128
x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:6
x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:8
x-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts:21
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:2
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:7
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:25
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:28
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:31
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:37
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:40
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:7
x-pack/platform/plugins/shared/fleet/jest.config.js:10
x-pack/platform/plugins/shared/fleet/jest.integration.config.js:10
x-pack/platform/plugins/shared/fleet/package.json:11
x-pack/platform/plugins/shared/fleet/package.json:12
x-pack/platform/plugins/shared/fleet/package.json:15
x-pack/platform/plugins/shared/fleet/package.json:16
x-pack/platform/plugins/shared/fleet/package.json:8
x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:25
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:26
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:27
x-pack/platform/plugins/shared/fleet/tsconfig.json:2
x-pack/platform/plugins/shared/fleet/tsconfig.json:22
x-pack/platform/plugins/shared/fleet/tsconfig.json:26
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:102
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:105
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:111
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:114
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:120
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:123
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:126
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:129
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:132
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:135
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:144
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:147
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:150
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:153
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:156
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:159
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:162
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:165
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:168
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:171
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:174
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:177
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:180
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:183
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:186
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:189
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:192
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:195
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:198
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:201
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:204
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:207
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:210
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:213
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:216
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:219
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:222
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:225
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:228
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:23
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:231
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:234
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:237
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:240
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:243
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:246
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:249
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:252
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:255
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:261
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:264
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:27
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:270
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:273
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:276
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:279
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:30
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:36
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:42
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:45
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:57
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:60
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:63
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:66
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:72
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:75
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:78
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:81
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:84
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:87
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:90
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:93
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:96
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:99
```

</details>

---------

Co-authored-by: pgayvallet <[email protected]>
Co-authored-by: Nicolas Chaulet <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
benakansara pushed a commit to benakansara/kibana that referenced this pull request Jan 2, 2025
…t` (elastic#202422)

## 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).

#### 2 plugin(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/custom-integrations-plugin` |
`src/platform/plugins/shared/custom_integrations` |
| `@kbn/fleet-plugin` | `x-pack/platform/plugins/shared/fleet` |




#### 1 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/deeplinks-fleet` |
`src/platform/packages/shared/deeplinks/fleet` |


<details open>
<summary>Script errors</summary>

```
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
```

</details><details >
<summary>Updated relative paths</summary>

```
src/platform/packages/shared/deeplinks/fleet/jest.config.js:12
src/platform/packages/shared/deeplinks/fleet/tsconfig.json:2
src/platform/packages/shared/deeplinks/fleet/tsconfig.type_check.json:2
src/platform/plugins/shared/custom_integrations/jest.config.js:12
src/platform/plugins/shared/custom_integrations/tsconfig.json:2
src/platform/plugins/shared/custom_integrations/tsconfig.json:7
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:2
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:20
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:26
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:29
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:32
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:35
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:38
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:41
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:9
x-pack/platform/plugins/shared/fleet/cypress.config.js:22
x-pack/platform/plugins/shared/fleet/cypress.config.js:25
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:26
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:29
x-pack/platform/plugins/shared/fleet/cypress.config.ts:25
x-pack/platform/plugins/shared/fleet/cypress.config.ts:28
x-pack/platform/plugins/shared/fleet/cypress/README.md:122
x-pack/platform/plugins/shared/fleet/cypress/README.md:128
x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:6
x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:8
x-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts:21
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:2
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:7
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:25
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:28
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:31
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:37
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:40
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:7
x-pack/platform/plugins/shared/fleet/jest.config.js:10
x-pack/platform/plugins/shared/fleet/jest.integration.config.js:10
x-pack/platform/plugins/shared/fleet/package.json:11
x-pack/platform/plugins/shared/fleet/package.json:12
x-pack/platform/plugins/shared/fleet/package.json:15
x-pack/platform/plugins/shared/fleet/package.json:16
x-pack/platform/plugins/shared/fleet/package.json:8
x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:25
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:26
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:27
x-pack/platform/plugins/shared/fleet/tsconfig.json:2
x-pack/platform/plugins/shared/fleet/tsconfig.json:22
x-pack/platform/plugins/shared/fleet/tsconfig.json:26
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:102
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:105
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:111
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:114
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:120
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:123
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:126
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:129
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:132
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:135
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:144
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:147
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:150
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:153
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:156
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:159
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:162
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:165
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:168
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:171
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:174
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:177
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:180
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:183
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:186
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:189
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:192
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:195
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:198
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:201
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:204
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:207
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:210
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:213
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:216
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:219
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:222
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:225
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:228
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:23
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:231
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:234
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:237
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:240
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:243
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:246
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:249
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:252
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:255
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:261
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:264
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:27
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:270
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:273
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:276
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:279
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:30
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:36
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:42
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:45
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:57
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:60
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:63
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:66
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:72
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:75
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:78
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:81
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:84
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:87
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:90
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:93
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:96
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:99
```

</details>

---------

Co-authored-by: pgayvallet <[email protected]>
Co-authored-by: Nicolas Chaulet <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) plugin groups Relocate all plugins and packages under their respective platform/solution groups release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Fleet Team label for Observability Data Collection Fleet team v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.