kibana/docs/developer/contributing
Matthew Kime 2fd89943c5
kibana-management team module move (#203883)
## 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.

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

| Id | Target folder |
| -- | ------------- |
| `@kbn/cloud-data-migration-plugin` |
`x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration`
|
| `@kbn/console-plugin` | `src/platform/plugins/shared/console` |
| `@kbn/cross-cluster-replication-plugin` |
`x-pack/platform/plugins/private/cross_cluster_replication` |
| `@kbn/dev-tools-plugin` | `src/platform/plugins/shared/dev_tools` |
| `@kbn/es-ui-shared-plugin` |
`src/platform/plugins/shared/es_ui_shared` |
| `@kbn/grokdebugger-plugin` |
`x-pack/platform/plugins/private/grokdebugger` |
| `@kbn/index-lifecycle-management-plugin` |
`x-pack/platform/plugins/private/index_lifecycle_management` |
| `@kbn/license-api-guard-plugin` |
`x-pack/platform/plugins/private/license_api_guard` |
| `@kbn/license-management-plugin` |
`x-pack/platform/plugins/shared/license_management` |
| `@kbn/management-plugin` | `src/platform/plugins/shared/management` |
| `@kbn/painless-lab-plugin` |
`x-pack/platform/plugins/private/painless_lab` |
| `@kbn/remote-clusters-plugin` |
`x-pack/platform/plugins/private/remote_clusters` |
| `@kbn/rollup-plugin` | `x-pack/platform/plugins/private/rollup` |
| `@kbn/runtime-fields-plugin` |
`x-pack/platform/plugins/private/runtime_fields` |
| `@kbn/searchprofiler-plugin` |
`x-pack/platform/plugins/shared/searchprofiler` |
| `@kbn/snapshot-restore-plugin` |
`x-pack/platform/plugins/private/snapshot_restore` |
| `@kbn/watcher-plugin` | `x-pack/platform/plugins/private/watcher` |




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

| Id | Target folder |
| -- | ------------- |
| `@kbn/deeplinks-devtools` |
`src/platform/packages/shared/deeplinks/devtools` |
| `@kbn/deeplinks-management` |
`src/platform/packages/shared/deeplinks/management` |
| `@kbn/default-nav-devtools` |
`src/platform/packages/private/default-nav/devtools` |
| `@kbn/default-nav-management` |
`src/platform/packages/private/default-nav/management` |
| `@kbn/index-lifecycle-management-common-shared` |
`x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared`
|
| `@kbn/index-management-shared-types` |
`x-pack/platform/packages/shared/index-management/index_management_shared_types`
|
| `@kbn/management-cards-navigation` |
`src/platform/packages/shared/kbn-management/cards_navigation` |
| `@kbn/management-settings-application` |
`src/platform/packages/private/kbn-management/settings/application` |
| `@kbn/management-settings-components-field-category` |
`src/platform/packages/private/kbn-management/settings/components/field_category`
|
| `@kbn/management-settings-components-field-input` |
`src/platform/packages/shared/kbn-management/settings/components/field_input`
|
| `@kbn/management-settings-components-field-row` |
`src/platform/packages/shared/kbn-management/settings/components/field_row`
|
| `@kbn/management-settings-components-form` |
`src/platform/packages/private/kbn-management/settings/components/form`
|
| `@kbn/management-settings-field-definition` |
`src/platform/packages/shared/kbn-management/settings/field_definition`
|
| `@kbn/management-settings-types` |
`src/platform/packages/shared/kbn-management/settings/types` |
| `@kbn/management-settings-utilities` |
`src/platform/packages/shared/kbn-management/settings/utilities` |
| `@kbn/rollup` | `x-pack/platform/packages/private/rollup` |
| `@kbn/unsaved-changes-prompt` |
`src/platform/packages/shared/kbn-unsaved-changes-prompt` |


<details >
<summary>Updated references</summary>

```
./.buildkite/scripts/steps/console_definitions_sync.sh
./.eslintrc.js
./.i18nrc.json
./docs/developer/contributing/development-tests.asciidoc
./docs/developer/plugin-list.asciidoc
./package.json
./packages/kbn-generate-console-definitions/README.md
./packages/kbn-repo-packages/package-map.json
./packages/kbn-search-connectors/components/cron_editor/readme.md
./packages/kbn-ts-projects/config-paths.json
./src/dev/precommit_hook/casing_check_config.js
./src/dev/storybook/aliases.ts
./src/platform/packages/private/default-nav/devtools/jest.config.js
./src/platform/packages/private/default-nav/management/jest.config.js
./src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js
./src/platform/packages/shared/deeplinks/devtools/jest.config.js
./src/platform/packages/shared/deeplinks/management/jest.config.js
./src/platform/packages/shared/kbn-management/cards_navigation/jest.config.js
./src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js
./src/platform/plugins/shared/console/README.md
./src/platform/plugins/shared/console/jest.config.js
./src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.test.js
./src/platform/plugins/shared/console/server/lib/spec_definitions/json/README.md
./src/platform/plugins/shared/es_ui_shared/.storybook/manager.ts
./src/platform/plugins/shared/es_ui_shared/jest.config.js
./src/platform/plugins/shared/es_ui_shared/static/forms/README.md
./src/platform/plugins/shared/management/jest.config.js
./src/plugins/advanced_settings/README.md
./src/plugins/management/README.md
./tsconfig.base.json
./x-pack/.i18nrc.json
./x-pack/platform/packages/private/rollup/jest.config.js
./x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js
./x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js
./x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js
./x-pack/platform/plugins/private/grokdebugger/jest.config.js
./x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/README.md
./x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js
./x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js
./x-pack/platform/plugins/private/license_api_guard/jest.config.js
./x-pack/platform/plugins/private/painless_lab/jest.config.js
./x-pack/platform/plugins/private/remote_clusters/jest.config.js
./x-pack/platform/plugins/private/rollup/jest.config.js
./x-pack/platform/plugins/private/runtime_fields/jest.config.js
./x-pack/platform/plugins/private/snapshot_restore/jest.config.js
./x-pack/platform/plugins/private/watcher/jest.config.js
./x-pack/platform/plugins/shared/license_management/jest.config.js
./x-pack/platform/plugins/shared/searchprofiler/jest.config.js
./x-pack/plugins/index_management/README.md
./x-pack/plugins/triggers_actions_ui/README.md
./x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts
./x-pack/solutions/security/packages/navigation/src/constants.ts
./x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts
./yarn.lock
```

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

```
src/platform/packages/private/default-nav/devtools/jest.config.js:12
src/platform/packages/private/default-nav/devtools/tsconfig.json:2
src/platform/packages/private/default-nav/management/jest.config.js:12
src/platform/packages/private/default-nav/management/tsconfig.json:2
src/platform/packages/private/kbn-management/settings/application/tsconfig.json:2
src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js:12
src/platform/packages/private/kbn-management/settings/components/field_category/tsconfig.json:2
src/platform/packages/private/kbn-management/settings/components/form/tsconfig.json:2
src/platform/packages/shared/deeplinks/devtools/jest.config.js:12
src/platform/packages/shared/deeplinks/devtools/tsconfig.json:2
src/platform/packages/shared/deeplinks/management/jest.config.js:12
src/platform/packages/shared/deeplinks/management/tsconfig.json:2
src/platform/packages/shared/kbn-management/cards_navigation/jest.config.js:12
src/platform/packages/shared/kbn-management/cards_navigation/tsconfig.json:2
src/platform/packages/shared/kbn-management/settings/components/field_input/tsconfig.json:2
src/platform/packages/shared/kbn-management/settings/components/field_row/tsconfig.json:2
src/platform/packages/shared/kbn-management/settings/field_definition/tsconfig.json:2
src/platform/packages/shared/kbn-management/settings/types/tsconfig.json:2
src/platform/packages/shared/kbn-management/settings/utilities/tsconfig.json:2
src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js:12
src/platform/packages/shared/kbn-unsaved-changes-prompt/tsconfig.json:2
src/platform/plugins/shared/console/jest.config.js:12
src/platform/plugins/shared/console/tsconfig.json:2
src/platform/plugins/shared/dev_tools/tsconfig.json:2
src/platform/plugins/shared/es_ui_shared/jest.config.js:12
src/platform/plugins/shared/es_ui_shared/tsconfig.json:12
src/platform/plugins/shared/es_ui_shared/tsconfig.json:2
src/platform/plugins/shared/management/jest.config.js:12
src/platform/plugins/shared/management/tsconfig.json:10
src/platform/plugins/shared/management/tsconfig.json:2
x-pack/platform/packages/private/rollup/jest.config.js:10
x-pack/platform/packages/private/rollup/tsconfig.json:2
x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json:2
x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js:10
x-pack/platform/packages/shared/index-management/index_management_shared_types/tsconfig.json:2
x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js:10
x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:10
x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:2
x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js:10
x-pack/platform/plugins/private/cross_cluster_replication/tsconfig.json:2
x-pack/platform/plugins/private/grokdebugger/jest.config.js:10
x-pack/platform/plugins/private/grokdebugger/tsconfig.json:10
x-pack/platform/plugins/private/grokdebugger/tsconfig.json:2
x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js:10
x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js:10
x-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:12
x-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:2
x-pack/platform/plugins/private/license_api_guard/jest.config.js:10
x-pack/platform/plugins/private/license_api_guard/tsconfig.json:2
x-pack/platform/plugins/private/painless_lab/jest.config.js:10
x-pack/platform/plugins/private/painless_lab/public/styles/_index.scss:1
x-pack/platform/plugins/private/painless_lab/tsconfig.json:2
x-pack/platform/plugins/private/remote_clusters/jest.config.js:10
x-pack/platform/plugins/private/remote_clusters/tsconfig.json:12
x-pack/platform/plugins/private/remote_clusters/tsconfig.json:2
x-pack/platform/plugins/private/rollup/jest.config.js:10
x-pack/platform/plugins/private/rollup/tsconfig.json:2
x-pack/platform/plugins/private/runtime_fields/README.md:155
x-pack/platform/plugins/private/runtime_fields/jest.config.js:10
x-pack/platform/plugins/private/runtime_fields/tsconfig.json:2
x-pack/platform/plugins/private/runtime_fields/tsconfig.json:8
x-pack/platform/plugins/private/snapshot_restore/jest.config.js:10
x-pack/platform/plugins/private/snapshot_restore/tsconfig.json:12
x-pack/platform/plugins/private/snapshot_restore/tsconfig.json:2
x-pack/platform/plugins/private/watcher/jest.config.js:10
x-pack/platform/plugins/private/watcher/tsconfig.json:12
x-pack/platform/plugins/private/watcher/tsconfig.json:2
x-pack/platform/plugins/shared/license_management/jest.config.js:10
x-pack/platform/plugins/shared/license_management/tsconfig.json:2
x-pack/platform/plugins/shared/searchprofiler/jest.config.js:10
x-pack/platform/plugins/shared/searchprofiler/public/application/_app.scss:1
x-pack/platform/plugins/shared/searchprofiler/tsconfig.json:2
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-13 12:29:30 -06:00
..
development-accessibility-tests.asciidoc [ftr] split x-pack accessibility config in 3 groups (#171186) 2023-11-28 05:35:43 -07:00
development-ci-metrics.asciidoc Fix broken link to CiStatsReporter (#138407) 2022-08-10 00:33:38 +09:30
development-documentation.asciidoc Add more details on developer documentation (#126674) 2022-03-03 11:44:05 -07:00
development-functional-tests.asciidoc [FTR] Refactor test/common/services/* -> packages/kbn-ftr-common-functional-[ui-]services/* (#191805) 2024-09-05 10:00:55 +01:00
development-github.asciidoc Update docs on branching. (#139057) 2022-08-24 17:28:48 +00:00
development-package-tests.asciidoc [package testing] Update networking profile to account for virtualbox update (#127298) 2022-03-09 11:47:11 -06:00
development-pull-request.asciidoc
development-tests.asciidoc kibana-management team module move (#203883) 2024-12-13 12:29:30 -06:00
development-unit-tests.asciidoc [docs] Use inspect-brk instead of debug-brk (#118108) 2021-11-09 13:56:06 -08:00
index.asciidoc [i18n] a few docs updates (#127964) 2022-03-17 18:18:49 +02:00
interpreting-ci-failures.asciidoc [ftr] split x-pack accessibility config in 3 groups (#171186) 2023-11-28 05:35:43 -07:00
kibana-issue-reporting.asciidoc
linting.asciidoc [DOCS] Update GitHub links in dev docs (#164503) 2023-08-29 14:43:41 -04:00
pr-review.asciidoc [ci] Remove jenkins config (#173745) 2023-12-21 12:09:43 -06:00