[8.x] SKA: Move SharedUX packages under packages/core (#205608) (#205845)

# Backport

This will backport the following commits from `main` to `8.x`:
- [SKA: Move SharedUX packages under packages/core
(#205608)](https://github.com/elastic/kibana/pull/205608)

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

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

<!--BACKPORT [{"author":{"name":"Eyo O.
Eyo","email":"7893459+eokoneyo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-07T15:15:56Z","message":"SKA:
Move SharedUX packages under packages/core (#205608)\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####
13 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/core-chrome-browser-internal`
|\r\n`src/core/packages/chrome/browser-internal` |\r\n|
`@kbn/core-custom-branding-browser`
|\r\n`src/core/packages/custom-branding/browser` |\r\n|
`@kbn/core-custom-branding-browser-internal`
|\r\n`src/core/packages/custom-branding/browser-internal` |\r\n|
`@kbn/core-custom-branding-browser-mocks`
|\r\n`src/core/packages/custom-branding/browser-mocks` |\r\n|
`@kbn/core-custom-branding-common`
|\r\n`src/core/packages/custom-branding/common` |\r\n|
`@kbn/core-custom-branding-server`
|\r\n`src/core/packages/custom-branding/server` |\r\n|
`@kbn/core-custom-branding-server-internal`
|\r\n`src/core/packages/custom-branding/server-internal` |\r\n|
`@kbn/core-custom-branding-server-mocks`
|\r\n`src/core/packages/custom-branding/server-mocks` |\r\n|
`@kbn/core-ui-settings-browser`
|\r\n`src/core/packages/ui-settings/browser` |\r\n|
`@kbn/core-ui-settings-browser-internal`
|\r\n`src/core/packages/ui-settings/browser-internal` |\r\n|
`@kbn/core-ui-settings-common`
|\r\n`src/core/packages/ui-settings/common` |\r\n|
`@kbn/core-ui-settings-server`
|\r\n`src/core/packages/ui-settings/server` |\r\n|
`@kbn/core-ui-settings-server-internal`
|\r\n`src/core/packages/ui-settings/server-internal`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/architecture/core/patterns-scoped-services.asciidoc\r\n./docs/developer/architecture/core/uisettings-service.asciidoc\r\n./package.json\r\n./packages/core/custom-branding/core-custom-branding-common/index.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/core/packages/chrome/browser-internal/jest.config.js\r\n./src/core/packages/custom-branding/browser-internal/jest.config.js\r\n./src/core/packages/custom-branding/browser-mocks/jest.config.js\r\n./src/core/packages/custom-branding/server-internal/jest.config.js\r\n./src/core/packages/custom-branding/server-mocks/jest.config.js\r\n./src/core/packages/ui-settings/browser-internal/jest.config.js\r\n./src/core/packages/ui-settings/browser/jest.config.js\r\n./src/core/packages/ui-settings/common/jest.config.js\r\n./src/core/packages/ui-settings/server-internal/jest.config.js\r\n./src/core/packages/ui-settings/server/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.ts\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\nsrc/core/packages/chrome/browser-internal/jest.config.js:12\r\nsrc/core/packages/chrome/browser-internal/tsconfig.json:2\r\nsrc/core/packages/custom-branding/browser-internal/jest.config.js:12\r\nsrc/core/packages/custom-branding/browser-internal/tsconfig.json:2\r\nsrc/core/packages/custom-branding/browser-mocks/jest.config.js:12\r\nsrc/core/packages/custom-branding/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/custom-branding/browser/tsconfig.json:2\r\nsrc/core/packages/custom-branding/common/tsconfig.json:2\r\nsrc/core/packages/custom-branding/server-internal/jest.config.js:12\r\nsrc/core/packages/custom-branding/server-internal/tsconfig.json:2\r\nsrc/core/packages/custom-branding/server-mocks/jest.config.js:12\r\nsrc/core/packages/custom-branding/server-mocks/tsconfig.json:2\r\nsrc/core/packages/custom-branding/server/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser-internal/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser-internal/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser/tsconfig.json:2\r\nsrc/core/packages/ui-settings/common/jest.config.js:12\r\nsrc/core/packages/ui-settings/common/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server-internal/jest.config.js:12\r\nsrc/core/packages/ui-settings/server-internal/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server/jest.config.js:12\r\nsrc/core/packages/ui-settings/server/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3bb50f7048dec42164c41772732f388d47f0a7a4","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","backport:prev-minor","plugin
groups"],"number":205608,"url":"https://github.com/elastic/kibana/pull/205608","mergeCommit":{"message":"SKA:
Move SharedUX packages under packages/core (#205608)\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####
13 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/core-chrome-browser-internal`
|\r\n`src/core/packages/chrome/browser-internal` |\r\n|
`@kbn/core-custom-branding-browser`
|\r\n`src/core/packages/custom-branding/browser` |\r\n|
`@kbn/core-custom-branding-browser-internal`
|\r\n`src/core/packages/custom-branding/browser-internal` |\r\n|
`@kbn/core-custom-branding-browser-mocks`
|\r\n`src/core/packages/custom-branding/browser-mocks` |\r\n|
`@kbn/core-custom-branding-common`
|\r\n`src/core/packages/custom-branding/common` |\r\n|
`@kbn/core-custom-branding-server`
|\r\n`src/core/packages/custom-branding/server` |\r\n|
`@kbn/core-custom-branding-server-internal`
|\r\n`src/core/packages/custom-branding/server-internal` |\r\n|
`@kbn/core-custom-branding-server-mocks`
|\r\n`src/core/packages/custom-branding/server-mocks` |\r\n|
`@kbn/core-ui-settings-browser`
|\r\n`src/core/packages/ui-settings/browser` |\r\n|
`@kbn/core-ui-settings-browser-internal`
|\r\n`src/core/packages/ui-settings/browser-internal` |\r\n|
`@kbn/core-ui-settings-common`
|\r\n`src/core/packages/ui-settings/common` |\r\n|
`@kbn/core-ui-settings-server`
|\r\n`src/core/packages/ui-settings/server` |\r\n|
`@kbn/core-ui-settings-server-internal`
|\r\n`src/core/packages/ui-settings/server-internal`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/architecture/core/patterns-scoped-services.asciidoc\r\n./docs/developer/architecture/core/uisettings-service.asciidoc\r\n./package.json\r\n./packages/core/custom-branding/core-custom-branding-common/index.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/core/packages/chrome/browser-internal/jest.config.js\r\n./src/core/packages/custom-branding/browser-internal/jest.config.js\r\n./src/core/packages/custom-branding/browser-mocks/jest.config.js\r\n./src/core/packages/custom-branding/server-internal/jest.config.js\r\n./src/core/packages/custom-branding/server-mocks/jest.config.js\r\n./src/core/packages/ui-settings/browser-internal/jest.config.js\r\n./src/core/packages/ui-settings/browser/jest.config.js\r\n./src/core/packages/ui-settings/common/jest.config.js\r\n./src/core/packages/ui-settings/server-internal/jest.config.js\r\n./src/core/packages/ui-settings/server/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.ts\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\nsrc/core/packages/chrome/browser-internal/jest.config.js:12\r\nsrc/core/packages/chrome/browser-internal/tsconfig.json:2\r\nsrc/core/packages/custom-branding/browser-internal/jest.config.js:12\r\nsrc/core/packages/custom-branding/browser-internal/tsconfig.json:2\r\nsrc/core/packages/custom-branding/browser-mocks/jest.config.js:12\r\nsrc/core/packages/custom-branding/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/custom-branding/browser/tsconfig.json:2\r\nsrc/core/packages/custom-branding/common/tsconfig.json:2\r\nsrc/core/packages/custom-branding/server-internal/jest.config.js:12\r\nsrc/core/packages/custom-branding/server-internal/tsconfig.json:2\r\nsrc/core/packages/custom-branding/server-mocks/jest.config.js:12\r\nsrc/core/packages/custom-branding/server-mocks/tsconfig.json:2\r\nsrc/core/packages/custom-branding/server/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser-internal/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser-internal/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser/tsconfig.json:2\r\nsrc/core/packages/ui-settings/common/jest.config.js:12\r\nsrc/core/packages/ui-settings/common/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server-internal/jest.config.js:12\r\nsrc/core/packages/ui-settings/server-internal/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server/jest.config.js:12\r\nsrc/core/packages/ui-settings/server/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3bb50f7048dec42164c41772732f388d47f0a7a4"}},"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/205608","number":205608,"mergeCommit":{"message":"SKA:
Move SharedUX packages under packages/core (#205608)\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####
13 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/core-chrome-browser-internal`
|\r\n`src/core/packages/chrome/browser-internal` |\r\n|
`@kbn/core-custom-branding-browser`
|\r\n`src/core/packages/custom-branding/browser` |\r\n|
`@kbn/core-custom-branding-browser-internal`
|\r\n`src/core/packages/custom-branding/browser-internal` |\r\n|
`@kbn/core-custom-branding-browser-mocks`
|\r\n`src/core/packages/custom-branding/browser-mocks` |\r\n|
`@kbn/core-custom-branding-common`
|\r\n`src/core/packages/custom-branding/common` |\r\n|
`@kbn/core-custom-branding-server`
|\r\n`src/core/packages/custom-branding/server` |\r\n|
`@kbn/core-custom-branding-server-internal`
|\r\n`src/core/packages/custom-branding/server-internal` |\r\n|
`@kbn/core-custom-branding-server-mocks`
|\r\n`src/core/packages/custom-branding/server-mocks` |\r\n|
`@kbn/core-ui-settings-browser`
|\r\n`src/core/packages/ui-settings/browser` |\r\n|
`@kbn/core-ui-settings-browser-internal`
|\r\n`src/core/packages/ui-settings/browser-internal` |\r\n|
`@kbn/core-ui-settings-common`
|\r\n`src/core/packages/ui-settings/common` |\r\n|
`@kbn/core-ui-settings-server`
|\r\n`src/core/packages/ui-settings/server` |\r\n|
`@kbn/core-ui-settings-server-internal`
|\r\n`src/core/packages/ui-settings/server-internal`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/architecture/core/patterns-scoped-services.asciidoc\r\n./docs/developer/architecture/core/uisettings-service.asciidoc\r\n./package.json\r\n./packages/core/custom-branding/core-custom-branding-common/index.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/core/packages/chrome/browser-internal/jest.config.js\r\n./src/core/packages/custom-branding/browser-internal/jest.config.js\r\n./src/core/packages/custom-branding/browser-mocks/jest.config.js\r\n./src/core/packages/custom-branding/server-internal/jest.config.js\r\n./src/core/packages/custom-branding/server-mocks/jest.config.js\r\n./src/core/packages/ui-settings/browser-internal/jest.config.js\r\n./src/core/packages/ui-settings/browser/jest.config.js\r\n./src/core/packages/ui-settings/common/jest.config.js\r\n./src/core/packages/ui-settings/server-internal/jest.config.js\r\n./src/core/packages/ui-settings/server/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.ts\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\nsrc/core/packages/chrome/browser-internal/jest.config.js:12\r\nsrc/core/packages/chrome/browser-internal/tsconfig.json:2\r\nsrc/core/packages/custom-branding/browser-internal/jest.config.js:12\r\nsrc/core/packages/custom-branding/browser-internal/tsconfig.json:2\r\nsrc/core/packages/custom-branding/browser-mocks/jest.config.js:12\r\nsrc/core/packages/custom-branding/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/custom-branding/browser/tsconfig.json:2\r\nsrc/core/packages/custom-branding/common/tsconfig.json:2\r\nsrc/core/packages/custom-branding/server-internal/jest.config.js:12\r\nsrc/core/packages/custom-branding/server-internal/tsconfig.json:2\r\nsrc/core/packages/custom-branding/server-mocks/jest.config.js:12\r\nsrc/core/packages/custom-branding/server-mocks/tsconfig.json:2\r\nsrc/core/packages/custom-branding/server/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser-internal/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser-internal/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser/tsconfig.json:2\r\nsrc/core/packages/ui-settings/common/jest.config.js:12\r\nsrc/core/packages/ui-settings/common/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server-internal/jest.config.js:12\r\nsrc/core/packages/ui-settings/server-internal/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server/jest.config.js:12\r\nsrc/core/packages/ui-settings/server/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3bb50f7048dec42164c41772732f388d47f0a7a4"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Eyo O. Eyo 2025-01-08 12:01:55 +01:00 committed by GitHub
parent 1384cedd84
commit 1d6a77ce9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
248 changed files with 132 additions and 132 deletions

26
.github/CODEOWNERS vendored
View file

@ -147,16 +147,16 @@ src/core/packages/capabilities/server @elastic/kibana-core
src/core/packages/capabilities/server-internal @elastic/kibana-core
packages/core/capabilities/core-capabilities-server-mocks @elastic/kibana-core
packages/core/chrome/core-chrome-browser @elastic/appex-sharedux
packages/core/chrome/core-chrome-browser-internal @elastic/appex-sharedux
src/core/packages/chrome/browser-internal @elastic/appex-sharedux
packages/core/chrome/core-chrome-browser-mocks @elastic/appex-sharedux
src/core/packages/config/server-internal @elastic/kibana-core
packages/core/custom-branding/core-custom-branding-browser @elastic/appex-sharedux
packages/core/custom-branding/core-custom-branding-browser-internal @elastic/appex-sharedux
packages/core/custom-branding/core-custom-branding-browser-mocks @elastic/appex-sharedux
packages/core/custom-branding/core-custom-branding-common @elastic/appex-sharedux
packages/core/custom-branding/core-custom-branding-server @elastic/appex-sharedux
packages/core/custom-branding/core-custom-branding-server-internal @elastic/appex-sharedux
packages/core/custom-branding/core-custom-branding-server-mocks @elastic/appex-sharedux
src/core/packages/custom-branding/browser @elastic/appex-sharedux
src/core/packages/custom-branding/browser-internal @elastic/appex-sharedux
src/core/packages/custom-branding/browser-mocks @elastic/appex-sharedux
src/core/packages/custom-branding/common @elastic/appex-sharedux
src/core/packages/custom-branding/server @elastic/appex-sharedux
src/core/packages/custom-branding/server-internal @elastic/appex-sharedux
src/core/packages/custom-branding/server-mocks @elastic/appex-sharedux
src/core/packages/deprecations/browser @elastic/kibana-core
src/core/packages/deprecations/browser-internal @elastic/kibana-core
packages/core/deprecations/core-deprecations-browser-mocks @elastic/kibana-core
@ -322,12 +322,12 @@ src/core/packages/test-helpers/test-utils @elastic/kibana-core
src/core/packages/theme/browser @elastic/kibana-core
src/core/packages/theme/browser-internal @elastic/kibana-core
packages/core/theme/core-theme-browser-mocks @elastic/kibana-core
packages/core/ui-settings/core-ui-settings-browser @elastic/appex-sharedux
packages/core/ui-settings/core-ui-settings-browser-internal @elastic/appex-sharedux
src/core/packages/ui-settings/browser @elastic/appex-sharedux
src/core/packages/ui-settings/browser-internal @elastic/appex-sharedux
packages/core/ui-settings/core-ui-settings-browser-mocks @elastic/appex-sharedux
packages/core/ui-settings/core-ui-settings-common @elastic/appex-sharedux
packages/core/ui-settings/core-ui-settings-server @elastic/appex-sharedux
packages/core/ui-settings/core-ui-settings-server-internal @elastic/appex-sharedux
src/core/packages/ui-settings/common @elastic/appex-sharedux
src/core/packages/ui-settings/server @elastic/appex-sharedux
src/core/packages/ui-settings/server-internal @elastic/appex-sharedux
packages/core/ui-settings/core-ui-settings-server-mocks @elastic/appex-sharedux
src/core/packages/usage-data/base-server-internal @elastic/kibana-core
src/core/packages/usage-data/server @elastic/kibana-core

View file

@ -20,7 +20,7 @@ The {kib-repo}/blob/8.9/src/core/packages/http/server/src/router/request_handler
* {kib-repo}/blob/8.9/src/core/packages/saved-objects/api-server/src/saved_objects_client.ts[`context.savedObjects.client`]
* {kib-repo}/blob/8.9/src/core/packages/elasticsearch/server/src/client/scoped_cluster_client.ts[`context.elasticsearch.client`]
* {kib-repo}/blob/8.9/packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts[`context.uiSettings.client`]
* {kib-repo}/blob/8.9/src/core/packages/ui-settings/server/src/ui_settings_client.ts[`context.uiSettings.client`]
==== Declare a custom scoped service

View file

@ -38,10 +38,10 @@ uiSettings:
[[client-side-usage]]
=== Client side usage
On the client, the `uiSettings` service is exposed directly from `core` and the {kib-repo}/blob/8.9/packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts[client]
On the client, the `uiSettings` service is exposed directly from `core` and the {kib-repo}/blob/8.9/src/core/packages/ui-settings/server/src/ui_settings_client.ts[client]
provides plugins access to the `config` entries stored in {es}.
In the interest of performance, `uiSettings` are cached. Any changes that require cache refreshes should register an instruction to reload the page when settings are configured in Advanced Settings using the `requiresPageReload` {kib-repo}/blob/8.9/packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts[parameter].
In the interest of performance, `uiSettings` are cached. Any changes that require cache refreshes should register an instruction to reload the page when settings are configured in Advanced Settings using the `requiresPageReload` {kib-repo}/blob/8.9/src/core/packages/ui-settings/common/src/ui_settings.ts[parameter].
[source,typescript]
----
@ -78,7 +78,7 @@ export class MyPlugin implements Plugin<MyPluginSetup, MyPluginStart> {
=== Server side usage
On the server, `uiSettings` are exposed directly from `core`.
The following example shows how to register a new `custom` setting with a default value of '42'. When registering a new setting, you must provide a schema against which validations are performed on read and write. All the other {kib-repo}/blob/8.9/packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts[parameters] are optional.
The following example shows how to register a new `custom` setting with a default value of '42'. When registering a new setting, you must provide a schema against which validations are performed on read and write. All the other {kib-repo}/blob/8.9/src/core/packages/ui-settings/common/src/ui_settings.ts[parameters] are optional.
[source,typescript]
----

View file

@ -264,15 +264,15 @@
"@kbn/core-capabilities-server": "link:src/core/packages/capabilities/server",
"@kbn/core-capabilities-server-internal": "link:src/core/packages/capabilities/server-internal",
"@kbn/core-chrome-browser": "link:packages/core/chrome/core-chrome-browser",
"@kbn/core-chrome-browser-internal": "link:packages/core/chrome/core-chrome-browser-internal",
"@kbn/core-chrome-browser-internal": "link:src/core/packages/chrome/browser-internal",
"@kbn/core-config-server-internal": "link:src/core/packages/config/server-internal",
"@kbn/core-custom-branding-browser": "link:packages/core/custom-branding/core-custom-branding-browser",
"@kbn/core-custom-branding-browser-internal": "link:packages/core/custom-branding/core-custom-branding-browser-internal",
"@kbn/core-custom-branding-browser-mocks": "link:packages/core/custom-branding/core-custom-branding-browser-mocks",
"@kbn/core-custom-branding-common": "link:packages/core/custom-branding/core-custom-branding-common",
"@kbn/core-custom-branding-server": "link:packages/core/custom-branding/core-custom-branding-server",
"@kbn/core-custom-branding-server-internal": "link:packages/core/custom-branding/core-custom-branding-server-internal",
"@kbn/core-custom-branding-server-mocks": "link:packages/core/custom-branding/core-custom-branding-server-mocks",
"@kbn/core-custom-branding-browser": "link:src/core/packages/custom-branding/browser",
"@kbn/core-custom-branding-browser-internal": "link:src/core/packages/custom-branding/browser-internal",
"@kbn/core-custom-branding-browser-mocks": "link:src/core/packages/custom-branding/browser-mocks",
"@kbn/core-custom-branding-common": "link:src/core/packages/custom-branding/common",
"@kbn/core-custom-branding-server": "link:src/core/packages/custom-branding/server",
"@kbn/core-custom-branding-server-internal": "link:src/core/packages/custom-branding/server-internal",
"@kbn/core-custom-branding-server-mocks": "link:src/core/packages/custom-branding/server-mocks",
"@kbn/core-deprecations-browser": "link:src/core/packages/deprecations/browser",
"@kbn/core-deprecations-browser-internal": "link:src/core/packages/deprecations/browser-internal",
"@kbn/core-deprecations-common": "link:src/core/packages/deprecations/common",
@ -395,11 +395,11 @@
"@kbn/core-test-helpers-test-utils": "link:src/core/packages/test-helpers/test-utils",
"@kbn/core-theme-browser": "link:src/core/packages/theme/browser",
"@kbn/core-theme-browser-internal": "link:src/core/packages/theme/browser-internal",
"@kbn/core-ui-settings-browser": "link:packages/core/ui-settings/core-ui-settings-browser",
"@kbn/core-ui-settings-browser-internal": "link:packages/core/ui-settings/core-ui-settings-browser-internal",
"@kbn/core-ui-settings-common": "link:packages/core/ui-settings/core-ui-settings-common",
"@kbn/core-ui-settings-server": "link:packages/core/ui-settings/core-ui-settings-server",
"@kbn/core-ui-settings-server-internal": "link:packages/core/ui-settings/core-ui-settings-server-internal",
"@kbn/core-ui-settings-browser": "link:src/core/packages/ui-settings/browser",
"@kbn/core-ui-settings-browser-internal": "link:src/core/packages/ui-settings/browser-internal",
"@kbn/core-ui-settings-common": "link:src/core/packages/ui-settings/common",
"@kbn/core-ui-settings-server": "link:src/core/packages/ui-settings/server",
"@kbn/core-ui-settings-server-internal": "link:src/core/packages/ui-settings/server-internal",
"@kbn/core-usage-data-base-server-internal": "link:src/core/packages/usage-data/base-server-internal",
"@kbn/core-usage-data-server": "link:src/core/packages/usage-data/server",
"@kbn/core-usage-data-server-internal": "link:src/core/packages/usage-data/server-internal",

View file

@ -1,14 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
module.exports = {
preset: '@kbn/test',
rootDir: '../../../../',
roots: ['<rootDir>/packages/core/custom-branding/core-custom-branding-browser-internal'],
};

View file

@ -1,14 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
module.exports = {
preset: '@kbn/test',
rootDir: '../../../..',
roots: ['<rootDir>/packages/core/custom-branding/core-custom-branding-browser-mocks'],
};

View file

@ -182,7 +182,7 @@ navigation.addSolutionNavigation({
#### Navigation tree API
> **Warning**
> The API reference is manually maintained and might be out of date. Please refer [to the source](https://github.com/elastic/kibana/blob/main/packages/core/chrome/core-chrome-browser/src/project_navigation.ts) for the most up-to-date information, until we have automated the API reference.
> The API reference is manually maintained and might be out of date. Please refer [to the source](https://github.com/elastic/kibana/blob/main/src/core/packages/chrome/browser/src/project_navigation.ts) for the most up-to-date information, until we have automated the API reference.
##### `NavigationTreeDefinition`

View file

@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
rootDir: '../../../..',
roots: ['<rootDir>/packages/core/chrome/core-chrome-browser-internal'],
rootDir: '../../../../..',
roots: ['<rootDir>/src/core/packages/chrome/browser-internal'],
};

View file

@ -1,5 +1,5 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [

View file

@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
rootDir: '../../../..',
roots: ['<rootDir>/packages/core/ui-settings/core-ui-settings-browser-internal'],
rootDir: '../../../../../',
roots: ['<rootDir>/src/core/packages/custom-branding/browser-internal'],
};

View file

@ -1,5 +1,5 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [

View file

@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
rootDir: '../../../..',
roots: ['<rootDir>/packages/core/ui-settings/core-ui-settings-browser'],
rootDir: '../../../../..',
roots: ['<rootDir>/src/core/packages/custom-branding/browser-mocks'],
};

View file

@ -1,5 +1,5 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [

View file

@ -1,5 +1,5 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [

Some files were not shown because too many files have changed in this diff Show more