Skip to content

Commit

Permalink
SKA: Categorise remaining packages (#205875)
Browse files Browse the repository at this point in the history
## Summary

* Delete unused package `@kbn/formatters`
* Delete unused package `@kbn/response-ops-feature-flag-service`
* Flag `@kbn/generate-console-definitions` as `devOnly: true`
* Flag `@kbn/plugin-check` as `devOnly: true`
* Flag `@kbn/set-map` as `devOnly: true`
* Flag `@kbn/synthetics-private-location` as `devOnly: true`
* Categorise `@kbn/calculate-auto` as `platform/shared`
* Categorise `@kbn/charts-theme` as `platform/shared`
* Categorise `@kbn/saved-search-component` as `platform/shared`
* Categorise `@kbn/use-tracked-promise` as `platform/shared`
* Categorise `@kbn/charts-theme` as `platform/shared`
* Categorise `@kbn/response-ops-rule-form` as `platform/shared`
  • Loading branch information
gsoldevila authored Jan 8, 2025
1 parent 63c0d18 commit 2be928c
Show file tree
Hide file tree
Showing 32 changed files with 35 additions and 279 deletions.
2 changes: 0 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ packages/kbn-eslint-plugin-telemetry @elastic/obs-knowledge-team
packages/kbn-expect @elastic/kibana-operations @elastic/appex-qa
packages/kbn-failed-test-reporter-cli @elastic/kibana-operations @elastic/appex-qa
packages/kbn-find-used-node-modules @elastic/kibana-operations
packages/kbn-formatters @elastic/obs-ux-logs-team
packages/kbn-ftr-common-functional-services @elastic/kibana-operations @elastic/appex-qa
packages/kbn-ftr-common-functional-ui-services @elastic/appex-qa
packages/kbn-ftr-screenshot-filename @elastic/kibana-operations @elastic/appex-qa
Expand Down Expand Up @@ -222,7 +221,6 @@ packages/react/kibana_context/root @elastic/appex-sharedux
packages/react/kibana_context/styled @elastic/appex-sharedux
packages/react/kibana_context/theme @elastic/appex-sharedux
packages/react/kibana_mount @elastic/appex-sharedux
packages/response-ops/feature_flag_service @elastic/response-ops
packages/response-ops/rule_form @elastic/response-ops
packages/serverless/project_switcher @elastic/appex-sharedux
packages/serverless/settings/common @elastic/appex-sharedux @elastic/kibana-management
Expand Down
2 changes: 2 additions & 0 deletions examples/grid_example/kibana.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"type": "plugin",
"id": "@kbn/grid-example-plugin",
"owner": "@elastic/kibana-presentation",
"group": "platform",
"visibility": "private",
"description": "Temporary example app used to build out the new Dashboard layout system",
"plugin": {
"id": "gridExample",
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -539,11 +539,9 @@
"@kbn/fleet-plugin": "link:x-pack/platform/plugins/shared/fleet",
"@kbn/flot-charts": "link:src/platform/packages/shared/kbn-flot-charts",
"@kbn/foo-plugin": "link:x-pack/test/ui_capabilities/common/plugins/foo_plugin",
"@kbn/formatters": "link:packages/kbn-formatters",
"@kbn/ftr-apis-plugin": "link:src/platform/plugins/private/ftr_apis",
"@kbn/functional-with-es-ssl-cases-test-plugin": "link:x-pack/test/functional_with_es_ssl/plugins/cases",
"@kbn/gen-ai-streaming-response-example-plugin": "link:x-pack/examples/gen_ai_streaming_response_example",
"@kbn/generate-console-definitions": "link:packages/kbn-generate-console-definitions",
"@kbn/generate-csv": "link:src/platform/packages/private/kbn-generate-csv",
"@kbn/global-search-bar-plugin": "link:x-pack/platform/plugins/private/global_search_bar",
"@kbn/global-search-plugin": "link:x-pack/platform/plugins/shared/global_search",
Expand Down Expand Up @@ -719,7 +717,6 @@
"@kbn/painless-lab-plugin": "link:x-pack/platform/plugins/private/painless_lab",
"@kbn/palettes": "link:packages/kbn-palettes",
"@kbn/panel-loader": "link:src/platform/packages/private/kbn-panel-loader",
"@kbn/plugin-check": "link:packages/kbn-plugin-check",
"@kbn/portable-dashboards-example": "link:examples/portable_dashboards_example",
"@kbn/preboot-example-plugin": "link:examples/preboot_example",
"@kbn/presentation-containers": "link:src/platform/packages/shared/presentation/presentation_containers",
Expand Down Expand Up @@ -761,7 +758,6 @@
"@kbn/resizable-layout": "link:src/platform/packages/shared/kbn-resizable-layout",
"@kbn/resizable-layout-examples-plugin": "link:examples/resizable_layout_examples",
"@kbn/resolver-test-plugin": "link:x-pack/test/plugin_functional/plugins/resolver_test",
"@kbn/response-ops-feature-flag-service": "link:packages/response-ops/feature_flag_service",
"@kbn/response-ops-rule-form": "link:packages/response-ops/rule_form",
"@kbn/response-ops-rule-params": "link:src/platform/packages/shared/response-ops/rule_params",
"@kbn/response-stream-plugin": "link:examples/response_stream",
Expand Down Expand Up @@ -874,7 +870,6 @@
"@kbn/serverless-types": "link:packages/serverless/types",
"@kbn/session-notifications-plugin": "link:test/plugin_functional/plugins/session_notifications",
"@kbn/session-view-plugin": "link:x-pack/solutions/security/plugins/session_view",
"@kbn/set-map": "link:packages/kbn-set-map",
"@kbn/share-examples-plugin": "link:examples/share_examples",
"@kbn/share-plugin": "link:src/platform/plugins/shared/share",
"@kbn/shared-svg": "link:src/platform/packages/shared/kbn-shared-svg",
Expand Down Expand Up @@ -948,7 +943,6 @@
"@kbn/streams-plugin": "link:x-pack/solutions/observability/plugins/streams",
"@kbn/streams-schema": "link:x-pack/packages/kbn-streams-schema",
"@kbn/synthetics-plugin": "link:x-pack/solutions/observability/plugins/synthetics",
"@kbn/synthetics-private-location": "link:x-pack/packages/kbn-synthetics-private-location",
"@kbn/task-manager-fixture-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture",
"@kbn/task-manager-performance-plugin": "link:x-pack/test/plugin_api_perf/plugins/task_manager_performance",
"@kbn/task-manager-plugin": "link:x-pack/platform/plugins/shared/task_manager",
Expand Down Expand Up @@ -1464,6 +1458,7 @@
"@kbn/ftr-screenshot-filename": "link:packages/kbn-ftr-screenshot-filename",
"@kbn/gen-ai-functional-testing": "link:packages/kbn-gen-ai-functional-testing",
"@kbn/generate": "link:packages/kbn-generate",
"@kbn/generate-console-definitions": "link:packages/kbn-generate-console-definitions",
"@kbn/get-repo-files": "link:packages/kbn-get-repo-files",
"@kbn/import-locator": "link:packages/kbn-import-locator",
"@kbn/import-resolver": "link:packages/kbn-import-resolver",
Expand All @@ -1489,6 +1484,7 @@
"@kbn/peggy-loader": "link:packages/kbn-peggy-loader",
"@kbn/performance-testing-dataset-extractor": "link:packages/kbn-performance-testing-dataset-extractor",
"@kbn/picomatcher": "link:packages/kbn-picomatcher",
"@kbn/plugin-check": "link:packages/kbn-plugin-check",
"@kbn/plugin-generator": "link:packages/kbn-plugin-generator",
"@kbn/plugin-helpers": "link:packages/kbn-plugin-helpers",
"@kbn/product-doc-artifact-builder": "link:x-pack/packages/ai-infra/product-doc-artifact-builder",
Expand All @@ -1503,12 +1499,14 @@
"@kbn/scout-reporting": "link:packages/kbn-scout-reporting",
"@kbn/security-api-integration-helpers": "link:x-pack/test/security_api_integration/packages/helpers",
"@kbn/serverless-storybook-config": "link:packages/serverless/storybook/config",
"@kbn/set-map": "link:packages/kbn-set-map",
"@kbn/some-dev-log": "link:packages/kbn-some-dev-log",
"@kbn/sort-package-json": "link:packages/kbn-sort-package-json",
"@kbn/stdio-dev-helpers": "link:packages/kbn-stdio-dev-helpers",
"@kbn/storybook": "link:packages/kbn-storybook",
"@kbn/styled-components-mapping-cli": "link:packages/kbn-styled-components-mapping-cli",
"@kbn/synthetics-e2e": "link:x-pack/solutions/observability/plugins/synthetics/e2e",
"@kbn/synthetics-private-location": "link:x-pack/packages/kbn-synthetics-private-location",
"@kbn/telemetry-tools": "link:packages/kbn-telemetry-tools",
"@kbn/test": "link:packages/kbn-test",
"@kbn/test-eui-helpers": "link:packages/kbn-test-eui-helpers",
Expand Down
4 changes: 3 additions & 1 deletion packages/kbn-calculate-auto/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"type": "shared-common",
"id": "@kbn/calculate-auto",
"owner": "@elastic/obs-ux-management-team"
"owner": "@elastic/obs-ux-management-team",
"group": "platform",
"visibility": "shared"
}
4 changes: 3 additions & 1 deletion packages/kbn-charts-theme/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"type": "shared-common",
"id": "@kbn/charts-theme",
"owner": "@elastic/kibana-visualizations"
"owner": "@elastic/kibana-visualizations",
"group": "platform",
"visibility": "shared"
}
3 changes: 0 additions & 3 deletions packages/kbn-formatters/REASDME.md

