Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-core #201653

Merged
merged 167 commits into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
72fa366
Fix react-intl lint rule
afharo Dec 19, 2024
47ad664
Undo changes to the test
afharo Dec 19, 2024
751056e
Relocating module `@kbn/analytics`
dokmic Jan 3, 2025
a2ac763
Relocating module `@kbn/analytics-collection-utils`
dokmic Jan 3, 2025
58ccac0
Relocating module `@kbn/apm-config-loader`
dokmic Jan 3, 2025
82abb14
Relocating module `@kbn/cloud`
dokmic Jan 3, 2025
3e04d99
Relocating module `@kbn/cloud-chat-plugin`
dokmic Jan 3, 2025
a1571a7
Relocating module `@kbn/cloud-experiments-plugin`
dokmic Jan 3, 2025
809f830
Relocating module `@kbn/cloud-full-story-plugin`
dokmic Jan 3, 2025
cf15362
Relocating module `@kbn/cloud-links-plugin`
dokmic Jan 3, 2025
1794e41
Relocating module `@kbn/cloud-plugin`
dokmic Jan 3, 2025
8118364
Relocating module `@kbn/config`
dokmic Jan 3, 2025
0b7cd68
Relocating module `@kbn/config-mocks`
dokmic Jan 3, 2025
b4db399
Relocating module `@kbn/config-schema`
dokmic Jan 3, 2025
c042bd3
Relocating module `@kbn/core-base-common-internal`
dokmic Jan 3, 2025
0850e42
Relocating module `@kbn/core-base-server-internal`
dokmic Jan 3, 2025
d730c9d
Relocating module `@kbn/core-capabilities-browser-internal`
dokmic Jan 3, 2025
98962e3
Relocating module `@kbn/core-capabilities-common`
dokmic Jan 3, 2025
d3791c5
Relocating module `@kbn/core-capabilities-server`
dokmic Jan 3, 2025
6737f97
Relocating module `@kbn/core-capabilities-server-internal`
dokmic Jan 3, 2025
ae25265
Relocating module `@kbn/core-config-server-internal`
dokmic Jan 3, 2025
565f4c6
Relocating module `@kbn/core-deprecations-browser`
dokmic Jan 3, 2025
4aab893
Relocating module `@kbn/core-deprecations-browser-internal`
dokmic Jan 3, 2025
4b8548c
Relocating module `@kbn/core-deprecations-common`
dokmic Jan 3, 2025
42d824d
Relocating module `@kbn/core-deprecations-server`
dokmic Jan 3, 2025
5f5718c
Relocating module `@kbn/core-deprecations-server-internal`
dokmic Jan 3, 2025
7b45541
Relocating module `@kbn/core-doc-links-browser`
dokmic Jan 3, 2025
76a0127
Relocating module `@kbn/core-doc-links-browser-internal`
dokmic Jan 3, 2025
8b582d5
Relocating module `@kbn/core-doc-links-server`
dokmic Jan 3, 2025
59630a7
Relocating module `@kbn/core-doc-links-server-internal`
dokmic Jan 3, 2025
3234615
Relocating module `@kbn/core-elasticsearch-client-server-internal`
dokmic Jan 3, 2025
fefbd24
Relocating module `@kbn/core-elasticsearch-server`
dokmic Jan 3, 2025
21ea198
Relocating module `@kbn/core-elasticsearch-server-internal`
dokmic Jan 3, 2025
de4d336
Relocating module `@kbn/core-environment-server-internal`
dokmic Jan 3, 2025
d0e2e92
Relocating module `@kbn/core-execution-context-browser`
dokmic Jan 3, 2025
9a66ebc
Relocating module `@kbn/core-execution-context-browser-internal`
dokmic Jan 3, 2025
0a43d2c
Relocating module `@kbn/core-execution-context-common`
dokmic Jan 3, 2025
30dc7d6
Relocating module `@kbn/core-execution-context-server`
dokmic Jan 3, 2025
9de0bd3
Relocating module `@kbn/core-execution-context-server-internal`
dokmic Jan 3, 2025
3ce5abd
Relocating module `@kbn/core-fatal-errors-browser`
dokmic Jan 3, 2025
3ee392a
Relocating module `@kbn/core-fatal-errors-browser-internal`
dokmic Jan 3, 2025
c797b85
Relocating module `@kbn/core-feature-flags-browser`
dokmic Jan 3, 2025
37723b9
Relocating module `@kbn/core-feature-flags-browser-internal`
dokmic Jan 3, 2025
26ba105
Relocating module `@kbn/core-feature-flags-browser-mocks`
dokmic Jan 3, 2025
4b5742b
Relocating module `@kbn/core-feature-flags-server`
dokmic Jan 3, 2025
012506d
Relocating module `@kbn/core-feature-flags-server-internal`
dokmic Jan 3, 2025
31178c4
Relocating module `@kbn/core-feature-flags-server-mocks`
dokmic Jan 3, 2025
547620f
Relocating module `@kbn/core-http-browser`
dokmic Jan 3, 2025
7e55220
Relocating module `@kbn/core-http-browser-internal`
dokmic Jan 3, 2025
aefd1e1
Relocating module `@kbn/core-http-common`
dokmic Jan 3, 2025
e87b4a7
Relocating module `@kbn/core-http-context-server-internal`
dokmic Jan 3, 2025
bab3a67
Relocating module `@kbn/core-http-request-handler-context-server`
dokmic Jan 3, 2025
9afd9e2
Relocating module `@kbn/core-http-request-handler-context-server-inte…
dokmic Jan 3, 2025
f8552b8
Relocating module `@kbn/core-http-resources-server`
dokmic Jan 3, 2025
8242825
Relocating module `@kbn/core-http-resources-server-internal`
dokmic Jan 3, 2025
f079411
Relocating module `@kbn/core-http-router-server-internal`
dokmic Jan 3, 2025
7c27eb7
Relocating module `@kbn/core-http-server`
dokmic Jan 3, 2025
64b9856
Relocating module `@kbn/core-http-server-internal`
dokmic Jan 3, 2025
82227b2
Relocating module `@kbn/core-http-server-utils`
dokmic Jan 3, 2025
4ae7b7d
Relocating module `@kbn/core-i18n-browser`
dokmic Jan 3, 2025
e32efb6
Relocating module `@kbn/core-i18n-browser-internal`
dokmic Jan 3, 2025
d6bff8d
Relocating module `@kbn/core-i18n-server`
dokmic Jan 3, 2025
440f5a7
Relocating module `@kbn/core-i18n-server-internal`
dokmic Jan 3, 2025
58a44a0
Relocating module `@kbn/core-injected-metadata-browser-internal`
dokmic Jan 3, 2025
a2d64b5
Relocating module `@kbn/core-injected-metadata-common-internal`
dokmic Jan 3, 2025
61c391a
Relocating module `@kbn/core-integrations-browser-internal`
dokmic Jan 3, 2025
71d819b
Relocating module `@kbn/core-lifecycle-browser`
dokmic Jan 3, 2025
8059740
Relocating module `@kbn/core-lifecycle-browser-internal`
dokmic Jan 3, 2025
226cad6
Relocating module `@kbn/core-lifecycle-server`
dokmic Jan 3, 2025
9c961e8
Relocating module `@kbn/core-lifecycle-server-internal`
dokmic Jan 3, 2025
a894c82
Relocating module `@kbn/core-logging-browser-internal`
dokmic Jan 3, 2025
99f4bc7
Relocating module `@kbn/core-logging-common-internal`
dokmic Jan 3, 2025
4fe64b1
Relocating module `@kbn/core-logging-server`
dokmic Jan 3, 2025
652cfa5
Relocating module `@kbn/core-logging-server-internal`
dokmic Jan 3, 2025
5a8fe74
Relocating module `@kbn/core-metrics-collectors-server-internal`
dokmic Jan 3, 2025
ee3a23b
Relocating module `@kbn/core-metrics-server`
dokmic Jan 3, 2025
e669359
Relocating module `@kbn/core-metrics-server-internal`
dokmic Jan 3, 2025
6327a85
Relocating module `@kbn/core-mount-utils-browser`
dokmic Jan 3, 2025
88acd0a
Relocating module `@kbn/core-mount-utils-browser-internal`
dokmic Jan 3, 2025
7283d7f
Relocating module `@kbn/core-node-server`
dokmic Jan 3, 2025
97ac0c3
Relocating module `@kbn/core-node-server-internal`
dokmic Jan 3, 2025
045984c
Relocating module `@kbn/core-notifications-browser`
dokmic Jan 3, 2025
0fd1cee
Relocating module `@kbn/core-notifications-browser-internal`
dokmic Jan 3, 2025
2aeb6ce
Relocating module `@kbn/core-overlays-browser`
dokmic Jan 3, 2025
9827548
Relocating module `@kbn/core-overlays-browser-internal`
dokmic Jan 3, 2025
5516c99
Relocating module `@kbn/core-plugins-base-server-internal`
dokmic Jan 3, 2025
84a2a8d
Relocating module `@kbn/core-plugins-browser`
dokmic Jan 3, 2025
318011f
Relocating module `@kbn/core-plugins-browser-internal`
dokmic Jan 3, 2025
92c632c
Relocating module `@kbn/core-plugins-contracts-browser`
dokmic Jan 3, 2025
bab56ed
Relocating module `@kbn/core-plugins-contracts-server`
dokmic Jan 3, 2025
af02cef
Relocating module `@kbn/core-plugins-server`
dokmic Jan 3, 2025
416487c
Relocating module `@kbn/core-plugins-server-internal`
dokmic Jan 3, 2025
5a63c4e
Relocating module `@kbn/core-preboot-server`
dokmic Jan 3, 2025
fad81e2
Relocating module `@kbn/core-preboot-server-internal`
dokmic Jan 3, 2025
f70e58e
Relocating module `@kbn/core-rendering-browser`
dokmic Jan 3, 2025
d71e885
Relocating module `@kbn/core-rendering-browser-internal`
dokmic Jan 3, 2025
073afd4
Relocating module `@kbn/core-rendering-server-internal`
dokmic Jan 3, 2025
56e6002
Relocating module `@kbn/core-root-browser-internal`
dokmic Jan 3, 2025
452dd93
Relocating module `@kbn/core-root-server-internal`
dokmic Jan 3, 2025
e58c4f4
Relocating module `@kbn/core-saved-objects-api-browser`
dokmic Jan 3, 2025
be987ce
Relocating module `@kbn/core-saved-objects-api-server`
dokmic Jan 3, 2025
51dfea6
Relocating module `@kbn/core-saved-objects-api-server-internal`
dokmic Jan 3, 2025
afb7ace
Relocating module `@kbn/core-saved-objects-base-server-internal`
dokmic Jan 3, 2025
6f7fe41
Relocating module `@kbn/core-saved-objects-browser`
dokmic Jan 3, 2025
1ecae9f
Relocating module `@kbn/core-saved-objects-browser-internal`
dokmic Jan 3, 2025
60f6cb2
Relocating module `@kbn/core-saved-objects-common`
dokmic Jan 3, 2025
7d8c91c
Relocating module `@kbn/core-saved-objects-import-export-server-inter…
dokmic Jan 3, 2025
9bbce72
Relocating module `@kbn/core-saved-objects-migration-server-internal`
dokmic Jan 3, 2025
2026115
Relocating module `@kbn/core-saved-objects-server`
dokmic Jan 3, 2025
c611e8a
Relocating module `@kbn/core-saved-objects-server-internal`
dokmic Jan 3, 2025
a026bc4
Relocating module `@kbn/core-saved-objects-utils-server`
dokmic Jan 3, 2025
6962a8c
Relocating module `@kbn/core-security-browser`
dokmic Jan 3, 2025
d383ea3
Relocating module `@kbn/core-security-browser-internal`
dokmic Jan 3, 2025
d70cd96
Relocating module `@kbn/core-security-browser-mocks`
dokmic Jan 3, 2025
607f41d
Relocating module `@kbn/core-security-common`
dokmic Jan 3, 2025
0d2261c
Relocating module `@kbn/core-security-server`
dokmic Jan 3, 2025
ea23ac2
Relocating module `@kbn/core-security-server-internal`
dokmic Jan 3, 2025
17b8cbc
Relocating module `@kbn/core-security-server-mocks`
dokmic Jan 3, 2025
8b5cb64
Relocating module `@kbn/core-status-common`
dokmic Jan 3, 2025
89c0237
Relocating module `@kbn/core-status-server`
dokmic Jan 3, 2025
42da9ef
Relocating module `@kbn/core-status-server-internal`
dokmic Jan 3, 2025
18f637f
Relocating module `@kbn/core-test-helpers-deprecations-getters`
dokmic Jan 3, 2025
790f0a2
Relocating module `@kbn/core-test-helpers-http-setup-browser`
dokmic Jan 3, 2025
7a25f38
Relocating module `@kbn/core-test-helpers-so-type-serializer`
dokmic Jan 3, 2025
7ce690c
Relocating module `@kbn/core-test-helpers-test-utils`
dokmic Jan 3, 2025
07a61b8
Relocating module `@kbn/core-theme-browser`
dokmic Jan 3, 2025
d7dd9c3
Relocating module `@kbn/core-theme-browser-internal`
dokmic Jan 3, 2025
5522234
Relocating module `@kbn/core-usage-data-base-server-internal`
dokmic Jan 3, 2025
252882a
Relocating module `@kbn/core-usage-data-server`
dokmic Jan 3, 2025
9d256bc
Relocating module `@kbn/core-usage-data-server-internal`
dokmic Jan 3, 2025
ce9ea9d
Relocating module `@kbn/core-user-profile-browser`
dokmic Jan 3, 2025
9f34e1c
Relocating module `@kbn/core-user-profile-browser-internal`
dokmic Jan 3, 2025
172a1d5
Relocating module `@kbn/core-user-profile-browser-mocks`
dokmic Jan 3, 2025
39010d2
Relocating module `@kbn/core-user-profile-common`
dokmic Jan 3, 2025
9345cfb
Relocating module `@kbn/core-user-profile-server`
dokmic Jan 3, 2025
13519b4
Relocating module `@kbn/core-user-profile-server-internal`
dokmic Jan 3, 2025
d1e236f
Relocating module `@kbn/core-user-profile-server-mocks`
dokmic Jan 3, 2025
c239768
Relocating module `@kbn/crypto-browser`
dokmic Jan 3, 2025
5f6347b
Relocating module `@kbn/ebt-tools`
dokmic Jan 3, 2025
1b883d7
Relocating module `@kbn/es-errors`
dokmic Jan 3, 2025
4552795
Relocating module `@kbn/es-types`
dokmic Jan 3, 2025
bb42e41
Relocating module `@kbn/features-plugin`
dokmic Jan 3, 2025
fc4a34d
Relocating module `@kbn/ftr-apis-plugin`
dokmic Jan 3, 2025
1b6c4ae
Relocating module `@kbn/hapi-mocks`
dokmic Jan 3, 2025
dc74186
Relocating module `@kbn/health-gateway-server`
dokmic Jan 3, 2025
dd5dffc
Relocating module `@kbn/i18n`
dokmic Jan 3, 2025
64830f8
Relocating module `@kbn/i18n-react`
dokmic Jan 3, 2025
6ba450e
Relocating module `@kbn/kibana-usage-collection-plugin`
dokmic Jan 3, 2025
b3bad7a
Relocating module `@kbn/licensing-plugin`
dokmic Jan 3, 2025
056592c
Relocating module `@kbn/logging`
dokmic Jan 3, 2025
50c1e2f
Relocating module `@kbn/logging-mocks`
dokmic Jan 3, 2025
3aa3ea9
Relocating module `@kbn/newsfeed-plugin`
dokmic Jan 3, 2025
5fb2799
Relocating module `@kbn/router-to-openapispec`
dokmic Jan 3, 2025
8ac37aa
Relocating module `@kbn/saved-objects-management-plugin`
dokmic Jan 3, 2025
d6bfa94
Relocating module `@kbn/server-http-tools`
dokmic Jan 3, 2025
ffc0d00
Relocating module `@kbn/std`
dokmic Jan 3, 2025
4f54b5d
Relocating module `@kbn/telemetry-collection-manager-plugin`
dokmic Jan 3, 2025
93aab4b
Relocating module `@kbn/telemetry-collection-xpack-plugin`
dokmic Jan 3, 2025
5f54f3c
Relocating module `@kbn/telemetry-management-section-plugin`
dokmic Jan 3, 2025
abb59e9
Relocating module `@kbn/telemetry-plugin`
dokmic Jan 3, 2025
f49dbc0
Relocating module `@kbn/upgrade-assistant-plugin`
dokmic Jan 3, 2025
8907552
Relocating module `@kbn/usage-collection-plugin`
dokmic Jan 3, 2025
7967f5b
Relocating module `@kbn/utility-types`
dokmic Jan 3, 2025
e38d835
Relocating module `@kbn/zod`
dokmic Jan 3, 2025
f6eccce
Fix telemetry schemas
afharo Dec 19, 2024
2abcfa4
[CI] Auto-commit changed files from 'node scripts/telemetry_check'
kibanamachine Jan 4, 2025
91b4932
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 6 additions & 6 deletions .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/openai/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/bedrock/,
/^x-pack\/plugins\/usage_collection\/public/,
/^x-pack\/platform\/plugins\/shared\/usage_collection\/public/,
/^x-pack\/solutions\/security\/plugins\/elastic_assistant/,
/^x-pack\/solutions\/security\/packages/,
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/,
Expand Down Expand Up @@ -300,8 +300,8 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^packages\/kbn-doc-links/,
/^packages\/kbn-dom-drag-drop/,
/^src\/platform\/packages\/shared\/kbn-es-query/,
/^packages\/kbn-i18n/,
/^packages\/kbn-i18n-react/,
/^src\/platform\/packages\/shared\/kbn-i18n/,
/^src\/platform\/packages\/shared\/kbn-i18n-react/,
/^src\/platform\/packages\/shared\/kbn-grouping/,
/^src\/platform\/packages\/shared\/kbn-resizable-layout/,
/^src\/platform\/packages\/shared\/kbn-rison/,
Expand All @@ -315,7 +315,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-list-hooks/,
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-t-grid/,
/^src\/platform\/packages\/shared\/kbn-ui-theme/,
/^packages\/kbn-utility-types/,
/^src\/platform\/packages\/shared\/kbn-utility-types/,
/^packages\/react/,
/^packages\/shared-ux/,
/^src\/core/,
Expand Down Expand Up @@ -348,7 +348,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/solutions\/security\/plugins\/threat_intelligence/,
/^x-pack\/solutions\/security\/plugins\/timelines/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui/,
/^x-pack\/plugins\/usage_collection\/public/,
/^x-pack\/platform\/plugins\/shared\/usage_collection\/public/,
/^x-pack\/test\/functional\/es_archives\/security_solution/,
/^x-pack\/test\/security_solution_cypress/,
])) ||
Expand Down Expand Up @@ -376,7 +376,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^x-pack\/packages\/kbn-cloud-security-posture/,
/^x-pack\/solutions\/security\/plugins\/cloud_security_posture/,
/^x-pack\/solutions\/security\/platform\/plugins\/shared\/cloud_security_posture/,
/^x-pack\/solutions\/security\/plugins\/security_solution/,
/^x-pack\/test\/security_solution_cypress/,
])) ||
Expand Down
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ snapshots.js
/x-pack/platform/plugins/private/canvas/storybook/build
/x-pack/platform/plugins/private/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/**
/x-pack/platform/plugins/private/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/**
/x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/**
/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/assets/**

# package overrides
/packages/kbn-eslint-config
Expand Down
38 changes: 19 additions & 19 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1921,14 +1921,14 @@ module.exports = {
*/
{
files: [
'packages/kbn-analytics/**',
'src/platform/packages/shared/kbn-analytics/**',
// 'packages/kbn-telemetry-tools/**',
'src/plugins/kibana_usage_collection/**',
'src/plugins/usage_collection/**',
'src/plugins/telemetry/**',
'src/plugins/telemetry_collection_manager/**',
'src/plugins/telemetry_management_section/**',
'x-pack/plugins/telemetry_collection_xpack/**',
'src/platform/plugins/private/kibana_usage_collection/**',
'src/platform/plugins/shared/usage_collection/**',
'src/platform/plugins/shared/telemetry/**',
'src/platform/plugins/shared/telemetry_collection_manager/**',
'src/platform/plugins/shared/telemetry_management_section/**',
'x-pack/platform/plugins/private/telemetry_collection_xpack/**',
],
rules: {
'@typescript-eslint/no-explicit-any': 'error',
Expand All @@ -1938,21 +1938,21 @@ module.exports = {
files: [
// core-team owned code
'src/core/**',
'x-pack/plugins/features/**',
'x-pack/plugins/licensing/**',
'x-pack/platform/plugins/shared/features/**',
'x-pack/platform/plugins/shared/licensing/**',
'x-pack/platform/plugins/shared/global_search/**',
'x-pack/plugins/cloud/**',
'packages/kbn-config-schema',
'x-pack/platform/plugins/shared/cloud/**',
'src/platform/packages/shared/kbn-config-schema',
'src/plugins/status_page/**',
'src/plugins/saved_objects_management/**',
'packages/kbn-analytics/**',
'src/platform/plugins/shared/saved_objects_management/**',
'src/platform/packages/shared/kbn-analytics/**',
'packages/kbn-telemetry-tools/**',
'src/plugins/kibana_usage_collection/**',
'src/plugins/usage_collection/**',
'src/plugins/telemetry/**',
'src/plugins/telemetry_collection_manager/**',
'src/plugins/telemetry_management_section/**',
'x-pack/plugins/telemetry_collection_xpack/**',
'src/platform/plugins/private/kibana_usage_collection/**',
'src/platform/plugins/shared/usage_collection/**',
'src/platform/plugins/shared/telemetry/**',
'src/platform/plugins/shared/telemetry_collection_manager/**',
'src/platform/plugins/shared/telemetry_management_section/**',
'x-pack/platform/plugins/private/telemetry_collection_xpack/**',
],
rules: {
'@typescript-eslint/prefer-ts-expect-error': 'error',
Expand Down
Loading
Loading