mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
## 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 <pierre.gayvallet@elastic.co> Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
165 lines
4.1 KiB
Text
165 lines
4.1 KiB
Text
.aws-config.json
|
|
.signing-config.json
|
|
.ackrc
|
|
/.es
|
|
/.chromium
|
|
.DS_Store
|
|
.node_binaries
|
|
/.beats
|
|
.native_modules
|
|
node_modules
|
|
!/src/dev/npm/integration_tests/__fixtures__/fixture1/node_modules
|
|
!/src/dev/notice/__fixtures__/node_modules
|
|
!/packages/kbn-import-resolver/src/__fixtures__/node_modules
|
|
!/packages/kbn-import-resolver/src/__fixtures__/packages/box/node_modules
|
|
trash
|
|
/optimize
|
|
/built_assets
|
|
target
|
|
/build
|
|
.jruby
|
|
.idea
|
|
*.iml
|
|
*.log
|
|
types.eslint.config.js
|
|
types.eslint.config.cjs
|
|
__tmp__
|
|
|
|
# Ignore example plugin builds
|
|
/examples/*/build
|
|
/x-pack/examples/*/build
|
|
|
|
# Ignore certain functional test runner artifacts
|
|
/test/*/failure_debug
|
|
/test/*/screenshots/diff
|
|
/test/*/screenshots/failure
|
|
/test/*/screenshots/session
|
|
/test/*/screenshots/visual_regression_gallery.html
|
|
|
|
# Ignore the same artifacts in x-pack
|
|
/x-pack/test/*/failure_debug
|
|
/x-pack/test/*/screenshots/diff
|
|
/x-pack/test/*/screenshots/failure
|
|
/x-pack/test/*/screenshots/session
|
|
/x-pack/test/*/screenshots/visual_regression_gallery.html
|
|
/x-pack/test/functional/apps/*/*/reporting/reports/failure
|
|
|
|
# Ignore the same artifacts in x-pack/test_serverless
|
|
/x-pack/test_serverless/*/failure_debug
|
|
/x-pack/test_serverless/*/screenshots/diff
|
|
/x-pack/test_serverless/*/screenshots/failure
|
|
/x-pack/test_serverless/*/screenshots/session
|
|
/x-pack/test_serverless/*/screenshots/visual_regression_gallery.html
|
|
/x-pack/test_serverless/functional/apps/*/*/reporting/reports/failure
|
|
|
|
/html_docs
|
|
.eslintcache
|
|
/plugins/
|
|
/data
|
|
disabledPlugins
|
|
webpackstats.json
|
|
/config/*
|
|
!/config/kibana.yml
|
|
!/config/README.md
|
|
!/config/serverless.yml
|
|
!/config/serverless.es.yml
|
|
!/config/serverless.oblt.yml
|
|
!/config/serverless.security.yml
|
|
!/config/node.options
|
|
coverage
|
|
!/test/common/fixtures/plugins/coverage
|
|
selenium
|
|
.babel_register_cache.json
|
|
.webpack.babelcache
|
|
*.swp
|
|
*.swo
|
|
*.out
|
|
package-lock.json
|
|
!/.buildkite/package-lock.json
|
|
.yo-rc.json
|
|
.vscode
|
|
*.sublime-*
|
|
npm-debug.log*
|
|
.tern-project
|
|
.nyc_output
|
|
.gradle
|
|
.vagrant
|
|
.envrc
|
|
|
|
## Snyk
|
|
.dccache
|
|
|
|
## @cypress/snapshot from apm plugin
|
|
/snapshots.js
|
|
/apm-diagnostics*.json
|
|
/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.actual.png
|
|
/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png
|
|
|
|
# transpiled cypress config
|
|
x-pack/platform/plugins/shared/fleet/cypress.config.d.ts
|
|
x-pack/platform/plugins/shared/fleet/cypress.config.js
|
|
x-pack/platform/plugins/shared/osquery/cypress.config.d.ts
|
|
x-pack/platform/plugins/shared/osquery/cypress.config.js
|
|
x-pack/plugins/enterprise_search/cypress.config.d.ts
|
|
x-pack/plugins/enterprise_search/cypress.config.js
|
|
x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.d.ts
|
|
x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.js
|
|
x-pack/solutions/security/plugins/security_solution/public/management/cypress_endpoint.config.d.ts
|
|
x-pack/solutions/security/plugins/security_solution/public/management/cypress_endpoint.config.js
|
|
|
|
# release notes script output
|
|
report.csv
|
|
report.asciidoc
|
|
|
|
# TS incremental build cache
|
|
*.tsbuildinfo
|
|
|
|
# Automatically generated and user-modifiable
|
|
/tsconfig.refs.json
|
|
*.type_check.json
|
|
|
|
# Yarn local mirror content
|
|
.yarn-local-mirror
|
|
|
|
# Bazel
|
|
.ijwb
|
|
/bazel
|
|
/bazel-*
|
|
.bazelrc.user
|
|
.bazelrc.cache
|
|
|
|
elastic-agent-*
|
|
fleet-server-*
|
|
elastic-agent.yml
|
|
fleet-server.yml
|
|
/packages/*/package-map.json
|
|
/packages/*/config-paths.json
|
|
/packages/kbn-synthetic-package-map/
|
|
**/.synthetics/
|
|
**/.journeys/
|
|
x-pack/test/security_api_integration/plugins/audit_log/audit.log
|
|
|
|
# ignore FTR temp directory
|
|
.ftr
|
|
role_users.json
|
|
|
|
# ignore Scout temp directory
|
|
.scout
|
|
|
|
.devcontainer/.env
|
|
|
|
# Ignore temporary files in oas_docs
|
|
oas_docs/output/kibana.serverless.tmp*.yaml
|
|
oas_docs/output/kibana.tmp*.yaml
|
|
oas_docs/output/kibana.new.yaml
|
|
oas_docs/output/kibana.serverless.new.yaml
|
|
|
|
# Security Solution Playwright
|
|
x-pack/test/security_solution_playwright/test-results/
|
|
x-pack/test/security_solution_playwright/playwright-report/
|
|
x-pack/test/security_solution_playwright/blob-report/
|
|
x-pack/test/security_solution_playwright/playwright/.cache/
|
|
x-pack/test/security_solution_playwright/.auth/
|
|
x-pack/test/security_solution_playwright/.env
|
|
.codeql
|
|
.dependency-graph-log.json
|