mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Sustainable Kibana Architecture: Move modules owned by @elastic/security-asset-management
(#202839)
## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > This PR has been auto-generated. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 1 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/osquery-io-ts-types` | `src/platform/packages/shared/kbn-osquery-io-ts-types` | <details> <summary>Updated references</summary> ``` ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/shared/kbn-osquery-io-ts-types/jest.config.js ./tsconfig.base.json ./yarn.lock ``` </details> <details> <summary>Updated relative paths</summary> ``` src/platform/packages/shared/kbn-osquery-io-ts-types/jest.config.js:12 src/platform/packages/shared/kbn-osquery-io-ts-types/tsconfig.json:2 ``` </details> <details> <summary>Script errors</summary> ``` ``` </details>
This commit is contained in:
parent
9619d610d1
commit
11b27f3016
11 changed files with 8 additions and 8 deletions
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
@ -421,7 +421,6 @@ packages/kbn-openapi-common @elastic/security-detection-rule-management
|
|||
packages/kbn-openapi-generator @elastic/security-detection-rule-management
|
||||
packages/kbn-optimizer @elastic/kibana-operations
|
||||
packages/kbn-optimizer-webpack-helpers @elastic/kibana-operations
|
||||
packages/kbn-osquery-io-ts-types @elastic/security-asset-management
|
||||
packages/kbn-panel-loader @elastic/kibana-presentation
|
||||
packages/kbn-peggy @elastic/kibana-operations
|
||||
packages/kbn-peggy-loader @elastic/kibana-operations
|
||||
|
@ -626,6 +625,7 @@ src/platform/packages/shared/kbn-doc-links @elastic/docs
|
|||
src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql
|
||||
src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql
|
||||
src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-esql
|
||||
src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-management
|
||||
src/platform/plugins/shared/esql @elastic/kibana-esql
|
||||
src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql
|
||||
src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
|
||||
|
|
|
@ -712,7 +712,7 @@
|
|||
"@kbn/oidc-provider-plugin": "link:x-pack/test/security_api_integration/plugins/oidc_provider",
|
||||
"@kbn/open-telemetry-instrumented-plugin": "link:test/common/plugins/otel_metrics",
|
||||
"@kbn/openapi-common": "link:packages/kbn-openapi-common",
|
||||
"@kbn/osquery-io-ts-types": "link:packages/kbn-osquery-io-ts-types",
|
||||
"@kbn/osquery-io-ts-types": "link:src/platform/packages/shared/kbn-osquery-io-ts-types",
|
||||
"@kbn/osquery-plugin": "link:x-pack/plugins/osquery",
|
||||
"@kbn/paertial-results-example-plugin": "link:examples/partial_results_example",
|
||||
"@kbn/painless-lab-plugin": "link:x-pack/plugins/painless_lab",
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test/jest_node',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-osquery-io-ts-types'],
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/src/platform/packages/shared/kbn-osquery-io-ts-types'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
|
@ -1366,8 +1366,8 @@
|
|||
"@kbn/optimizer/*": ["packages/kbn-optimizer/*"],
|
||||
"@kbn/optimizer-webpack-helpers": ["packages/kbn-optimizer-webpack-helpers"],
|
||||
"@kbn/optimizer-webpack-helpers/*": ["packages/kbn-optimizer-webpack-helpers/*"],
|
||||
"@kbn/osquery-io-ts-types": ["packages/kbn-osquery-io-ts-types"],
|
||||
"@kbn/osquery-io-ts-types/*": ["packages/kbn-osquery-io-ts-types/*"],
|
||||
"@kbn/osquery-io-ts-types": ["src/platform/packages/shared/kbn-osquery-io-ts-types"],
|
||||
"@kbn/osquery-io-ts-types/*": ["src/platform/packages/shared/kbn-osquery-io-ts-types/*"],
|
||||
"@kbn/osquery-plugin": ["x-pack/plugins/osquery"],
|
||||
"@kbn/osquery-plugin/*": ["x-pack/plugins/osquery/*"],
|
||||
"@kbn/paertial-results-example-plugin": ["examples/partial_results_example"],
|
||||
|
|
|
@ -6548,7 +6548,7 @@
|
|||
version "0.0.0"
|
||||
uid ""
|
||||
|
||||
"@kbn/osquery-io-ts-types@link:packages/kbn-osquery-io-ts-types":
|
||||
"@kbn/osquery-io-ts-types@link:src/platform/packages/shared/kbn-osquery-io-ts-types":
|
||||
version "0.0.0"
|
||||
uid ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue