From b8ea05111149c99e99715eb4416710cb4c0f33be Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Tue, 10 Dec 2024 17:03:42 +0100 Subject: [PATCH] Relocating module `@kbn/security-solution-navigation` --- .eslintrc.js | 2 +- .github/CODEOWNERS | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- .../security/packages}/navigation/README.mdx | 0 .../security/packages}/navigation/index.ts | 0 .../security/packages}/navigation/jest.config.js | 4 ++-- .../security/packages}/navigation/kibana.jsonc | 0 .../security/packages}/navigation/landing_links.ts | 0 .../security/packages}/navigation/links.ts | 0 .../security/packages}/navigation/mocks/context.ts | 0 .../security/packages}/navigation/mocks/navigation.ts | 0 .../security/packages}/navigation/package.json | 0 .../security/packages}/navigation/src/__mocks__/context.tsx | 0 .../security/packages}/navigation/src/__mocks__/navigation.ts | 0 .../security/packages}/navigation/src/constants.ts | 0 .../security/packages}/navigation/src/context.tsx | 0 .../packages}/navigation/src/landing_links/beta_badge.tsx | 0 .../security/packages}/navigation/src/landing_links/index.ts | 0 .../navigation/src/landing_links/landing_links.test.tsx | 0 .../packages}/navigation/src/landing_links/landing_links.tsx | 0 .../src/landing_links/landing_links_icons.stories.tsx | 0 .../navigation/src/landing_links/landing_links_icons.test.tsx | 0 .../navigation/src/landing_links/landing_links_icons.tsx | 0 .../landing_links/landing_links_icons_categories.stories.tsx | 0 .../src/landing_links/landing_links_icons_categories.test.tsx | 0 .../src/landing_links/landing_links_icons_categories.tsx | 0 .../landing_links_icons_categories_goups.test.tsx | 0 .../landing_links_icons_categories_groups.stories.tsx | 0 .../landing_links/landing_links_icons_categories_groups.tsx | 0 .../src/landing_links/landing_links_icons_groups.stories.tsx | 0 .../src/landing_links/landing_links_icons_groups.test.tsx | 0 .../src/landing_links/landing_links_icons_groups.tsx | 0 .../src/landing_links/landing_links_image_card.stories.tsx | 0 .../src/landing_links/landing_links_image_card.test.tsx | 0 .../navigation/src/landing_links/landing_links_image_card.tsx | 0 .../src/landing_links/landing_links_images.stories.tsx | 0 .../src/landing_links/landing_links_images.test.tsx | 0 .../navigation/src/landing_links/landing_links_images.tsx | 0 .../src/landing_links/landing_links_images_cards.stories.tsx | 0 .../src/landing_links/landing_links_images_cards.test.tsx | 0 .../src/landing_links/landing_links_images_cards.tsx | 0 .../security/packages}/navigation/src/landing_links/lazy.tsx | 0 .../packages}/navigation/src/landing_links/translations.ts | 0 .../packages}/navigation/src/landing_links/utils.test.ts | 0 .../security/packages}/navigation/src/landing_links/utils.ts | 0 .../security/packages}/navigation/src/links.test.tsx | 0 .../security/packages}/navigation/src/links.tsx | 0 .../security/packages}/navigation/src/navigation.test.ts | 0 .../security/packages}/navigation/src/navigation.ts | 0 .../security/packages}/navigation/src/types.ts | 0 .../security/packages}/navigation/tsconfig.json | 2 +- yarn.lock | 2 +- 53 files changed, 9 insertions(+), 9 deletions(-) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/README.mdx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/index.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/jest.config.js (75%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/kibana.jsonc (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/landing_links.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/links.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/mocks/context.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/mocks/navigation.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/package.json (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/__mocks__/context.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/__mocks__/navigation.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/constants.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/context.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/beta_badge.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/index.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links.test.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons.stories.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons.test.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons_categories.stories.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons_categories.test.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons_categories.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons_categories_goups.test.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons_categories_groups.stories.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons_categories_groups.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons_groups.stories.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons_groups.test.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_icons_groups.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_image_card.stories.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_image_card.test.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_image_card.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_images.stories.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_images.test.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_images.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_images_cards.stories.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_images_cards.test.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/landing_links_images_cards.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/lazy.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/translations.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/utils.test.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/landing_links/utils.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/links.test.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/links.tsx (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/navigation.test.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/navigation.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/src/types.ts (100%) rename x-pack/{packages/security-solution => solutions/security/packages}/navigation/tsconfig.json (88%) diff --git a/.eslintrc.js b/.eslintrc.js index 9c896076a386f..5b76fba6a22fb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1308,7 +1308,7 @@ module.exports = { { files: [ 'x-pack/solutions/security/packages/features/**/*.{js,mjs,ts,tsx}', - 'x-pack/packages/security-solution/navigation/**/*.{js,mjs,ts,tsx}', + 'x-pack/solutions/security/packages/navigation/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/security_solution/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/security_solution_serverless/**/*.{js,mjs,ts,tsx}', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7a55973d287f4..cb1c919ac6986 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -808,7 +808,6 @@ x-pack/packages/rollup @elastic/kibana-management x-pack/packages/search/shared_ui @elastic/search-kibana x-pack/packages/security-solution/data_table @elastic/security-threat-hunting-investigations x-pack/packages/security-solution/distribution_bar @elastic/kibana-cloud-security-posture -x-pack/packages/security-solution/navigation @elastic/security-threat-hunting-explore x-pack/packages/security-solution/side_nav @elastic/security-threat-hunting-explore x-pack/packages/security-solution/storybook/config @elastic/security-threat-hunting-explore x-pack/packages/security-solution/upselling @elastic/security-threat-hunting-explore @@ -996,6 +995,7 @@ x-pack/solutions/observability/plugins/observability_solution/entities_data_acce x-pack/solutions/observability/plugins/observability_solution/entity_manager_app @elastic/obs-entities x-pack/solutions/security/packages/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore x-pack/solutions/security/packages/features @elastic/security-threat-hunting-explore +x-pack/solutions/security/packages/navigation @elastic/security-threat-hunting-explore x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore x-pack/test x-pack/test_serverless diff --git a/package.json b/package.json index c0d40cf69ff5b..2d06dec1870e5 100644 --- a/package.json +++ b/package.json @@ -828,7 +828,7 @@ "@kbn/security-solution-ess": "link:x-pack/plugins/security_solution_ess", "@kbn/security-solution-features": "link:x-pack/solutions/security/packages/features", "@kbn/security-solution-fixtures-plugin": "link:x-pack/test/cases_api_integration/common/plugins/security_solution", - "@kbn/security-solution-navigation": "link:x-pack/packages/security-solution/navigation", + "@kbn/security-solution-navigation": "link:x-pack/solutions/security/packages/navigation", "@kbn/security-solution-plugin": "link:x-pack/plugins/security_solution", "@kbn/security-solution-serverless": "link:x-pack/plugins/security_solution_serverless", "@kbn/security-solution-side-nav": "link:x-pack/packages/security-solution/side_nav", diff --git a/tsconfig.base.json b/tsconfig.base.json index 65a6774176383..875af50b6c70b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1630,8 +1630,8 @@ "@kbn/security-solution-features/*": ["x-pack/solutions/security/packages/features/*"], "@kbn/security-solution-fixtures-plugin": ["x-pack/test/cases_api_integration/common/plugins/security_solution"], "@kbn/security-solution-fixtures-plugin/*": ["x-pack/test/cases_api_integration/common/plugins/security_solution/*"], - "@kbn/security-solution-navigation": ["x-pack/packages/security-solution/navigation"], - "@kbn/security-solution-navigation/*": ["x-pack/packages/security-solution/navigation/*"], + "@kbn/security-solution-navigation": ["x-pack/solutions/security/packages/navigation"], + "@kbn/security-solution-navigation/*": ["x-pack/solutions/security/packages/navigation/*"], "@kbn/security-solution-plugin": ["x-pack/plugins/security_solution"], "@kbn/security-solution-plugin/*": ["x-pack/plugins/security_solution/*"], "@kbn/security-solution-serverless": ["x-pack/plugins/security_solution_serverless"], diff --git a/x-pack/packages/security-solution/navigation/README.mdx b/x-pack/solutions/security/packages/navigation/README.mdx similarity index 100% rename from x-pack/packages/security-solution/navigation/README.mdx rename to x-pack/solutions/security/packages/navigation/README.mdx diff --git a/x-pack/packages/security-solution/navigation/index.ts b/x-pack/solutions/security/packages/navigation/index.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/index.ts rename to x-pack/solutions/security/packages/navigation/index.ts diff --git a/x-pack/packages/security-solution/navigation/jest.config.js b/x-pack/solutions/security/packages/navigation/jest.config.js similarity index 75% rename from x-pack/packages/security-solution/navigation/jest.config.js rename to x-pack/solutions/security/packages/navigation/jest.config.js index a150e2a7b4c9c..e452a9a064f1c 100644 --- a/x-pack/packages/security-solution/navigation/jest.config.js +++ b/x-pack/solutions/security/packages/navigation/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/security-solution/navigation'], + rootDir: '../../../../..', + roots: ['/x-pack/solutions/security/packages/navigation'], }; diff --git a/x-pack/packages/security-solution/navigation/kibana.jsonc b/x-pack/solutions/security/packages/navigation/kibana.jsonc similarity index 100% rename from x-pack/packages/security-solution/navigation/kibana.jsonc rename to x-pack/solutions/security/packages/navigation/kibana.jsonc diff --git a/x-pack/packages/security-solution/navigation/landing_links.ts b/x-pack/solutions/security/packages/navigation/landing_links.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/landing_links.ts rename to x-pack/solutions/security/packages/navigation/landing_links.ts diff --git a/x-pack/packages/security-solution/navigation/links.ts b/x-pack/solutions/security/packages/navigation/links.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/links.ts rename to x-pack/solutions/security/packages/navigation/links.ts diff --git a/x-pack/packages/security-solution/navigation/mocks/context.ts b/x-pack/solutions/security/packages/navigation/mocks/context.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/mocks/context.ts rename to x-pack/solutions/security/packages/navigation/mocks/context.ts diff --git a/x-pack/packages/security-solution/navigation/mocks/navigation.ts b/x-pack/solutions/security/packages/navigation/mocks/navigation.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/mocks/navigation.ts rename to x-pack/solutions/security/packages/navigation/mocks/navigation.ts diff --git a/x-pack/packages/security-solution/navigation/package.json b/x-pack/solutions/security/packages/navigation/package.json similarity index 100% rename from x-pack/packages/security-solution/navigation/package.json rename to x-pack/solutions/security/packages/navigation/package.json diff --git a/x-pack/packages/security-solution/navigation/src/__mocks__/context.tsx b/x-pack/solutions/security/packages/navigation/src/__mocks__/context.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/__mocks__/context.tsx rename to x-pack/solutions/security/packages/navigation/src/__mocks__/context.tsx diff --git a/x-pack/packages/security-solution/navigation/src/__mocks__/navigation.ts b/x-pack/solutions/security/packages/navigation/src/__mocks__/navigation.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/src/__mocks__/navigation.ts rename to x-pack/solutions/security/packages/navigation/src/__mocks__/navigation.ts diff --git a/x-pack/packages/security-solution/navigation/src/constants.ts b/x-pack/solutions/security/packages/navigation/src/constants.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/src/constants.ts rename to x-pack/solutions/security/packages/navigation/src/constants.ts diff --git a/x-pack/packages/security-solution/navigation/src/context.tsx b/x-pack/solutions/security/packages/navigation/src/context.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/context.tsx rename to x-pack/solutions/security/packages/navigation/src/context.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/beta_badge.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/beta_badge.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/beta_badge.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/beta_badge.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/index.ts b/x-pack/solutions/security/packages/navigation/src/landing_links/index.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/index.ts rename to x-pack/solutions/security/packages/navigation/src/landing_links/index.ts diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links.test.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links.test.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links.test.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links.test.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons.stories.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons.stories.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons.stories.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons.stories.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons.test.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons.test.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons.test.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons.test.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories.stories.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories.stories.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories.stories.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories.stories.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories.test.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories.test.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories.test.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories.test.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories_goups.test.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories_goups.test.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories_goups.test.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories_goups.test.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories_groups.stories.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories_groups.stories.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories_groups.stories.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories_groups.stories.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories_groups.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories_groups.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_categories_groups.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_categories_groups.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_groups.stories.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_groups.stories.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_groups.stories.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_groups.stories.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_groups.test.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_groups.test.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_groups.test.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_groups.test.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_groups.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_groups.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_icons_groups.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_icons_groups.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_image_card.stories.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_image_card.stories.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_image_card.stories.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_image_card.stories.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_image_card.test.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_image_card.test.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_image_card.test.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_image_card.test.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_image_card.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_image_card.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_image_card.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_image_card.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images.stories.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images.stories.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images.stories.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images.stories.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images.test.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images.test.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images.test.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images.test.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images_cards.stories.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images_cards.stories.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images_cards.stories.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images_cards.stories.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images_cards.test.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images_cards.test.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images_cards.test.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images_cards.test.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images_cards.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images_cards.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/landing_links_images_cards.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/landing_links_images_cards.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/lazy.tsx b/x-pack/solutions/security/packages/navigation/src/landing_links/lazy.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/lazy.tsx rename to x-pack/solutions/security/packages/navigation/src/landing_links/lazy.tsx diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/translations.ts b/x-pack/solutions/security/packages/navigation/src/landing_links/translations.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/translations.ts rename to x-pack/solutions/security/packages/navigation/src/landing_links/translations.ts diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/utils.test.ts b/x-pack/solutions/security/packages/navigation/src/landing_links/utils.test.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/utils.test.ts rename to x-pack/solutions/security/packages/navigation/src/landing_links/utils.test.ts diff --git a/x-pack/packages/security-solution/navigation/src/landing_links/utils.ts b/x-pack/solutions/security/packages/navigation/src/landing_links/utils.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/src/landing_links/utils.ts rename to x-pack/solutions/security/packages/navigation/src/landing_links/utils.ts diff --git a/x-pack/packages/security-solution/navigation/src/links.test.tsx b/x-pack/solutions/security/packages/navigation/src/links.test.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/links.test.tsx rename to x-pack/solutions/security/packages/navigation/src/links.test.tsx diff --git a/x-pack/packages/security-solution/navigation/src/links.tsx b/x-pack/solutions/security/packages/navigation/src/links.tsx similarity index 100% rename from x-pack/packages/security-solution/navigation/src/links.tsx rename to x-pack/solutions/security/packages/navigation/src/links.tsx diff --git a/x-pack/packages/security-solution/navigation/src/navigation.test.ts b/x-pack/solutions/security/packages/navigation/src/navigation.test.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/src/navigation.test.ts rename to x-pack/solutions/security/packages/navigation/src/navigation.test.ts diff --git a/x-pack/packages/security-solution/navigation/src/navigation.ts b/x-pack/solutions/security/packages/navigation/src/navigation.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/src/navigation.ts rename to x-pack/solutions/security/packages/navigation/src/navigation.ts diff --git a/x-pack/packages/security-solution/navigation/src/types.ts b/x-pack/solutions/security/packages/navigation/src/types.ts similarity index 100% rename from x-pack/packages/security-solution/navigation/src/types.ts rename to x-pack/solutions/security/packages/navigation/src/types.ts diff --git a/x-pack/packages/security-solution/navigation/tsconfig.json b/x-pack/solutions/security/packages/navigation/tsconfig.json similarity index 88% rename from x-pack/packages/security-solution/navigation/tsconfig.json rename to x-pack/solutions/security/packages/navigation/tsconfig.json index a0ba8fb180bfb..41296e15768c5 100644 --- a/x-pack/packages/security-solution/navigation/tsconfig.json +++ b/x-pack/solutions/security/packages/navigation/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/yarn.lock b/yarn.lock index 8ddd355115964..c1798e7d83b26 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7076,7 +7076,7 @@ version "0.0.0" uid "" -"@kbn/security-solution-navigation@link:x-pack/packages/security-solution/navigation": +"@kbn/security-solution-navigation@link:x-pack/solutions/security/packages/navigation": version "0.0.0" uid ""