This file was deleted.

10 changes: 0 additions & 10 deletions packages/kbn-formatters/index.ts

This file was deleted.

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

This file was deleted.

5 changes: 0 additions & 5 deletions packages/kbn-formatters/kibana.jsonc

This file was deleted.

6 changes: 0 additions & 6 deletions packages/kbn-formatters/package.json

This file was deleted.

37 changes: 0 additions & 37 deletions packages/kbn-formatters/src/bytes_formatter/index.test.ts

This file was deleted.

20 changes: 0 additions & 20 deletions packages/kbn-formatters/src/bytes_formatter/index.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/kbn-formatters/tsconfig.json

This file was deleted.

3 changes: 2 additions & 1 deletion packages/kbn-generate-console-definitions/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"type": "shared-common",
"id": "@kbn/generate-console-definitions",
"owner": "@elastic/kibana-management"
"owner": "@elastic/kibana-management",
"devOnly": true
}
4 changes: 3 additions & 1 deletion packages/kbn-grid-layout/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"type": "shared-browser",
"id": "@kbn/grid-layout",
"owner": "@elastic/kibana-presentation"
"owner": "@elastic/kibana-presentation",
"group": "platform",
"visibility": "private"
}
4 changes: 3 additions & 1 deletion packages/kbn-palettes/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"type": "shared-common",
"id": "@kbn/palettes",
"owner": "@elastic/kibana-visualizations"
"owner": "@elastic/kibana-visualizations",
"group": "platform",
"visibility": "shared"
}
3 changes: 2 additions & 1 deletion packages/kbn-plugin-check/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"type": "shared-server",
"id": "@kbn/plugin-check",
"owner": "@elastic/appex-sharedux"
"owner": "@elastic/appex-sharedux",
"devOnly": true
}
4 changes: 3 additions & 1 deletion packages/kbn-saved-search-component/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"type": "shared-browser",
"id": "@kbn/saved-search-component",
"owner": "@elastic/obs-ux-logs-team"
"owner": "@elastic/obs-ux-logs-team",
"group": "platform",
"visibility": "shared"
}
3 changes: 2 additions & 1 deletion packages/kbn-set-map/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"type": "shared-common",
"id": "@kbn/set-map",
"owner": "@elastic/kibana-operations"
"owner": "@elastic/kibana-operations",
"devOnly": true
}
4 changes: 3 additions & 1 deletion packages/kbn-use-tracked-promise/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"type": "shared-common",
"id": "@kbn/use-tracked-promise",
"owner": "@elastic/obs-ux-logs-team"
"owner": "@elastic/obs-ux-logs-team",
"group": "platform",
"visibility": "shared"
}
27 changes: 0 additions & 27 deletions packages/response-ops/feature_flag_service/README.md

This file was deleted.

This file was deleted.

26 changes: 0 additions & 26 deletions packages/response-ops/feature_flag_service/feature_flag_service.ts

This file was deleted.

11 changes: 0 additions & 11 deletions packages/response-ops/feature_flag_service/index.ts

This file was deleted.

Loading

0 comments on commit 2be928c

Please sign in to comment.