mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [Remove kbn-ace, ace and brace dependencies (#195703)](https://github.com/elastic/kibana/pull/195703) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ignacio Rivas","email":"rivasign@gmail.com"},"sourceCommit":{"committedDate":"2024-10-10T12:16:42Z","message":"Remove kbn-ace, ace and brace dependencies (#195703)","sha":"d86ce77217a26747b39ddf240e5703efba1a0cb0","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana Management","release_note:skip","v9.0.0","backport:prev-minor","v8.16.0"],"number":195703,"url":"https://github.com/elastic/kibana/pull/195703","mergeCommit":{"message":"Remove kbn-ace, ace and brace dependencies (#195703)","sha":"d86ce77217a26747b39ddf240e5703efba1a0cb0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195703","number":195703,"mergeCommit":{"message":"Remove kbn-ace, ace and brace dependencies (#195703)","sha":"d86ce77217a26747b39ddf240e5703efba1a0cb0"}},{"branch":"8.x","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
95 lines
No EOL
2.3 KiB
Text
95 lines
No EOL
2.3 KiB
Text
[[monorepo-packages]]
|
|
== {kib} Monorepo Packages
|
|
|
|
Currently {kib} works as a monorepo composed by a core, plugins and packages.
|
|
The latest are located in a folder called `packages` and are pieces of software that
|
|
composes a set of features that can be isolated and reused across the entire repository.
|
|
They are also supposed to be able to imported just like any other `node_module`.
|
|
|
|
Previously we relied solely on `@kbn/pm` to manage the development tools of those packages, but we are
|
|
now in the middle of migrating those responsibilities into Bazel. Every package already migrated
|
|
will contain in its root folder a `BUILD.bazel` file and other `build` and `watching` strategies should be used.
|
|
|
|
Remember that any time you need to make sure the monorepo is ready to be used just run:
|
|
|
|
[source,bash]
|
|
----
|
|
yarn kbn bootstrap
|
|
----
|
|
|
|
[discrete]
|
|
=== Building Bazel Packages
|
|
|
|
Bazel packages are built as a whole for now. You can use:
|
|
|
|
[source,bash]
|
|
----
|
|
yarn kbn bootstrap
|
|
----
|
|
|
|
[discrete]
|
|
=== Watching Bazel Packages
|
|
|
|
Bazel packages are watched as a whole for now. You can use:
|
|
|
|
[source,bash]
|
|
----
|
|
yarn kbn watch
|
|
----
|
|
|
|
|
|
[discrete]
|
|
=== List of Already Migrated Packages to Bazel
|
|
|
|
- @kbn/analytics
|
|
- @kbn/apm-config-loader
|
|
- @kbn/apm-utils
|
|
- @kbn/babel-preset
|
|
- @kbn/cli-dev-mode
|
|
- @kbn/config
|
|
- @kbn/config-schema
|
|
- @kbn/crypto
|
|
- @kbn/datemath
|
|
- @kbn/dev-utils
|
|
- @kbn/docs-utils
|
|
- @kbn/es
|
|
- @kbn/es-archiver
|
|
- @kbn/eslint-config-kibana
|
|
- @kbn/eslint-plugin-eslint
|
|
- @kbn/expect
|
|
- @kbn/i18n
|
|
- @kbn/interpreter
|
|
- @kbn/io-ts-utils
|
|
- @kbn/logging
|
|
- @kbn/mapbox-gl
|
|
- @kbn/monaco
|
|
- @kbn/optimizer
|
|
- @kbn/plugin-helpers
|
|
- @kbn/rule-data-utils
|
|
- @kbn/safer-lodash-set
|
|
- @kbn/securitysolution-autocomplete
|
|
- @kbn/securitysolution-es-utils
|
|
- @kbn/securitysolution-hook-utils
|
|
- @kbn/securitysolution-io-ts-alerting-types
|
|
- @kbn/securitysolution-io-ts-list-types
|
|
- @kbn/securitysolution-io-ts-types
|
|
- @kbn/securitysolution-io-ts-utils
|
|
- @kbn/securitysolution-list-api
|
|
- @kbn/securitysolution-list-constants
|
|
- @kbn/securitysolution-list-hooks
|
|
- @kbn/securitysolution-list-utils
|
|
- @kbn/securitysolution-rules
|
|
- @kbn/securitysolution-utils
|
|
- @kbn/server-http-tools
|
|
- @kbn/server-route-repository
|
|
- @kbn/spec-to-console
|
|
- @kbn/std
|
|
- @kbn/storybook
|
|
- @kbn/telemetry-utils
|
|
- @kbn/test
|
|
- @kbn/test-subj-selector
|
|
- @kbn/tinymath
|
|
- @kbn/ui-shared-deps-npm
|
|
- @kbn/ui-shared-deps-src
|
|
- @kbn/utility-types
|
|
- @kbn/utils |