Skip to content

Commit

Permalink
Sustainable Kibana Architecture: Move content management related pack…
Browse files Browse the repository at this point in the history
…ages (#205593)

(cherry picked from commit 72d3f7b)

# Conflicts:
#	.github/CODEOWNERS
  • Loading branch information
Dosant committed Jan 8, 2025
1 parent 1384ced commit af45812
Show file tree
Hide file tree
Showing 213 changed files with 220 additions and 217 deletions.
30 changes: 15 additions & 15 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,19 @@ src/platform/packages/shared/kbn-config @elastic/kibana-core
src/platform/packages/private/kbn-config-mocks @elastic/kibana-core
src/platform/packages/shared/kbn-config-schema @elastic/kibana-core
src/platform/plugins/shared/console @elastic/kibana-management
packages/content-management/content_editor @elastic/appex-sharedux
packages/content-management/content_insights/content_insights_public @elastic/appex-sharedux
packages/content-management/content_insights/content_insights_server @elastic/appex-sharedux
src/platform/packages/shared/content-management/content_editor @elastic/appex-sharedux
src/platform/packages/shared/content-management/content_insights/content_insights_public @elastic/appex-sharedux
src/platform/packages/shared/content-management/content_insights/content_insights_server @elastic/appex-sharedux
examples/content_management_examples @elastic/appex-sharedux
packages/content-management/favorites/favorites_common @elastic/appex-sharedux
packages/content-management/favorites/favorites_public @elastic/appex-sharedux
packages/content-management/favorites/favorites_server @elastic/appex-sharedux
src/platform/packages/shared/content-management/favorites/favorites_common @elastic/appex-sharedux
src/platform/packages/shared/content-management/favorites/favorites_public @elastic/appex-sharedux
src/platform/packages/shared/content-management/favorites/favorites_server @elastic/appex-sharedux
src/platform/plugins/shared/content_management @elastic/appex-sharedux
packages/content-management/tabbed_table_list_view @elastic/appex-sharedux
packages/content-management/table_list_view @elastic/appex-sharedux
packages/content-management/table_list_view_common @elastic/appex-sharedux
packages/content-management/table_list_view_table @elastic/appex-sharedux
packages/content-management/user_profiles @elastic/appex-sharedux
src/platform/packages/shared/content-management/tabbed_table_list_view @elastic/appex-sharedux
src/platform/packages/shared/content-management/table_list_view @elastic/appex-sharedux
src/platform/packages/shared/content-management/table_list_view_common @elastic/appex-sharedux
src/platform/packages/shared/content-management/table_list_view_table @elastic/appex-sharedux
src/platform/packages/shared/content-management/user_profiles @elastic/appex-sharedux
src/platform/packages/shared/kbn-content-management-utils @elastic/kibana-data-discovery
examples/controls_example @elastic/kibana-presentation
src/platform/plugins/shared/controls @elastic/kibana-presentation
Expand Down Expand Up @@ -659,8 +659,8 @@ src/platform/plugins/shared/newsfeed @elastic/kibana-core
test/common/plugins/newsfeed @elastic/kibana-core
src/platform/plugins/private/no_data_page @elastic/appex-sharedux
x-pack/platform/plugins/shared/notifications @elastic/appex-sharedux
packages/kbn-object-versioning @elastic/appex-sharedux
packages/kbn-object-versioning-utils @elastic/appex-sharedux
src/platform/packages/shared/kbn-object-versioning @elastic/appex-sharedux
src/platform/packages/shared/kbn-object-versioning-utils @elastic/appex-sharedux
x-pack/solutions/observability/plugins/observability_ai_assistant_app @elastic/obs-ai-assistant
x-pack/solutions/observability/plugins/observability_ai_assistant_management @elastic/obs-ai-assistant
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant
Expand Down Expand Up @@ -722,7 +722,7 @@ packages/react/kibana_context/styled @elastic/appex-sharedux
packages/react/kibana_context/theme @elastic/appex-sharedux
packages/react/kibana_mount @elastic/appex-sharedux
packages/kbn-react-mute-legacy-root-warning @elastic/appex-sharedux
packages/kbn-recently-accessed @elastic/appex-sharedux
src/platform/packages/shared/kbn-recently-accessed @elastic/appex-sharedux
packages/kbn-relocate @elastic/kibana-core
x-pack/platform/plugins/private/remote_clusters @elastic/kibana-management
test/plugin_functional/plugins/rendering_plugin @elastic/kibana-core
Expand Down Expand Up @@ -983,7 +983,7 @@ src/platform/packages/shared/kbn-try-in-console @elastic/search-kibana
packages/kbn-ts-projects @elastic/kibana-operations
packages/kbn-ts-type-check-cli @elastic/kibana-operations
src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-management-team
packages/kbn-ui-actions-browser @elastic/appex-sharedux
src/platform/packages/shared/kbn-ui-actions-browser @elastic/appex-sharedux
x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux
src/platform/plugins/shared/ui_actions_enhanced @elastic/appex-sharedux
examples/ui_action_examples @elastic/appex-sharedux
Expand Down
4 changes: 2 additions & 2 deletions .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"cellActions": "src/platform/packages/shared/kbn-cell-actions",
"charts": "src/plugins/charts",
"console": "src/platform/plugins/shared/console",
"contentManagement": "packages/content-management",
"contentManagement": "src/platform/packages/shared/content-management",
"core": ["src/core", "packages/core"],
"customIntegrations": "src/platform/plugins/shared/custom_integrations",
"customIntegrationsPackage": "x-pack/solutions/observability/packages/kbn-custom-integrations",
Expand Down Expand Up @@ -139,7 +139,7 @@
"telemetry": ["src/platform/plugins/shared/telemetry", "src/platform/plugins/shared/telemetry_management_section"],
"timelion": ["src/plugins/vis_types/timelion"],
"tryInConsole": "src/platform/packages/shared/kbn-try-in-console/",
"uiActions": ["src/platform/plugins/shared/ui_actions", "packages/kbn-ui-actions-browser"],
"uiActions": ["src/platform/plugins/shared/ui_actions", "src/platform/packages/shared/kbn-ui-actions-browser"],
"uiActionsEnhanced": "src/platform/plugins/shared/ui_actions_enhanced",
"uiActionsExamples": "examples/ui_action_examples",
"usageCollection": "src/platform/plugins/shared/usage_collection",
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,19 +228,19 @@
"@kbn/config-mocks": "link:src/platform/packages/private/kbn-config-mocks",
"@kbn/config-schema": "link:src/platform/packages/shared/kbn-config-schema",
"@kbn/console-plugin": "link:src/platform/plugins/shared/console",
"@kbn/content-management-content-editor": "link:packages/content-management/content_editor",
"@kbn/content-management-content-insights-public": "link:packages/content-management/content_insights/content_insights_public",
"@kbn/content-management-content-insights-server": "link:packages/content-management/content_insights/content_insights_server",
"@kbn/content-management-content-editor": "link:src/platform/packages/shared/content-management/content_editor",
"@kbn/content-management-content-insights-public": "link:src/platform/packages/shared/content-management/content_insights/content_insights_public",
"@kbn/content-management-content-insights-server": "link:src/platform/packages/shared/content-management/content_insights/content_insights_server",
"@kbn/content-management-examples-plugin": "link:examples/content_management_examples",
"@kbn/content-management-favorites-common": "link:packages/content-management/favorites/favorites_common",
"@kbn/content-management-favorites-public": "link:packages/content-management/favorites/favorites_public",
"@kbn/content-management-favorites-server": "link:packages/content-management/favorites/favorites_server",
"@kbn/content-management-favorites-common": "link:src/platform/packages/shared/content-management/favorites/favorites_common",
"@kbn/content-management-favorites-public": "link:src/platform/packages/shared/content-management/favorites/favorites_public",
"@kbn/content-management-favorites-server": "link:src/platform/packages/shared/content-management/favorites/favorites_server",
"@kbn/content-management-plugin": "link:src/platform/plugins/shared/content_management",
"@kbn/content-management-tabbed-table-list-view": "link:packages/content-management/tabbed_table_list_view",
"@kbn/content-management-table-list-view": "link:packages/content-management/table_list_view",
"@kbn/content-management-table-list-view-common": "link:packages/content-management/table_list_view_common",
"@kbn/content-management-table-list-view-table": "link:packages/content-management/table_list_view_table",
"@kbn/content-management-user-profiles": "link:packages/content-management/user_profiles",
"@kbn/content-management-tabbed-table-list-view": "link:src/platform/packages/shared/content-management/tabbed_table_list_view",
"@kbn/content-management-table-list-view": "link:src/platform/packages/shared/content-management/table_list_view",
"@kbn/content-management-table-list-view-common": "link:src/platform/packages/shared/content-management/table_list_view_common",
"@kbn/content-management-table-list-view-table": "link:src/platform/packages/shared/content-management/table_list_view_table",
"@kbn/content-management-user-profiles": "link:src/platform/packages/shared/content-management/user_profiles",
"@kbn/content-management-utils": "link:src/platform/packages/shared/kbn-content-management-utils",
"@kbn/controls-example-plugin": "link:examples/controls_example",
"@kbn/controls-plugin": "link:src/platform/plugins/shared/controls",
Expand Down Expand Up @@ -689,8 +689,8 @@
"@kbn/newsfeed-test-plugin": "link:test/common/plugins/newsfeed",
"@kbn/no-data-page-plugin": "link:src/platform/plugins/private/no_data_page",
"@kbn/notifications-plugin": "link:x-pack/platform/plugins/shared/notifications",
"@kbn/object-versioning": "link:packages/kbn-object-versioning",
"@kbn/object-versioning-utils": "link:packages/kbn-object-versioning-utils",
"@kbn/object-versioning": "link:src/platform/packages/shared/kbn-object-versioning",
"@kbn/object-versioning-utils": "link:src/platform/packages/shared/kbn-object-versioning-utils",
"@kbn/observability-ai-assistant-app-plugin": "link:x-pack/solutions/observability/plugins/observability_ai_assistant_app",
"@kbn/observability-ai-assistant-management-plugin": "link:x-pack/solutions/observability/plugins/observability_ai_assistant_management",
"@kbn/observability-ai-assistant-plugin": "link:x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant",
Expand Down Expand Up @@ -740,7 +740,7 @@
"@kbn/react-kibana-context-theme": "link:packages/react/kibana_context/theme",
"@kbn/react-kibana-mount": "link:packages/react/kibana_mount",
"@kbn/react-mute-legacy-root-warning": "link:packages/kbn-react-mute-legacy-root-warning",
"@kbn/recently-accessed": "link:packages/kbn-recently-accessed",
"@kbn/recently-accessed": "link:src/platform/packages/shared/kbn-recently-accessed",
"@kbn/remote-clusters-plugin": "link:x-pack/platform/plugins/private/remote_clusters",
"@kbn/rendering-plugin": "link:test/plugin_functional/plugins/rendering_plugin",
"@kbn/repo-info": "link:src/platform/packages/shared/kbn-repo-info",
Expand Down Expand Up @@ -972,7 +972,7 @@
"@kbn/triggers-actions-ui-types": "link:src/platform/packages/shared/kbn-triggers-actions-ui-types",
"@kbn/try-in-console": "link:src/platform/packages/shared/kbn-try-in-console",
"@kbn/typed-react-router-config": "link:src/platform/packages/shared/kbn-typed-react-router-config",
"@kbn/ui-actions-browser": "link:packages/kbn-ui-actions-browser",
"@kbn/ui-actions-browser": "link:src/platform/packages/shared/kbn-ui-actions-browser",
"@kbn/ui-actions-enhanced-examples-plugin": "link:x-pack/examples/ui_actions_enhanced_examples",
"@kbn/ui-actions-enhanced-plugin": "link:src/platform/plugins/shared/ui_actions_enhanced",
"@kbn/ui-actions-examples-plugin": "link:examples/ui_action_examples",
Expand Down
14 changes: 0 additions & 14 deletions packages/content-management/user_profiles/jest.config.js

This file was deleted.

14 changes: 0 additions & 14 deletions packages/kbn-object-versioning-utils/jest.config.js

This file was deleted.

14 changes: 0 additions & 14 deletions packages/kbn-object-versioning/jest.config.js

This file was deleted.

14 changes: 0 additions & 14 deletions packages/kbn-recently-accessed/jest.config.js

This file was deleted.

14 changes: 0 additions & 14 deletions packages/kbn-ui-actions-browser/jest.config.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

module.exports = {
preset: '@kbn/test',
rootDir: '../../../..',
roots: ['<rootDir>/packages/content-management/content_insights/content_insights_public'],
rootDir: '../../../../../..',
roots: ['<rootDir>/src/platform/packages/shared/content-management/content_editor'],
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.base.json",
"extends": "../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"jsx": "react",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* 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>/src/platform/packages/shared/content-management/content_insights/content_insights_public',
],
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

module.exports = {
preset: '@kbn/test/jest_node',
rootDir: '../../../..',
roots: ['<rootDir>/packages/content-management/favorites/favorites_common'],
rootDir: '../../../../../../..',
roots: [
'<rootDir>/src/platform/packages/shared/content-management/content_insights/content_insights_server',
],
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

module.exports = {
preset: '@kbn/test/jest_node',
rootDir: '../../../..',
roots: ['<rootDir>/packages/content-management/favorites/favorites_server'],
rootDir: '../../../../../../..',
roots: ['<rootDir>/src/platform/packages/shared/content-management/favorites/favorites_common'],
};
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"id": "@kbn/content-management-favorites-common",
"owner": "@elastic/appex-sharedux",
"group": "platform",
"visibility": "private"
"visibility": "shared"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* 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>/src/platform/packages/shared/content-management/favorites/favorites_public'],
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

module.exports = {
preset: '@kbn/test/jest_node',
rootDir: '../../../..',
roots: ['<rootDir>/packages/content-management/content_insights/content_insights_server'],
rootDir: '../../../../../../..',
roots: ['<rootDir>/src/platform/packages/shared/content-management/favorites/favorites_server'],
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* 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>/src/platform/packages/shared/content-management/tabbed_table_list_view'],
};
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"@elastic/appex-sharedux"
],
"group": "platform",
"visibility": "private"
}
"visibility": "shared"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.base.json",
"extends": "../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
Expand Down
Loading

0 comments on commit af45812

Please sign in to comment.