-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '7.x' into backport/7.x/pr-96071
- Loading branch information
Showing
476 changed files
with
10,858 additions
and
10,675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -261,33 +261,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
--- | ||
This product bundles childnode-remove which is available under a | ||
"MIT" license. | ||
|
||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016-present, jszhou | ||
https://github.com/jserz/js_piece | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
--- | ||
This product bundles code based on [email protected] which is | ||
available under a "MIT" license. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
[[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 Non Bazel Packages | ||
|
||
Non Bazel packages can be built independently with | ||
|
||
[source,bash] | ||
---- | ||
yarn kbn run build -i PACKAGE_NAME | ||
---- | ||
|
||
[discrete] | ||
=== Watching Non Bazel Packages | ||
|
||
Non Bazel packages can be watched independently with | ||
|
||
[source,bash] | ||
---- | ||
yarn kbn watch -i PACKAGE_NAME | ||
---- | ||
|
||
[discrete] | ||
=== Building Bazel Packages | ||
|
||
Bazel packages are built as a whole for now. You can use: | ||
|
||
[source,bash] | ||
---- | ||
yarn kbn build-bazel | ||
---- | ||
|
||
[discrete] | ||
=== Watching Bazel Packages | ||
|
||
Bazel packages are watched as a whole for now. You can use: | ||
|
||
[source,bash] | ||
---- | ||
yarn kbn watch-bazel | ||
---- | ||
|
||
|
||
[discrete] | ||
=== List of Already Migrated Packages to Bazel | ||
|
||
- @elastic/datemath | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.