mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-localization
(#202725)
## 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. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 1 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/translations-plugin` | `x-pack/platform/plugins/private/translations` | <details> <summary>Updated references</summary> ``` ./docs/developer/plugin-list.asciidoc ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-synthetic-package-map/synthetic-packages.json ./packages/kbn-ts-projects/config-paths.json ./src/dev/i18n_tools/README.md ./tsconfig.base.json ./tsconfig.refs.json ./yarn.lock ``` </details> <details> <summary>Updated relative paths</summary> ``` x-pack/platform/plugins/private/translations/tsconfig.json:2 ``` </details> <details> <summary>Script errors</summary> ``` ``` </details>
This commit is contained in:
parent
3d46eadace
commit
c609daa97c
14 changed files with 8 additions and 8 deletions
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
@ -869,6 +869,7 @@ x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui
|
|||
x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui
|
||||
x-pack/platform/plugins/private/data_visualizer @elastic/ml-ui
|
||||
x-pack/platform/plugins/private/transform @elastic/ml-ui
|
||||
x-pack/platform/plugins/private/translations @elastic/kibana-localization
|
||||
x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra
|
||||
x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra
|
||||
x-pack/platform/plugins/shared/aiops @elastic/ml-ui
|
||||
|
@ -991,7 +992,6 @@ x-pack/plugins/task_manager @elastic/response-ops
|
|||
x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core
|
||||
x-pack/plugins/threat_intelligence @elastic/security-threat-hunting-investigations
|
||||
x-pack/plugins/timelines @elastic/security-threat-hunting-investigations
|
||||
x-pack/plugins/translations @elastic/kibana-localization
|
||||
x-pack/plugins/triggers_actions_ui @elastic/response-ops
|
||||
x-pack/plugins/upgrade_assistant @elastic/kibana-management
|
||||
x-pack/plugins/watcher @elastic/kibana-management
|
||||
|
|
|
@ -988,4 +988,4 @@ include::{kibana-root}/src/plugins/expressions/README.asciidoc[leveloffset=+1]
|
|||
include::{kibana-root}/src/plugins/ui_actions/README.asciidoc[leveloffset=+1]
|
||||
include::{kibana-root}/x-pack/plugins/dashboard_enhanced/README.asciidoc[leveloffset=+1]
|
||||
include::{kibana-root}/x-pack/plugins/embeddable_enhanced/README.asciidoc[leveloffset=+1]
|
||||
include::{kibana-root}/x-pack/plugins/translations/README.asciidoc[leveloffset=+1]
|
||||
include::{kibana-root}/x-pack/platform/plugins/private/translations/README.asciidoc[leveloffset=+1]
|
||||
|
|
|
@ -963,7 +963,7 @@
|
|||
"@kbn/timerange": "link:packages/kbn-timerange",
|
||||
"@kbn/tinymath": "link:packages/kbn-tinymath",
|
||||
"@kbn/transform-plugin": "link:x-pack/platform/plugins/private/transform",
|
||||
"@kbn/translations-plugin": "link:x-pack/plugins/translations",
|
||||
"@kbn/translations-plugin": "link:x-pack/platform/plugins/private/translations",
|
||||
"@kbn/transpose-utils": "link:packages/kbn-transpose-utils",
|
||||
"@kbn/triggers-actions-ui-example-plugin": "link:x-pack/examples/triggers_actions_ui_example",
|
||||
"@kbn/triggers-actions-ui-plugin": "link:x-pack/plugins/triggers_actions_ui",
|
||||
|
|
|
@ -134,7 +134,7 @@ The tool throws an exception if `formats` object is missing in locale file.
|
|||
### Usage
|
||||
|
||||
```bash
|
||||
node scripts/i18n_integrate --source path/to/locale.json --target x-pack/plugins/translations/translations/locale.json
|
||||
node scripts/i18n_integrate --source path/to/locale.json --target x-pack/platform/plugins/private/translations/translations/locale.json
|
||||
```
|
||||
|
||||
* `--source` path to the JSON file with translations that should be integrated.
|
||||
|
|
|
@ -1932,8 +1932,8 @@
|
|||
"@kbn/tooling-log/*": ["packages/kbn-tooling-log/*"],
|
||||
"@kbn/transform-plugin": ["x-pack/platform/plugins/private/transform"],
|
||||
"@kbn/transform-plugin/*": ["x-pack/platform/plugins/private/transform/*"],
|
||||
"@kbn/translations-plugin": ["x-pack/plugins/translations"],
|
||||
"@kbn/translations-plugin/*": ["x-pack/plugins/translations/*"],
|
||||
"@kbn/translations-plugin": ["x-pack/platform/plugins/private/translations"],
|
||||
"@kbn/translations-plugin/*": ["x-pack/platform/plugins/private/translations/*"],
|
||||
"@kbn/transpose-utils": ["packages/kbn-transpose-utils"],
|
||||
"@kbn/transpose-utils/*": ["packages/kbn-transpose-utils/*"],
|
||||
"@kbn/triggers-actions-ui-example-plugin": ["x-pack/examples/triggers_actions_ui_example"],
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
},
|
|
@ -7680,7 +7680,7 @@
|
|||
version "0.0.0"
|
||||
uid ""
|
||||
|
||||
"@kbn/translations-plugin@link:x-pack/plugins/translations":
|
||||
"@kbn/translations-plugin@link:x-pack/platform/plugins/private/translations":
|
||||
version "0.0.0"
|
||||
uid ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue