Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.18] SKA: Fix kebab-case issues in obs-ux-management packages (#211312
) (#211707) # Backport This will backport the following commits from `main` to `8.18`: - [SKA: Fix kebab-case issues in obs-ux-management packages (#211312)](#211312) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Gerard Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-17T11:36:43Z","message":"SKA: Fix kebab-case issues in obs-ux-management packages (#211312)\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#### 4 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/alerting-rule-utils` |\r\n`x-pack/platform/packages/shared/alerting-rule-utils` |\r\n| `@kbn/observability-alert-details` |\r\n`x-pack/solutions/observability/packages/alert-details` |\r\n| `@kbn/observability-alerting-test-data` |\r\n`x-pack/solutions/observability/packages/alerting-test-data` |\r\n| `@kbn/observability-get-padded-alert-time-range-util` |\r\n`x-pack/solutions/observability/packages/get-padded-alert-time-range-util`\r\n|\r\n\r\n\r\n<details >\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.i18nrc.json\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/platform/packages/shared/alerting-rule-utils/jest.config.js\r\n./x-pack/solutions/observability/packages/alert-details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting-test-data/jest.config.js\r\n./x-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/alerting-rule-utils/jest.config.js:10\r\nx-pack/platform/packages/shared/alerting-rule-utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert-details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert-details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting-test-data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting-test-data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"171dd6b0759710bf29df61485ebca068993b43f9","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:obs-ux-management","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA: Fix kebab-case issues in obs-ux-management packages","number":211312,"url":"https://github.com/elastic/kibana/pull/211312","mergeCommit":{"message":"SKA: Fix kebab-case issues in obs-ux-management packages (#211312)\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#### 4 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/alerting-rule-utils` |\r\n`x-pack/platform/packages/shared/alerting-rule-utils` |\r\n| `@kbn/observability-alert-details` |\r\n`x-pack/solutions/observability/packages/alert-details` |\r\n| `@kbn/observability-alerting-test-data` |\r\n`x-pack/solutions/observability/packages/alerting-test-data` |\r\n| `@kbn/observability-get-padded-alert-time-range-util` |\r\n`x-pack/solutions/observability/packages/get-padded-alert-time-range-util`\r\n|\r\n\r\n\r\n<details >\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.i18nrc.json\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/platform/packages/shared/alerting-rule-utils/jest.config.js\r\n./x-pack/solutions/observability/packages/alert-details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting-test-data/jest.config.js\r\n./x-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/alerting-rule-utils/jest.config.js:10\r\nx-pack/platform/packages/shared/alerting-rule-utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert-details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert-details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting-test-data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting-test-data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"171dd6b0759710bf29df61485ebca068993b43f9"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211417","number":211417,"state":"MERGED","mergeCommit":{"sha":"1d49861eb1a527da2e79a83744062d6340eb9730","message":"[9.0] SKA: Fix kebab-case issues in obs-ux-management packages (#211312) (#211417)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [SKA: Fix kebab-case issues in obs-ux-management packages\n(#211312)](https://github.com/elastic/kibana/pull/211312)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n\n\nCo-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211312","number":211312,"mergeCommit":{"message":"SKA: Fix kebab-case issues in obs-ux-management packages (#211312)\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#### 4 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/alerting-rule-utils` |\r\n`x-pack/platform/packages/shared/alerting-rule-utils` |\r\n| `@kbn/observability-alert-details` |\r\n`x-pack/solutions/observability/packages/alert-details` |\r\n| `@kbn/observability-alerting-test-data` |\r\n`x-pack/solutions/observability/packages/alerting-test-data` |\r\n| `@kbn/observability-get-padded-alert-time-range-util` |\r\n`x-pack/solutions/observability/packages/get-padded-alert-time-range-util`\r\n|\r\n\r\n\r\n<details >\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.i18nrc.json\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/platform/packages/shared/alerting-rule-utils/jest.config.js\r\n./x-pack/solutions/observability/packages/alert-details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting-test-data/jest.config.js\r\n./x-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/alerting-rule-utils/jest.config.js:10\r\nx-pack/platform/packages/shared/alerting-rule-utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert-details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert-details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting-test-data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting-test-data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"171dd6b0759710bf29df61485ebca068993b43f9"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
- Loading branch information