mirror of
https://github.com/elastic/kibana.git
synced 2025-04-16 22:21:06 -04:00
Transpile packages on demand, validate all TS projects (#146212)
## Dearest Reviewers 👋
I've been working on this branch with @mistic and @tylersmalley and
we're really confident in these changes. Additionally, this changes code
in nearly every package in the repo so we don't plan to wait for reviews
to get in before merging this. If you'd like to have a concern
addressed, please feel free to leave a review, but assuming that nobody
raises a blocker in the next 24 hours we plan to merge this EOD pacific
tomorrow, 12/22.
We'll be paying close attention to any issues this causes after merging
and work on getting those fixed ASAP. 🚀
---
The operations team is not confident that we'll have the time to achieve
what we originally set out to accomplish by moving to Bazel with the
time and resources we have available. We have also bought ourselves some
headroom with improvements to babel-register, optimizer caching, and
typescript project structure.
In order to make sure we deliver packages as quickly as possible (many
teams really want them), with a usable and familiar developer
experience, this PR removes Bazel for building packages in favor of
using the same JIT transpilation we use for plugins.
Additionally, packages now use `kbn_references` (again, just copying the
dx from plugins to packages).
Because of the complex relationships between packages/plugins and in
order to prepare ourselves for automatic dependency detection tools we
plan to use in the future, this PR also introduces a "TS Project Linter"
which will validate that every tsconfig.json file meets a few
requirements:
1. the chain of base config files extended by each config includes
`tsconfig.base.json` and not `tsconfig.json`
1. the `include` config is used, and not `files`
2. the `exclude` config includes `target/**/*`
3. the `outDir` compiler option is specified as `target/types`
1. none of these compiler options are specified: `declaration`,
`declarationMap`, `emitDeclarationOnly`, `skipLibCheck`, `target`,
`paths`
4. all references to other packages/plugins use their pkg id, ie:
```js
// valid
{
"kbn_references": ["@kbn/core"]
}
// not valid
{
"kbn_references": [{ "path": "../../../src/core/tsconfig.json" }]
}
```
5. only packages/plugins which are imported somewhere in the ts code are
listed in `kbn_references`
This linter is not only validating all of the tsconfig.json files, but
it also will fix these config files to deal with just about any
violation that can be produced. Just run `node scripts/ts_project_linter
--fix` locally to apply these fixes, or let CI take care of
automatically fixing things and pushing the changes to your PR.
> **Example:** [`64e93e5`
(#146212)](64e93e5806
)
When I merged main into my PR it included a change which removed the
`@kbn/core-injected-metadata-browser` package. After resolving the
conflicts I missed a few tsconfig files which included references to the
now removed package. The TS Project Linter identified that these
references were removed from the code and pushed a change to the PR to
remove them from the tsconfig.json files.
## No bazel? Does that mean no packages??
Nope! We're still doing packages but we're pretty sure now that we won't
be using Bazel to accomplish the 'distributed caching' and 'change-based
tasks' portions of the packages project.
This PR actually makes packages much easier to work with and will be
followed up with the bundling benefits described by the original
packages RFC. Then we'll work on documentation and advocacy for using
packages for any and all new code.
We're pretty confident that implementing distributed caching and
change-based tasks will be necessary in the future, but because of
recent improvements in the repo we think we can live without them for
**at least** a year.
## Wait, there are still BUILD.bazel files in the repo
Yes, there are still three webpack bundles which are built by Bazel: the
`@kbn/ui-shared-deps-npm` DLL, `@kbn/ui-shared-deps-src` externals, and
the `@kbn/monaco` workers. These three webpack bundles are still created
during bootstrap and remotely cached using bazel. The next phase of this
project is to figure out how to get the package bundling features
described in the RFC with the current optimizer, and we expect these
bundles to go away then. Until then any package that is used in those
three bundles still needs to have a BUILD.bazel file so that they can be
referenced by the remaining webpack builds.
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
e9c5c16bfd
commit
afb09ccf8a
2421 changed files with 17782 additions and 110627 deletions
|
@ -49,12 +49,11 @@ query --incompatible_no_implicit_file_export
|
|||
# Log configs
|
||||
## different from default
|
||||
common --color=yes
|
||||
common --show_progress
|
||||
common --noshow_progress
|
||||
common --show_task_finish
|
||||
common --show_progress_rate_limit=10
|
||||
build --progress_report_interval=10
|
||||
build --show_loading_progress
|
||||
build --show_result=1
|
||||
build --noshow_loading_progress
|
||||
|
||||
# Specifies desired output mode for running tests.
|
||||
# Valid values are
|
||||
|
|
|
@ -294,14 +294,14 @@ export async function pickTestGroupRunOrder() {
|
|||
groups: [
|
||||
{
|
||||
type: UNIT_TYPE,
|
||||
defaultMin: 3,
|
||||
defaultMin: 60,
|
||||
maxMin: JEST_MAX_MINUTES,
|
||||
overheadMin: 0.2,
|
||||
names: jestUnitConfigs,
|
||||
},
|
||||
{
|
||||
type: INTEGRATION_TYPE,
|
||||
defaultMin: 10,
|
||||
defaultMin: 60,
|
||||
maxMin: JEST_MAX_MINUTES,
|
||||
overheadMin: 0.2,
|
||||
names: jestIntegrationConfigs,
|
||||
|
@ -389,7 +389,7 @@ export async function pickTestGroupRunOrder() {
|
|||
label: 'Jest Tests',
|
||||
command: getRequiredEnv('JEST_UNIT_SCRIPT'),
|
||||
parallelism: unit.count,
|
||||
timeout_in_minutes: 60,
|
||||
timeout_in_minutes: 120,
|
||||
key: 'jest',
|
||||
agents: {
|
||||
queue: 'n2-4-spot',
|
||||
|
@ -409,7 +409,7 @@ export async function pickTestGroupRunOrder() {
|
|||
label: 'Jest Integration Tests',
|
||||
command: getRequiredEnv('JEST_INTEGRATION_SCRIPT'),
|
||||
parallelism: integration.count,
|
||||
timeout_in_minutes: 60,
|
||||
timeout_in_minutes: 120,
|
||||
key: 'jest-integration',
|
||||
agents: {
|
||||
queue: 'n2-4-spot',
|
||||
|
|
|
@ -6,18 +6,18 @@ export DISABLE_BOOTSTRAP_VALIDATION=false
|
|||
.buildkite/scripts/bootstrap.sh
|
||||
|
||||
.buildkite/scripts/steps/checks/precommit_hook.sh
|
||||
.buildkite/scripts/steps/checks/ftr_configs.sh
|
||||
.buildkite/scripts/steps/checks/ts_projects.sh
|
||||
.buildkite/scripts/steps/checks/bazel_packages.sh
|
||||
.buildkite/scripts/steps/checks/verify_notice.sh
|
||||
.buildkite/scripts/steps/checks/plugin_list_docs.sh
|
||||
.buildkite/scripts/steps/checks/event_log.sh
|
||||
.buildkite/scripts/steps/checks/telemetry.sh
|
||||
.buildkite/scripts/steps/checks/ts_projects.sh
|
||||
.buildkite/scripts/steps/checks/jest_configs.sh
|
||||
.buildkite/scripts/steps/checks/plugin_list_docs.sh
|
||||
.buildkite/scripts/steps/checks/bundle_limits.sh
|
||||
.buildkite/scripts/steps/checks/i18n.sh
|
||||
.buildkite/scripts/steps/checks/file_casing.sh
|
||||
.buildkite/scripts/steps/checks/licenses.sh
|
||||
.buildkite/scripts/steps/checks/plugins_with_circular_deps.sh
|
||||
.buildkite/scripts/steps/checks/verify_notice.sh
|
||||
.buildkite/scripts/steps/checks/test_projects.sh
|
||||
.buildkite/scripts/steps/checks/test_hardening.sh
|
||||
.buildkite/scripts/steps/checks/ftr_configs.sh
|
||||
|
|
|
@ -4,10 +4,6 @@ set -euo pipefail
|
|||
|
||||
source .buildkite/scripts/common/util.sh
|
||||
|
||||
echo --- Check Bazel Packages Manifest
|
||||
node scripts/generate packages_build_manifest
|
||||
check_for_changed_files 'node scripts/generate packages_build_manifest' true
|
||||
|
||||
echo --- Check Codeowners Manifest
|
||||
if [ -f ".github/CODEOWNERS" ]; then
|
||||
node scripts/generate codeowners
|
||||
|
|
|
@ -4,5 +4,11 @@ set -euo pipefail
|
|||
|
||||
source .buildkite/scripts/common/util.sh
|
||||
|
||||
echo --- Check TypeScript Projects
|
||||
node scripts/check_ts_projects
|
||||
echo --- Run TS Project Linter
|
||||
cmd="node scripts/ts_project_linter"
|
||||
if is_pr && ! is_auto_commit_disabled; then
|
||||
cmd="$cmd --fix"
|
||||
fi
|
||||
|
||||
eval "$cmd"
|
||||
check_for_changed_files "$cmd" true
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
{
|
||||
"extends": "../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"incremental": false,
|
||||
"composite": false,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target/types",
|
||||
"outDir": "target/types",
|
||||
"types": ["node", "mocha"],
|
||||
"paths": {
|
||||
"#pipeline-utils": [".buildkite/pipeline-utils/index.ts"],
|
||||
|
@ -19,5 +16,8 @@
|
|||
"scripts/**/*",
|
||||
"pipelines/flaky_tests/groups.json",
|
||||
"pull_requests.json"
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
14
.eslintrc.js
14
.eslintrc.js
|
@ -6,12 +6,14 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
require('@kbn/babel-register').install();
|
||||
|
||||
const Path = require('path');
|
||||
const Fs = require('fs');
|
||||
|
||||
const normalizePath = require('normalize-path');
|
||||
const { discoverPackageManifestPaths, Jsonc } = require('@kbn/bazel-packages');
|
||||
const { REPO_ROOT } = require('@kbn/utils');
|
||||
const { REPO_ROOT } = require('@kbn/repo-info');
|
||||
|
||||
const APACHE_2_0_LICENSE_HEADER = `
|
||||
/*
|
||||
|
@ -137,6 +139,7 @@ const DEV_DIRECTORIES = [
|
|||
'__mocks__',
|
||||
'__stories__',
|
||||
'e2e',
|
||||
'cypress',
|
||||
'fixtures',
|
||||
'ftr_e2e',
|
||||
'integration_tests',
|
||||
|
@ -165,7 +168,7 @@ const DEV_FILE_PATTERNS = [
|
|||
'mock.{js,ts,tsx}',
|
||||
'_stubs.{js,ts,tsx}',
|
||||
'{testHelpers,test_helper,test_utils}.{js,ts,tsx}',
|
||||
'{postcss,webpack}.config.js',
|
||||
'{postcss,webpack,cypress}.config.{js,ts}',
|
||||
];
|
||||
|
||||
/** Glob patterns which describe dev-only code. */
|
||||
|
@ -175,10 +178,10 @@ const DEV_PATTERNS = [
|
|||
...DEV_FILE_PATTERNS.map((file) => `{packages,src,x-pack}/**/${file}`),
|
||||
'packages/kbn-interpreter/tasks/**/*',
|
||||
'src/dev/**/*',
|
||||
'x-pack/{dev-tools,tasks,scripts,test,build_chromium}/**/*',
|
||||
'x-pack/plugins/*/server/scripts/**/*',
|
||||
'x-pack/plugins/fleet/cypress',
|
||||
'x-pack/{dev-tools,tasks,test,build_chromium}/**/*',
|
||||
'x-pack/performance/**/*',
|
||||
'src/setup_node_env/index.js',
|
||||
'src/cli/dev.js',
|
||||
];
|
||||
|
||||
/** Restricted imports with suggested alternatives */
|
||||
|
@ -599,6 +602,7 @@ module.exports = {
|
|||
'x-pack/test/saved_object_api_integration/*/apis/**/*',
|
||||
'x-pack/test/ui_capabilities/*/tests/**/*',
|
||||
'x-pack/test/performance/**/*.ts',
|
||||
'**/cypress.config.{js,ts}',
|
||||
],
|
||||
rules: {
|
||||
'import/no-default-export': 'off',
|
||||
|
|
17
.github/CODEOWNERS
vendored
17
.github/CODEOWNERS
vendored
|
@ -889,8 +889,10 @@ packages/kbn-apm-config-loader @elastic/kibana-core @vigneshshanmugam
|
|||
packages/kbn-apm-synthtrace @elastic/apm-ui
|
||||
packages/kbn-apm-utils @elastic/apm-ui
|
||||
packages/kbn-axe-config @elastic/kibana-qa
|
||||
packages/kbn-babel-plugin-synthetic-packages @elastic/kibana-operations
|
||||
packages/kbn-babel-plugin-package-imports @elastic/kibana-operations
|
||||
packages/kbn-babel-preset @elastic/kibana-operations
|
||||
packages/kbn-babel-register @elastic/kibana-operations
|
||||
packages/kbn-babel-transform @elastic/kibana-operations
|
||||
packages/kbn-bazel-packages @elastic/kibana-operations
|
||||
packages/kbn-bazel-runner @elastic/kibana-operations
|
||||
packages/kbn-cases-components @elastic/response-ops
|
||||
|
@ -905,6 +907,7 @@ packages/kbn-config-mocks @elastic/kibana-core
|
|||
packages/kbn-config-schema @elastic/kibana-core
|
||||
packages/kbn-crypto @elastic/kibana-security
|
||||
packages/kbn-crypto-browser @elastic/kibana-core
|
||||
packages/kbn-cypress-config @elastic/kibana-operations
|
||||
packages/kbn-datemath @elastic/kibana-app-services
|
||||
packages/kbn-dev-cli-errors @elastic/kibana-operations
|
||||
packages/kbn-dev-cli-runner @elastic/kibana-operations
|
||||
|
@ -954,6 +957,7 @@ packages/kbn-monaco @elastic/kibana-global-experience
|
|||
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-package-map @elastic/kibana-operations
|
||||
packages/kbn-peggy @elastic/kibana-operations
|
||||
packages/kbn-peggy-loader @elastic/kibana-operations
|
||||
packages/kbn-performance-testing-dataset-extractor @elastic/kibana-performance-testing
|
||||
|
@ -961,6 +965,8 @@ packages/kbn-plugin-discovery @elastic/kibana-operations
|
|||
packages/kbn-plugin-generator @elastic/kibana-operations
|
||||
packages/kbn-plugin-helpers @elastic/kibana-operations
|
||||
packages/kbn-react-field @elastic/kibana-app-services
|
||||
packages/kbn-repo-info @elastic/kibana-operations
|
||||
packages/kbn-repo-path @elastic/kibana-operations
|
||||
packages/kbn-repo-source-classifier @elastic/kibana-operations
|
||||
packages/kbn-repo-source-classifier-cli @elastic/kibana-operations
|
||||
packages/kbn-rison @elastic/kibana-operations
|
||||
|
@ -991,7 +997,6 @@ packages/kbn-spec-to-console @elastic/platform-deployment-management
|
|||
packages/kbn-std @elastic/kibana-core
|
||||
packages/kbn-stdio-dev-helpers @elastic/kibana-operations
|
||||
packages/kbn-storybook @elastic/kibana-operations
|
||||
packages/kbn-synthetic-package-map @elastic/kibana-operations
|
||||
packages/kbn-telemetry-tools @elastic/kibana-core
|
||||
packages/kbn-test @elastic/kibana-operations
|
||||
packages/kbn-test-jest-helpers @elastic/kibana-operations
|
||||
|
@ -999,9 +1004,10 @@ packages/kbn-test-subj-selector @elastic/kibana-operations
|
|||
packages/kbn-timelion-grammar @elastic/kibana-visualizations
|
||||
packages/kbn-tinymath @elastic/kibana-visualizations
|
||||
packages/kbn-tooling-log @elastic/kibana-operations
|
||||
packages/kbn-type-summarizer @elastic/kibana-operations
|
||||
packages/kbn-type-summarizer-cli @elastic/kibana-operations
|
||||
packages/kbn-type-summarizer-core @elastic/kibana-operations
|
||||
packages/kbn-ts-project-linter @elastic/kibana-operations
|
||||
packages/kbn-ts-project-linter-cli @elastic/kibana-operations
|
||||
packages/kbn-ts-projects @elastic/kibana-operations
|
||||
packages/kbn-ts-type-check-cli @elastic/kibana-operations
|
||||
packages/kbn-typed-react-router-config @elastic/apm-ui
|
||||
packages/kbn-ui-framework @elastic/kibana-design
|
||||
packages/kbn-ui-shared-deps-npm @elastic/kibana-operations
|
||||
|
@ -1011,6 +1017,7 @@ packages/kbn-user-profile-components @elastic/kibana-security
|
|||
packages/kbn-utility-types @elastic/kibana-core
|
||||
packages/kbn-utility-types-jest @elastic/kibana-operations
|
||||
packages/kbn-utils @elastic/kibana-operations
|
||||
packages/kbn-web-worker-stub @elastic/kibana-operations
|
||||
packages/kbn-yarn-lock-validator @elastic/kibana-operations
|
||||
packages/shared-ux/avatar/solution @elastic/kibana-global-experience
|
||||
packages/shared-ux/avatar/user_profile/impl @elastic/kibana-global-experience
|
||||
|
|
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -94,8 +94,7 @@ report.asciidoc
|
|||
|
||||
# Automatically generated and user-modifiable
|
||||
/tsconfig.refs.json
|
||||
tsconfig.base.type_check.json
|
||||
tsconfig.type_check.json
|
||||
*.type_check.json
|
||||
|
||||
# Yarn local mirror content
|
||||
.yarn-local-mirror
|
||||
|
@ -111,5 +110,5 @@ elastic-agent-*
|
|||
fleet-server-*
|
||||
elastic-agent.yml
|
||||
fleet-server.yml
|
||||
/packages/kbn-synthetic-package-map/synthetic-packages.json
|
||||
|
||||
/packages/kbn-package-map/package-map.json
|
||||
/packages/kbn-synthetic-package-map/
|
||||
|
|
11
BUILD.bazel
11
BUILD.bazel
|
@ -3,11 +3,18 @@
|
|||
exports_files(
|
||||
[
|
||||
"tsconfig.base.json",
|
||||
"tsconfig.bazel.json",
|
||||
"tsconfig.browser.json",
|
||||
"tsconfig.browser_bazel.json",
|
||||
"tsconfig.json",
|
||||
"package.json"
|
||||
"package.json",
|
||||
".browserslistrc"
|
||||
],
|
||||
visibility = ["//visibility:public"]
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "dist",
|
||||
values = {
|
||||
"define": "dist=true"
|
||||
}
|
||||
)
|
||||
|
|
26
NOTICE.txt
26
NOTICE.txt
|
@ -135,6 +135,32 @@ THE SOFTWARE.
|
|||
This product uses Noto fonts that are licensed under the SIL Open
|
||||
Font License, Version 1.1.
|
||||
|
||||
---
|
||||
This project includes code from the NX project, which is MIT licensed:
|
||||
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2017-2022 Narwhal Technologies Inc.
|
||||
|
||||
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.
|
||||
|
||||
---
|
||||
Vendored copy of `strip-json-comments` so that we can use it when npm modules are not available.
|
||||
https://github.com/sindresorhus/strip-json-comments/tree/34b79cb0f1129aa85ef4b5c3292e8bc546984ef9
|
||||
|
|
|
@ -37,7 +37,7 @@ layout: landing
|
|||
{ pageId: "kibDevDocsOpsOptimizer" },
|
||||
{ pageId: "kibDevDocsOpsBabelPreset" },
|
||||
{ pageId: "kibDevDocsOpsTypeSummarizer" },
|
||||
{ pageId: "kibDevDocsOpsBabelPluginSyntheticPackages" },
|
||||
{ pageId: "kibDevDocsOpsBabelPluginPackageImports" },
|
||||
{ pageId: "kibDevDocsOpsUiSharedDepsNpm" },
|
||||
{ pageId: "kibDevDocsOpsUiSharedDepsSrc" },
|
||||
{ pageId: "kibDevDocsOpsPluginDiscovery" },
|
||||
|
|
|
@ -6,7 +6,7 @@ NOTE:
|
|||
|
||||
node scripts/build_plugin_list_docs
|
||||
|
||||
You can update the template within node_modules/@kbn/dev-utils/target_node/src/plugin_list/generate_plugin_list.js
|
||||
You can update the template within packages/kbn-dev-utils/src/plugin_list/generate_plugin_list.ts
|
||||
|
||||
////
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types",
|
||||
"outDir": "target/types",
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -10,11 +10,13 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*",
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/bfetch/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/bfetch-plugin",
|
||||
"@kbn/kibana-react-plugin",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -11,13 +11,19 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/data/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/controls/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/navigation/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/presentation_util/tsconfig.json" }
|
||||
"@kbn/core",
|
||||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/data-plugin",
|
||||
"@kbn/controls-plugin",
|
||||
"@kbn/navigation-plugin",
|
||||
"@kbn/presentation-util-plugin",
|
||||
"@kbn/shared-ux-page-kibana-template",
|
||||
"@kbn/embeddable-plugin",
|
||||
"@kbn/data-views-plugin",
|
||||
"@kbn/es-query",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -10,13 +10,14 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*",
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/dashboard/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/embeddable/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../embeddable_examples/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/dashboard-plugin",
|
||||
"@kbn/kibana-react-plugin",
|
||||
"@kbn/embeddable-examples-plugin",
|
||||
"@kbn/developer-examples-plugin",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -9,13 +9,14 @@
|
|||
"public/**/*.tsx",
|
||||
"../../typings/**/*",
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/data/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/data_views/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/data_view_field_editor/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/data-plugin",
|
||||
"@kbn/data-views-plugin",
|
||||
"@kbn/data-view-field-editor-plugin",
|
||||
"@kbn/developer-examples-plugin",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -10,8 +10,10 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*",
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" }
|
||||
"@kbn/core"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -11,15 +11,18 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/ui_actions/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/embeddable/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/dashboard/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/saved_objects/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/presentation_util/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/kibana-utils-plugin",
|
||||
"@kbn/kibana-react-plugin",
|
||||
"@kbn/ui-actions-plugin",
|
||||
"@kbn/embeddable-plugin",
|
||||
"@kbn/dashboard-plugin",
|
||||
"@kbn/saved-objects-plugin",
|
||||
"@kbn/i18n",
|
||||
"@kbn/utility-types",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -10,13 +10,15 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/embeddable/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/ui_actions/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/inspector/tsconfig.json" },
|
||||
{ "path": "../embeddable_examples/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/embeddable-plugin",
|
||||
"@kbn/ui-actions-plugin",
|
||||
"@kbn/inspector-plugin",
|
||||
"@kbn/embeddable-examples-plugin",
|
||||
"@kbn/developer-examples-plugin",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -9,13 +9,17 @@
|
|||
"public/**/*.tsx",
|
||||
"../../typings/**/*",
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/expressions/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/ui_actions/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/inspector/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/kibana-react-plugin",
|
||||
"@kbn/expressions-plugin",
|
||||
"@kbn/ui-actions-plugin",
|
||||
"@kbn/inspector-plugin",
|
||||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/i18n",
|
||||
"@kbn/i18n-react",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target",
|
||||
"skipLibCheck": true
|
||||
"outDir": "target/types",
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -12,12 +11,15 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/field_formats/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/data/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/data_view_field_editor/tsconfig.json" }
|
||||
"@kbn/core",
|
||||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/field-formats-plugin",
|
||||
"@kbn/data-plugin",
|
||||
"@kbn/data-view-field-editor-plugin",
|
||||
"@kbn/field-types",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -11,10 +11,18 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/files/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/files-plugin",
|
||||
"@kbn/shared-ux-file-types",
|
||||
"@kbn/core-application-browser",
|
||||
"@kbn/shared-ux-file-context",
|
||||
"@kbn/shared-ux-file-image",
|
||||
"@kbn/shared-ux-file-upload",
|
||||
"@kbn/shared-ux-file-picker",
|
||||
"@kbn/developer-examples-plugin",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"outDir": "target/types",
|
||||
},
|
||||
"include": [
|
||||
"__jest__/**/*",
|
||||
|
@ -13,11 +11,13 @@
|
|||
"../../typings/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{
|
||||
"path": "../../src/core/tsconfig.json"
|
||||
},
|
||||
{
|
||||
"path": "../../src/plugins/guided_onboarding/tsconfig.json"
|
||||
},
|
||||
"@kbn/core",
|
||||
"@kbn/guided-onboarding-plugin",
|
||||
"@kbn/i18n-react",
|
||||
"@kbn/i18n",
|
||||
"@kbn/guided-onboarding",
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -11,9 +11,11 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" }
|
||||
"@kbn/core",
|
||||
"@kbn/developer-examples-plugin"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -10,9 +10,13 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/share/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/share-plugin",
|
||||
"@kbn/utility-types",
|
||||
"@kbn/kibana-utils-plugin",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -10,11 +10,13 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/share/tsconfig.json" },
|
||||
{ "path": "../locator_examples/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/share-plugin",
|
||||
"@kbn/locator-examples-plugin",
|
||||
"@kbn/developer-examples-plugin",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target",
|
||||
"skipLibCheck": true
|
||||
"outDir": "target/types",
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -10,10 +9,12 @@
|
|||
"public/**/*.tsx",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/expressions/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/expressions-plugin",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"outDir": "target/types",
|
||||
},
|
||||
"include": ["public/**/*", "server/**/*"],
|
||||
"kbn_references": [{ "path": "../../src/core/tsconfig.json" }]
|
||||
"kbn_references": [
|
||||
"@kbn/core",
|
||||
"@kbn/core-http-browser",
|
||||
"@kbn/config-schema",
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types",
|
||||
"outDir": "target/types",
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -11,11 +11,15 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*",
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/data/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/data-plugin",
|
||||
"@kbn/kibana-react-plugin",
|
||||
"@kbn/aiops-utils",
|
||||
"@kbn/config-schema",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -11,9 +11,13 @@
|
|||
"common/**/*.ts",
|
||||
"../../typings/**/*",
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/core-http-browser",
|
||||
"@kbn/config-schema",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -11,12 +11,16 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/navigation/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/screenshot_mode/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/usage_collection/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/navigation-plugin",
|
||||
"@kbn/screenshot-mode-plugin",
|
||||
"@kbn/usage-collection-plugin",
|
||||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/analytics",
|
||||
"@kbn/i18n-react",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -11,16 +11,25 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*",
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/data/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/data_views/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/inspector/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/navigation/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/share/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/data-plugin",
|
||||
"@kbn/data-views-plugin",
|
||||
"@kbn/inspector-plugin",
|
||||
"@kbn/kibana-utils-plugin",
|
||||
"@kbn/kibana-react-plugin",
|
||||
"@kbn/navigation-plugin",
|
||||
"@kbn/share-plugin",
|
||||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/unified-search-plugin",
|
||||
"@kbn/i18n-react",
|
||||
"@kbn/utility-types",
|
||||
"@kbn/es-query",
|
||||
"@kbn/i18n",
|
||||
"@kbn/core-mount-utils-browser-internal",
|
||||
"@kbn/config-schema",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -10,9 +10,11 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/share/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/share-plugin",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -11,14 +11,16 @@
|
|||
"common/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_utils/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/navigation/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/data/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/data_views/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/kibana-utils-plugin",
|
||||
"@kbn/navigation-plugin",
|
||||
"@kbn/data-plugin",
|
||||
"@kbn/data-views-plugin",
|
||||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/es-query",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -10,9 +10,12 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*",
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/ui_actions/tsconfig.json" },
|
||||
"@kbn/kibana-react-plugin",
|
||||
"@kbn/ui-actions-plugin",
|
||||
"@kbn/core",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -9,12 +9,14 @@
|
|||
"public/**/*.tsx",
|
||||
"../../typings/**/*",
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../../src/plugins/ui_actions/tsconfig.json" },
|
||||
{ "path": "../ui_action_examples/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" },
|
||||
"@kbn/core",
|
||||
"@kbn/kibana-react-plugin",
|
||||
"@kbn/ui-actions-plugin",
|
||||
"@kbn/ui-actions-examples-plugin",
|
||||
"@kbn/developer-examples-plugin",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./target/types"
|
||||
"outDir": "target/types"
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
|
@ -10,10 +10,17 @@
|
|||
"server/**/*.ts",
|
||||
"../../typings/**/*"
|
||||
],
|
||||
"exclude": [],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
{ "path": "../../src/core/tsconfig.json" },
|
||||
{ "path": "../../x-pack/plugins/security/tsconfig.json" },
|
||||
{ "path": "../developer_examples/tsconfig.json" }
|
||||
"@kbn/core",
|
||||
"@kbn/security-plugin",
|
||||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/user-profile-components",
|
||||
"@kbn/shared-ux-page-kibana-template",
|
||||
"@kbn/features-plugin",
|
||||
"@kbn/spaces-plugin",
|
||||
"@kbn/config-schema",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ There are cases where `@kbn/pm` relies on code from packages, mostly to prevent
|
|||
|
||||
Option 1 is used in several places, with contingencies in place in case bootstrap failed. Option 2 is used for two pieces of code which are needed in order to run bootstrap:
|
||||
|
||||
1. `@kbn/plugin-discovery` as we need to populate the `@kbn/synthetic-package-map` to run Bazel
|
||||
1. `@kbn/plugin-discovery` as we need to populate the `@kbn/package-map` to run Bazel
|
||||
2. `@kbn/bazel-runner` as we want to have the logic for running bazel in a single location
|
||||
|
||||
Because we load these two packages from source, without being built, before bootstrap is ever run, they can not depend on other packages and must be written in Vanilla JS as well.
|
|
@ -20,6 +20,7 @@ import { getHelp } from './lib/help.mjs';
|
|||
import { createFlagError, isCliError } from './lib/cli_error.mjs';
|
||||
import { getCmd } from './commands/index.mjs';
|
||||
import { Log } from './lib/log.mjs';
|
||||
import External from './lib/external_packages.js';
|
||||
|
||||
const start = Date.now();
|
||||
const args = new Args(process.argv.slice(2), process.env.CI ? ['--quiet'] : []);
|
||||
|
@ -31,7 +32,7 @@ const cmdName = args.getCommandName();
|
|||
*/
|
||||
async function tryToGetCiStatsReporter(log) {
|
||||
try {
|
||||
const { CiStatsReporter } = await import('@kbn/ci-stats-reporter');
|
||||
const { CiStatsReporter } = External['@kbn/ci-stats-reporter']();
|
||||
return CiStatsReporter.fromEnv(log);
|
||||
} catch {
|
||||
return;
|
||||
|
|
|
@ -8,13 +8,15 @@
|
|||
|
||||
import { run } from '../../lib/spawn.mjs';
|
||||
import * as Bazel from '../../lib/bazel.mjs';
|
||||
import External from '../../lib/external_packages.js';
|
||||
|
||||
import { haveNodeModulesBeenManuallyDeleted, removeYarnIntegrityFileIfExists } from './yarn.mjs';
|
||||
import { setupRemoteCache } from './setup_remote_cache.mjs';
|
||||
import { regenerateSyntheticPackageMap } from './regenerate_synthetic_package_map.mjs';
|
||||
import { sortPackageJson } from './sort_package_json.mjs';
|
||||
import { REPO_ROOT } from '../../lib/paths.mjs';
|
||||
import { pluginDiscovery } from './plugins.mjs';
|
||||
import { regeneratePackageMap } from './regenerate_package_map.mjs';
|
||||
import { regenerateBaseTsconfig } from './regenerate_base_tsconfig.mjs';
|
||||
import { packageDiscovery, pluginDiscovery } from './discovery.mjs';
|
||||
import { validatePackageJson } from './validate_package_json.mjs';
|
||||
|
||||
/** @type {import('../../lib/command').Command} */
|
||||
export const command = {
|
||||
|
@ -83,45 +85,50 @@ export const command = {
|
|||
});
|
||||
}
|
||||
|
||||
const plugins = await time('plugin discovery', async () => {
|
||||
return await pluginDiscovery();
|
||||
// discover the location of packages and plugins
|
||||
const [plugins, packages] = await Promise.all([
|
||||
time('plugin discovery', pluginDiscovery),
|
||||
time('package discovery', packageDiscovery),
|
||||
]);
|
||||
|
||||
// generate the package map which powers the resolver and several other features
|
||||
// needed as an input to the bazel builds
|
||||
await time('regenerate package map', async () => {
|
||||
await regeneratePackageMap(packages, plugins, log);
|
||||
});
|
||||
|
||||
// generate the synthetic package map which powers several other features, needed
|
||||
// as an input to the package build
|
||||
await time('regenerate synthetic package map', async () => {
|
||||
await regenerateSyntheticPackageMap(plugins);
|
||||
await time('pre-build webpack bundles for packages', async () => {
|
||||
await Bazel.buildWebpackBundles(log, { offline, quiet });
|
||||
});
|
||||
|
||||
await time('build packages', async () => {
|
||||
await Bazel.buildPackages(log, { offline, quiet });
|
||||
});
|
||||
await time('sort package json', async () => {
|
||||
await sortPackageJson();
|
||||
});
|
||||
await time('regenerate tsconfig.base.json', async () => {
|
||||
const { discoverBazelPackages } = await import('@kbn/bazel-packages');
|
||||
await regenerateBaseTsconfig(await discoverBazelPackages(REPO_ROOT), plugins);
|
||||
await regenerateBaseTsconfig();
|
||||
});
|
||||
|
||||
if (validate) {
|
||||
// now that packages are built we can import `@kbn/yarn-lock-validator`
|
||||
const { readYarnLock, validateDependencies } = await import('@kbn/yarn-lock-validator');
|
||||
const yarnLock = await time('read yarn.lock', async () => {
|
||||
return await readYarnLock();
|
||||
});
|
||||
await time('validate dependencies', async () => {
|
||||
await validateDependencies(log, yarnLock);
|
||||
});
|
||||
}
|
||||
await Promise.all([
|
||||
time('sort package json', async () => {
|
||||
await sortPackageJson();
|
||||
}),
|
||||
time('validate package json', async () => {
|
||||
// now that deps are installed we can import `@kbn/yarn-lock-validator`
|
||||
const { kibanaPackageJson } = External['@kbn/repo-info']();
|
||||
await validatePackageJson(kibanaPackageJson, log);
|
||||
}),
|
||||
validate
|
||||
? time('validate dependencies', async () => {
|
||||
// now that deps are installed we can import `@kbn/yarn-lock-validator`
|
||||
const { readYarnLock, validateDependencies } = External['@kbn/yarn-lock-validator']();
|
||||
await validateDependencies(log, await readYarnLock());
|
||||
})
|
||||
: undefined,
|
||||
vscodeConfig
|
||||
? time('update vscode config', async () => {
|
||||
// Update vscode settings
|
||||
await run('node', ['scripts/update_vscode_config']);
|
||||
|
||||
if (vscodeConfig) {
|
||||
await time('update vscode config', async () => {
|
||||
// Update vscode settings
|
||||
await run('node', ['scripts/update_vscode_config']);
|
||||
|
||||
log.success('vscode config updated');
|
||||
});
|
||||
}
|
||||
log.success('vscode config updated');
|
||||
})
|
||||
: undefined,
|
||||
]);
|
||||
},
|
||||
};
|
||||
|
|
38
kbn_pm/src/commands/bootstrap/discovery.mjs
Normal file
38
kbn_pm/src/commands/bootstrap/discovery.mjs
Normal file
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import { REPO_ROOT } from '../../lib/paths.mjs';
|
||||
|
||||
// we need to run these in order to generate the pkg map which is used by things
|
||||
// like `@kbn/babel-register`, so we have to import the JS files directory and can't
|
||||
// rely on `@kbn/babel-register`.
|
||||
|
||||
export async function packageDiscovery() {
|
||||
const { discoverBazelPackages } = await import(
|
||||
// eslint-disable-next-line @kbn/imports/uniform_imports
|
||||
'../../../../packages/kbn-bazel-packages/index.js'
|
||||
);
|
||||
|
||||
return await discoverBazelPackages(REPO_ROOT);
|
||||
}
|
||||
|
||||
export async function pluginDiscovery() {
|
||||
const { getPluginSearchPaths, simpleKibanaPlatformPluginDiscovery } = await import(
|
||||
// eslint-disable-next-line @kbn/imports/uniform_imports
|
||||
'../../../../packages/kbn-plugin-discovery/index.js'
|
||||
);
|
||||
|
||||
const searchPaths = getPluginSearchPaths({
|
||||
rootDir: REPO_ROOT,
|
||||
examples: true,
|
||||
oss: false,
|
||||
testPlugins: true,
|
||||
});
|
||||
|
||||
return simpleKibanaPlatformPluginDiscovery(searchPaths, []);
|
||||
}
|
|
@ -10,47 +10,23 @@ import Path from 'path';
|
|||
import Fsp from 'fs/promises';
|
||||
|
||||
import { REPO_ROOT } from '../../lib/paths.mjs';
|
||||
import { convertPluginIdToPackageId } from './plugins.mjs';
|
||||
import { normalizePath } from './normalize_path.mjs';
|
||||
import External from '../../lib/external_packages.js';
|
||||
|
||||
/**
|
||||
* @param {import('@kbn/bazel-packages').BazelPackage[]} packages
|
||||
* @param {import('@kbn/plugin-discovery').KibanaPlatformPlugin[]} plugins
|
||||
*/
|
||||
export async function regenerateBaseTsconfig(packages, plugins) {
|
||||
export async function regenerateBaseTsconfig() {
|
||||
const pkgMap = External['@kbn/package-map']().readPackageMap();
|
||||
const tsconfigPath = Path.resolve(REPO_ROOT, 'tsconfig.base.json');
|
||||
const lines = (await Fsp.readFile(tsconfigPath, 'utf-8')).split('\n');
|
||||
|
||||
const packagesMap = packages
|
||||
.slice()
|
||||
.sort((a, b) => a.normalizedRepoRelativeDir.localeCompare(b.normalizedRepoRelativeDir))
|
||||
.flatMap((p) => {
|
||||
if (!p.pkg) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const id = p.pkg.name;
|
||||
const path = p.normalizedRepoRelativeDir;
|
||||
return [` "${id}": ["${path}"],`, ` "${id}/*": ["${path}/*"],`];
|
||||
});
|
||||
|
||||
const pluginsMap = plugins
|
||||
.slice()
|
||||
.sort((a, b) => a.manifestPath.localeCompare(b.manifestPath))
|
||||
.flatMap((p) => {
|
||||
const id = convertPluginIdToPackageId(p.manifest.id);
|
||||
const path = normalizePath(Path.relative(REPO_ROOT, p.directory));
|
||||
return [` "${id}": ["${path}"],`, ` "${id}/*": ["${path}/*"],`];
|
||||
});
|
||||
|
||||
const start = lines.findIndex((l) => l.trim() === '// START AUTOMATED PACKAGE LISTING');
|
||||
const end = lines.findIndex((l) => l.trim() === '// END AUTOMATED PACKAGE LISTING');
|
||||
|
||||
const current = await Fsp.readFile(tsconfigPath, 'utf8');
|
||||
const updated = [
|
||||
...lines.slice(0, start + 1),
|
||||
...packagesMap,
|
||||
...pluginsMap,
|
||||
...Array.from(pkgMap.entries()).flatMap(([moduleId, repoRelPath]) => [
|
||||
` "${moduleId}": ["${repoRelPath}"],`,
|
||||
` "${moduleId}/*": ["${repoRelPath}/*"],`,
|
||||
]),
|
||||
...lines.slice(end),
|
||||
].join('\n');
|
||||
|
||||
|
|
57
kbn_pm/src/commands/bootstrap/regenerate_package_map.mjs
Normal file
57
kbn_pm/src/commands/bootstrap/regenerate_package_map.mjs
Normal file
|
@ -0,0 +1,57 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import Path from 'path';
|
||||
import Fs from 'fs';
|
||||
import Fsp from 'fs/promises';
|
||||
|
||||
import { convertPluginIdToPackageId } from '../../lib/plugins.mjs';
|
||||
import { normalizePath } from '../../lib/normalize_path.mjs';
|
||||
import { REPO_ROOT } from '../../lib/paths.mjs';
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {import('@kbn/bazel-packages').BazelPackage[]} packages
|
||||
* @param {import('@kbn/plugin-discovery').KibanaPlatformPlugin[]} plugins
|
||||
* @param {import('@kbn/some-dev-log').SomeDevLog} log
|
||||
*/
|
||||
export async function regeneratePackageMap(packages, plugins, log) {
|
||||
// clean up old version of package map package
|
||||
Fs.rmSync(Path.resolve(REPO_ROOT, 'packages/kbn-synthetic-package-map'), {
|
||||
recursive: true,
|
||||
force: true,
|
||||
});
|
||||
|
||||
const path = Path.resolve(REPO_ROOT, 'packages/kbn-package-map/package-map.json');
|
||||
const existingContent = Fs.existsSync(path) ? await Fsp.readFile(path, 'utf8') : undefined;
|
||||
|
||||
/** @type {Array<[string, string]>} */
|
||||
const entries = [['@kbn/core', 'src/core']];
|
||||
|
||||
for (const pkg of packages) {
|
||||
entries.push([pkg.manifest.id, pkg.normalizedRepoRelativeDir]);
|
||||
}
|
||||
|
||||
for (const plugin of plugins) {
|
||||
entries.push([
|
||||
convertPluginIdToPackageId(plugin.manifest.id),
|
||||
normalizePath(Path.relative(REPO_ROOT, plugin.directory)),
|
||||
]);
|
||||
}
|
||||
|
||||
const content = JSON.stringify(
|
||||
entries.sort((a, b) => a[0].localeCompare(b[0])),
|
||||
null,
|
||||
2
|
||||
);
|
||||
|
||||
if (content !== existingContent) {
|
||||
await Fsp.writeFile(path, content);
|
||||
log.warning('updated package map, many caches may be invalidated');
|
||||
}
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import Path from 'path';
|
||||
import Fsp from 'fs/promises';
|
||||
|
||||
import { normalizePath } from './normalize_path.mjs';
|
||||
import { REPO_ROOT } from '../../lib/paths.mjs';
|
||||
import { convertPluginIdToPackageId } from './plugins.mjs';
|
||||
|
||||
/**
|
||||
* @param {import('@kbn/plugin-discovery').KibanaPlatformPlugin[]} plugins
|
||||
*/
|
||||
export async function regenerateSyntheticPackageMap(plugins) {
|
||||
/** @type {Array<[string, string]>} */
|
||||
const entries = [['@kbn/core', 'src/core']];
|
||||
|
||||
for (const plugin of plugins) {
|
||||
entries.push([
|
||||
convertPluginIdToPackageId(plugin.manifest.id),
|
||||
normalizePath(Path.relative(REPO_ROOT, plugin.directory)),
|
||||
]);
|
||||
}
|
||||
|
||||
await Fsp.writeFile(
|
||||
Path.resolve(REPO_ROOT, 'packages/kbn-synthetic-package-map/synthetic-packages.json'),
|
||||
JSON.stringify(entries, null, 2)
|
||||
);
|
||||
}
|
|
@ -10,9 +10,10 @@ import Path from 'path';
|
|||
import Fs from 'fs';
|
||||
|
||||
import { REPO_ROOT } from '../../lib/paths.mjs';
|
||||
import External from '../../lib/external_packages.js';
|
||||
|
||||
export async function sortPackageJson() {
|
||||
const { sortPackageJson } = await import('@kbn/sort-package-json');
|
||||
const { sortPackageJson } = External['@kbn/sort-package-json']();
|
||||
|
||||
const path = Path.resolve(REPO_ROOT, 'package.json');
|
||||
const json = Fs.readFileSync(path, 'utf8');
|
||||
|
|
29
kbn_pm/src/commands/bootstrap/validate_package_json.mjs
Normal file
29
kbn_pm/src/commands/bootstrap/validate_package_json.mjs
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import { createCliError } from '../../lib/cli_error.mjs';
|
||||
|
||||
/**
|
||||
* @param {import('@kbn/repo-info').KibanaPackageJson} pkgJson
|
||||
* @param {import('@kbn/some-dev-log').SomeDevLog} log
|
||||
*/
|
||||
export async function validatePackageJson(pkgJson, log) {
|
||||
const failures = false;
|
||||
|
||||
const typesInProd = Object.keys(pkgJson.dependencies).filter((id) => id.startsWith('@types/'));
|
||||
if (typesInProd.length) {
|
||||
const list = typesInProd.map((id) => ` - ${id}`).join('\n');
|
||||
log.error(
|
||||
`The following @types/* packages are listed in dependencies but should be in the devDependencies:\n${list}`
|
||||
);
|
||||
}
|
||||
|
||||
if (failures) {
|
||||
throw createCliError('failed to validate package.json, check for errors above');
|
||||
}
|
||||
}
|
|
@ -10,6 +10,7 @@ import Path from 'path';
|
|||
|
||||
import { REPO_ROOT } from '../lib/paths.mjs';
|
||||
import { run, spawnStreaming } from '../lib/spawn.mjs';
|
||||
import External from '../lib/external_packages.js';
|
||||
|
||||
/** @type {import('../lib/command').Command} */
|
||||
export const command = {
|
||||
|
@ -39,7 +40,7 @@ export const command = {
|
|||
const exclude = args.getStringValues('exclude') ?? [];
|
||||
const include = args.getStringValues('include') ?? [];
|
||||
|
||||
const { discoverBazelPackages } = await import('@kbn/bazel-packages');
|
||||
const { discoverBazelPackages } = External['@kbn/bazel-packages']();
|
||||
const packages = await discoverBazelPackages(REPO_ROOT);
|
||||
for (const { manifest, pkg, normalizedRepoRelativeDir } of packages) {
|
||||
if (
|
||||
|
|
|
@ -6,267 +6,8 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import Fs from 'fs';
|
||||
import Path from 'path';
|
||||
|
||||
import { REPO_ROOT } from '../lib/paths.mjs';
|
||||
import { pluginDiscovery } from './bootstrap/plugins.mjs';
|
||||
|
||||
const RULE_DEPS = /([\s\n]deps\s*=\s*)((?:\w+(?: \+ )?)?(?:\[[^\]]*\])?)(\s*,|\s*\))/;
|
||||
|
||||
/**
|
||||
* @param {string} text
|
||||
* @param {number} index
|
||||
*/
|
||||
function findStartOfLine(text, index) {
|
||||
let cursor = index;
|
||||
while (cursor > 0) {
|
||||
if (text[cursor - 1] === '\n') {
|
||||
return cursor;
|
||||
}
|
||||
cursor -= 1;
|
||||
}
|
||||
|
||||
return cursor;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} starlark
|
||||
* @param {string} name
|
||||
*/
|
||||
function findBazelRule(starlark, name) {
|
||||
const match = starlark.match(new RegExp(`name\\s*=\\s*${name}`));
|
||||
if (typeof match?.index !== 'number') {
|
||||
throw new Error(`unable to find rule named [${name}]`);
|
||||
}
|
||||
|
||||
const openParen = starlark.slice(0, match.index).lastIndexOf('(');
|
||||
if (openParen === -1) {
|
||||
throw new Error(`unable to find opening paren for rule [${name}] [index=${match.index}]`);
|
||||
}
|
||||
|
||||
const start = findStartOfLine(starlark, openParen);
|
||||
const end = starlark.indexOf(')', start);
|
||||
if (end === -1) {
|
||||
throw new Error(`unable to find closing parent for rule [${name}] [start=${start}]`);
|
||||
}
|
||||
|
||||
const type = starlark.slice(start, starlark.indexOf('(', start)).trim();
|
||||
|
||||
// add 1 so that the "end" chunk starts after the closing )
|
||||
return { start, end: end + 1, type };
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} starlark
|
||||
* @param {string} name
|
||||
*/
|
||||
function removeBazelRule(starlark, name) {
|
||||
const pos = findBazelRule(starlark, name);
|
||||
|
||||
let end = pos.end;
|
||||
|
||||
// slurp up all the newlines directly after the closing )
|
||||
while (starlark[end] === '\n') {
|
||||
end += 1;
|
||||
}
|
||||
|
||||
return starlark.slice(0, pos.start) + starlark.slice(end);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} starlark
|
||||
* @param {string} dep
|
||||
* @returns
|
||||
*/
|
||||
function addDep(starlark, dep) {
|
||||
const depsMatch = starlark.match(RULE_DEPS);
|
||||
|
||||
if (typeof depsMatch?.index !== 'number') {
|
||||
return starlark.replace(/,?[\s\n]*\)[\s\n]*$/, '') + `,\n deps = [${dep}],\n)`;
|
||||
}
|
||||
|
||||
const [, head, value, tail] = depsMatch;
|
||||
|
||||
return (
|
||||
starlark.slice(0, depsMatch.index) +
|
||||
head +
|
||||
(() => {
|
||||
const multiline = value.includes('\n');
|
||||
const existingArray = value.indexOf(']');
|
||||
if (existingArray === -1) {
|
||||
return value + ` + [${dep}]`;
|
||||
}
|
||||
|
||||
const valHead = value.slice(0, existingArray).replace(/,?\s*$/, ',');
|
||||
const valTail = value.slice(existingArray);
|
||||
|
||||
return `${valHead}${multiline ? '\n ' : ' '}${dep}${multiline ? ',\n' : ''}${valTail}`;
|
||||
})() +
|
||||
tail +
|
||||
starlark.slice(depsMatch.index + depsMatch[0].length)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} starlark
|
||||
* @param {string} name
|
||||
* @param {string} newName
|
||||
* @param {(rule: string) => string} mod
|
||||
*/
|
||||
function duplicateRule(starlark, name, newName, mod) {
|
||||
const origPos = findBazelRule(starlark, name);
|
||||
|
||||
const orig = starlark.slice(origPos.start, origPos.end);
|
||||
|
||||
const withName = orig.replace(
|
||||
/^(\s*)name\s*=\s*.*$/m,
|
||||
(match, head) => `${head}name = ${newName}${match.endsWith(',') ? ',' : ''}`
|
||||
);
|
||||
|
||||
return starlark.slice(0, origPos.end) + `\n\n${mod(withName)}` + starlark.slice(origPos.end);
|
||||
}
|
||||
|
||||
/** @type {import('../lib/command').Command} */
|
||||
export const command = {
|
||||
name: '_x',
|
||||
async run({ log }) {
|
||||
const updates = { pkgJson: 0, buildBazel: 0, tsconfig: 0, tsconfigRefs: 0 };
|
||||
|
||||
await import('../../../src/setup_node_env/index' + '.js');
|
||||
const { PROJECTS } = await import('./projects' + '.js');
|
||||
const { discoverBazelPackages } = await import('@kbn/bazel-packages');
|
||||
const pkgs = await discoverBazelPackages(REPO_ROOT);
|
||||
const plugins = await pluginDiscovery();
|
||||
|
||||
// update package.json files to point to their target_types dir
|
||||
const relTypes = './target_types/index.d.ts';
|
||||
for (const pkg of pkgs) {
|
||||
if (!pkg.hasBuildTypesRule()) {
|
||||
log.warning(`not defining "types" for ${pkg.manifest.id} because it doesn't build types`);
|
||||
continue;
|
||||
}
|
||||
|
||||
const dir = Path.resolve(REPO_ROOT, pkg.normalizedRepoRelativeDir);
|
||||
const pkgJsonPath = Path.resolve(dir, 'package.json');
|
||||
|
||||
const pkgJson = Fs.readFileSync(pkgJsonPath, 'utf8');
|
||||
const parsed = JSON.parse(pkgJson);
|
||||
|
||||
if (parsed.types === relTypes) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Fs.writeFileSync(
|
||||
pkgJsonPath,
|
||||
JSON.stringify(
|
||||
{
|
||||
...parsed,
|
||||
types: relTypes,
|
||||
},
|
||||
null,
|
||||
2
|
||||
) + (pkgJson.endsWith('\n') ? '\n' : '')
|
||||
);
|
||||
|
||||
updates.pkgJson += 1;
|
||||
}
|
||||
log.success(`updated ${updates.pkgJson} package.json files`);
|
||||
|
||||
// update BUILD.bazel files to not rely on type_summarizer
|
||||
for (const pkg of pkgs) {
|
||||
if (!pkg.hasBuildTypesRule()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const starlark = pkg.buildBazelContent;
|
||||
if (typeof starlark !== 'string') {
|
||||
throw new Error('missing buildBazelContent');
|
||||
}
|
||||
|
||||
const npmTypes = findBazelRule(starlark, '"npm_module_types"');
|
||||
|
||||
if (npmTypes.type === 'alias') {
|
||||
log.info(`ignoring npm_module_types rule which is an alias in ${pkg.manifest.id}`);
|
||||
continue;
|
||||
}
|
||||
|
||||
// remove rules for old npm_module_types
|
||||
const withoutOldTypes = removeBazelRule(starlark, '"npm_module_types"');
|
||||
|
||||
// duplicate js_library rule and name npm_module_types rule which adds the ':tsc_types' dep
|
||||
const withTypesJsLib = duplicateRule(
|
||||
withoutOldTypes,
|
||||
'PKG_DIRNAME',
|
||||
'"npm_module_types"',
|
||||
(newRule) => addDep(newRule, '":tsc_types"')
|
||||
);
|
||||
|
||||
const withBuildTypesWrapper =
|
||||
removeBazelRule(withTypesJsLib, '"build_types"').trimEnd() +
|
||||
`
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
`;
|
||||
|
||||
Fs.writeFileSync(
|
||||
Path.resolve(REPO_ROOT, pkg.normalizedRepoRelativeDir, 'BUILD.bazel'),
|
||||
withBuildTypesWrapper
|
||||
);
|
||||
|
||||
updates.buildBazel += 1;
|
||||
}
|
||||
log.success(`updated ${updates.buildBazel} BUILD.bazel files`);
|
||||
|
||||
// stop enabling declaration source maps in tsconfig
|
||||
for (const pkg of [...pkgs, ...plugins]) {
|
||||
const dir =
|
||||
'normalizedRepoRelativeDir' in pkg
|
||||
? Path.resolve(REPO_ROOT, pkg.normalizedRepoRelativeDir)
|
||||
: pkg.directory;
|
||||
|
||||
let changed;
|
||||
|
||||
const tsconfigPath = Path.resolve(dir, 'tsconfig.json');
|
||||
if (Fs.existsSync(tsconfigPath)) {
|
||||
const current = Fs.readFileSync(tsconfigPath, 'utf8');
|
||||
const next = current.replace(/\n\s*"declarationMap"\s*:.+\n/m, '\n');
|
||||
|
||||
if (current !== next) {
|
||||
changed = true;
|
||||
Fs.writeFileSync(tsconfigPath, next);
|
||||
}
|
||||
}
|
||||
|
||||
const buildBazelPath = Path.resolve(dir, 'BUILD.bazel');
|
||||
if (Fs.existsSync(buildBazelPath)) {
|
||||
const current = Fs.readFileSync(buildBazelPath, 'utf8');
|
||||
const next = current.replace(/\n.*\bdeclaration_map\b.*\n/, '\n');
|
||||
if (current !== next) {
|
||||
changed = true;
|
||||
Fs.writeFileSync(buildBazelPath, next);
|
||||
}
|
||||
}
|
||||
|
||||
if (changed) {
|
||||
updates.tsconfig += 1;
|
||||
}
|
||||
}
|
||||
log.success(`dropped declarationMap from ${updates.tsconfig} tsconfig.json files`);
|
||||
|
||||
// rename "references" in plugin tsconfig.json files to "kbn_references"
|
||||
for (const project of PROJECTS) {
|
||||
const tsconfigJson = Fs.readFileSync(project.tsConfigPath, 'utf8');
|
||||
const updated = tsconfigJson.replace('"references"', '"kbn_references"');
|
||||
if (updated !== tsconfigJson) {
|
||||
Fs.writeFileSync(project.tsConfigPath, updated);
|
||||
updates.tsconfigRefs += 1;
|
||||
}
|
||||
}
|
||||
log.success(`updated tsconfig references key in ${updates.tsconfigRefs} tsconfig.json files`);
|
||||
},
|
||||
async run() {},
|
||||
};
|
||||
|
|
|
@ -18,6 +18,12 @@ import { indent } from './indent.mjs';
|
|||
|
||||
const BAZEL_RUNNER_SRC = '../../../packages/kbn-bazel-runner/index.js';
|
||||
|
||||
const BAZEL_TARGETS = [
|
||||
'//packages/kbn-ui-shared-deps-npm:shared_built_assets',
|
||||
'//packages/kbn-ui-shared-deps-src:shared_built_assets',
|
||||
'//packages/kbn-monaco:target_workers',
|
||||
];
|
||||
|
||||
async function getBazelRunner() {
|
||||
/* eslint-disable no-unsanitized/method */
|
||||
/** @type {import('@kbn/bazel-runner')} */
|
||||
|
@ -83,7 +89,7 @@ export async function watch(log, opts = undefined) {
|
|||
// `.bazel_fix_commands.json` but its not needed at the moment
|
||||
'--run_output=false',
|
||||
'build',
|
||||
'//packages:build',
|
||||
...BAZEL_TARGETS,
|
||||
'--show_result=1',
|
||||
...(opts?.offline ? ['--config=offline'] : []),
|
||||
];
|
||||
|
@ -158,13 +164,13 @@ export async function installYarnDeps(log, opts = undefined) {
|
|||
* @param {import('./log.mjs').Log} log
|
||||
* @param {{ offline?: boolean, quiet?: boolean } | undefined} opts
|
||||
*/
|
||||
export async function buildPackages(log, opts = undefined) {
|
||||
await runBazel(log, ['build', '//packages:build', '--show_result=1'], {
|
||||
export async function buildWebpackBundles(log, opts = undefined) {
|
||||
await runBazel(log, ['build', ...BAZEL_TARGETS, '--show_result=1'], {
|
||||
offline: opts?.offline,
|
||||
quiet: opts?.quiet,
|
||||
});
|
||||
|
||||
log.success('packages built');
|
||||
log.success('shared bundles built');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
58
kbn_pm/src/lib/external_packages.js
Normal file
58
kbn_pm/src/lib/external_packages.js
Normal file
|
@ -0,0 +1,58 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
module.exports = {
|
||||
['@kbn/bazel-packages']() {
|
||||
require('@kbn/babel-register').install();
|
||||
return require('@kbn/bazel-packages');
|
||||
},
|
||||
|
||||
['@kbn/ci-stats-reporter']() {
|
||||
require('@kbn/babel-register').install();
|
||||
return require('@kbn/ci-stats-reporter');
|
||||
},
|
||||
|
||||
['@kbn/yarn-lock-validator']() {
|
||||
require('@kbn/babel-register').install();
|
||||
return require('@kbn/yarn-lock-validator');
|
||||
},
|
||||
|
||||
['@kbn/sort-package-json']() {
|
||||
require('@kbn/babel-register').install();
|
||||
return require('@kbn/sort-package-json');
|
||||
},
|
||||
|
||||
['@kbn/package-map']() {
|
||||
require('@kbn/babel-register').install();
|
||||
return require('@kbn/package-map');
|
||||
},
|
||||
|
||||
['@kbn/get-repo-files']() {
|
||||
require('@kbn/babel-register').install();
|
||||
return require('@kbn/get-repo-files');
|
||||
},
|
||||
|
||||
['@kbn/repo-info']() {
|
||||
require('@kbn/babel-register').install();
|
||||
return require('@kbn/repo-info');
|
||||
},
|
||||
|
||||
['@kbn/ts-projects']() {
|
||||
require('@kbn/babel-register').install();
|
||||
return require('@kbn/ts-projects');
|
||||
},
|
||||
|
||||
/**
|
||||
* @param {string} absPath
|
||||
* @returns {unknown}
|
||||
*/
|
||||
reqAbs(absPath) {
|
||||
require('@kbn/babel-register').install();
|
||||
// eslint-disable-next-line import/no-dynamic-require
|
||||
return require(absPath);
|
||||
},
|
||||
};
|
|
@ -10,21 +10,20 @@ import Path from 'path';
|
|||
import Fs from 'fs';
|
||||
|
||||
import { REPO_ROOT } from './paths.mjs';
|
||||
import External from './external_packages.js';
|
||||
|
||||
/**
|
||||
* Attempt to load the synthetic package map, if bootstrap hasn't run successfully
|
||||
* Attempt to load the package map, if bootstrap hasn't run successfully
|
||||
* this might fail.
|
||||
* @param {import('@kbn/some-dev-log').SomeDevLog} log
|
||||
* @returns {Promise<import('@kbn/synthetic-package-map').PackageMap>}
|
||||
* @returns {Promise<import('@kbn/package-map').PackageMap>}
|
||||
*/
|
||||
async function tryToGetSyntheticPackageMap(log) {
|
||||
async function tryToGetPackageMap(log) {
|
||||
try {
|
||||
const { readPackageMap } = await import('@kbn/synthetic-package-map');
|
||||
const { readPackageMap } = External['@kbn/package-map']();
|
||||
return readPackageMap();
|
||||
} catch (error) {
|
||||
log.warning(
|
||||
'unable to load synthetic package map, unable to clean target directories in synthetic packages'
|
||||
);
|
||||
log.warning('unable to load package map, unable to clean target directories in packages');
|
||||
return new Map();
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +66,7 @@ export function readCleanPatterns(packageDir) {
|
|||
* @returns {Promise<string[]>}
|
||||
*/
|
||||
export async function findPluginCleanPaths(log) {
|
||||
const packageMap = await tryToGetSyntheticPackageMap(log);
|
||||
const packageMap = await tryToGetPackageMap(log);
|
||||
return [...packageMap.values()].flatMap((repoRelativePath) => {
|
||||
const pkgDir = Path.resolve(REPO_ROOT, repoRelativePath);
|
||||
return [Path.resolve(pkgDir, 'target'), ...readCleanPatterns(pkgDir)];
|
||||
|
|
|
@ -6,14 +6,8 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import { REPO_ROOT } from '../../lib/paths.mjs';
|
||||
|
||||
/** @type {string} */
|
||||
const PLUGIN_DISCOVERY_SRC = '../../../../packages/kbn-plugin-discovery/index.js';
|
||||
|
||||
/**
|
||||
* @param {string} pluginId
|
||||
* @returns {string}
|
||||
*/
|
||||
export function convertPluginIdToPackageId(pluginId) {
|
||||
if (pluginId === 'core') {
|
||||
|
@ -28,24 +22,3 @@ export function convertPluginIdToPackageId(pluginId) {
|
|||
.replace(/-\w(-\w)+-/g, (match) => `-${match.split('-').join('')}-`)
|
||||
.replace(/-plugin-plugin$/, '-plugin');
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Promise<import('@kbn/plugin-discovery').KibanaPlatformPlugin[]>}
|
||||
*/
|
||||
export async function pluginDiscovery() {
|
||||
/* eslint-disable no-unsanitized/method */
|
||||
/** @type {import('@kbn/plugin-discovery')} */
|
||||
const { getPluginSearchPaths, simpleKibanaPlatformPluginDiscovery } = await import(
|
||||
PLUGIN_DISCOVERY_SRC
|
||||
);
|
||||
/* eslint-enable no-unsanitized/method */
|
||||
|
||||
const searchPaths = getPluginSearchPaths({
|
||||
rootDir: REPO_ROOT,
|
||||
examples: true,
|
||||
oss: false,
|
||||
testPlugins: true,
|
||||
});
|
||||
|
||||
return simpleKibanaPlatformPluginDiscovery(searchPaths, []);
|
||||
}
|
|
@ -1,14 +1,28 @@
|
|||
{
|
||||
"extends": "../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target",
|
||||
"outDir": "target/types",
|
||||
"checkJs": true,
|
||||
"target": "ES2022",
|
||||
"module": "ESNext"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.mjs",
|
||||
"src/**/*.js",
|
||||
"src/**/*.ts",
|
||||
],
|
||||
"exclude": []
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/babel-register",
|
||||
"@kbn/bazel-packages",
|
||||
"@kbn/repo-info",
|
||||
"@kbn/yarn-lock-validator",
|
||||
"@kbn/get-repo-files",
|
||||
"@kbn/sort-package-json",
|
||||
{ "path": "../src/dev/tsconfig.json" },
|
||||
"@kbn/ci-stats-reporter",
|
||||
"@kbn/package-map",
|
||||
"@kbn/ts-projects"
|
||||
]
|
||||
}
|
||||
|
|
750
package.json
750
package.json
|
@ -128,314 +128,315 @@
|
|||
"@hapi/hoek": "^9.2.1",
|
||||
"@hapi/inert": "^6.0.4",
|
||||
"@hapi/wreck": "^17.1.0",
|
||||
"@kbn/ace": "link:bazel-bin/packages/kbn-ace",
|
||||
"@kbn/aiops-components": "link:bazel-bin/x-pack/packages/ml/aiops_components",
|
||||
"@kbn/aiops-utils": "link:bazel-bin/x-pack/packages/ml/aiops_utils",
|
||||
"@kbn/alerts": "link:bazel-bin/packages/kbn-alerts",
|
||||
"@kbn/analytics": "link:bazel-bin/packages/kbn-analytics",
|
||||
"@kbn/analytics-client": "link:bazel-bin/packages/analytics/client",
|
||||
"@kbn/analytics-shippers-elastic-v3-browser": "link:bazel-bin/packages/analytics/shippers/elastic_v3/browser",
|
||||
"@kbn/analytics-shippers-elastic-v3-common": "link:bazel-bin/packages/analytics/shippers/elastic_v3/common",
|
||||
"@kbn/analytics-shippers-elastic-v3-server": "link:bazel-bin/packages/analytics/shippers/elastic_v3/server",
|
||||
"@kbn/analytics-shippers-fullstory": "link:bazel-bin/packages/analytics/shippers/fullstory",
|
||||
"@kbn/analytics-shippers-gainsight": "link:bazel-bin/packages/analytics/shippers/gainsight",
|
||||
"@kbn/apm-config-loader": "link:bazel-bin/packages/kbn-apm-config-loader",
|
||||
"@kbn/apm-utils": "link:bazel-bin/packages/kbn-apm-utils",
|
||||
"@kbn/cases-components": "link:bazel-bin/packages/kbn-cases-components",
|
||||
"@kbn/chart-icons": "link:bazel-bin/packages/kbn-chart-icons",
|
||||
"@kbn/coloring": "link:bazel-bin/packages/kbn-coloring",
|
||||
"@kbn/config": "link:bazel-bin/packages/kbn-config",
|
||||
"@kbn/config-mocks": "link:bazel-bin/packages/kbn-config-mocks",
|
||||
"@kbn/config-schema": "link:bazel-bin/packages/kbn-config-schema",
|
||||
"@kbn/ace": "link:packages/kbn-ace",
|
||||
"@kbn/aiops-components": "link:x-pack/packages/ml/aiops_components",
|
||||
"@kbn/aiops-utils": "link:x-pack/packages/ml/aiops_utils",
|
||||
"@kbn/alerts": "link:packages/kbn-alerts",
|
||||
"@kbn/analytics": "link:packages/kbn-analytics",
|
||||
"@kbn/analytics-client": "link:packages/analytics/client",
|
||||
"@kbn/analytics-shippers-elastic-v3-browser": "link:packages/analytics/shippers/elastic_v3/browser",
|
||||
"@kbn/analytics-shippers-elastic-v3-common": "link:packages/analytics/shippers/elastic_v3/common",
|
||||
"@kbn/analytics-shippers-elastic-v3-server": "link:packages/analytics/shippers/elastic_v3/server",
|
||||
"@kbn/analytics-shippers-fullstory": "link:packages/analytics/shippers/fullstory",
|
||||
"@kbn/analytics-shippers-gainsight": "link:packages/analytics/shippers/gainsight",
|
||||
"@kbn/apm-config-loader": "link:packages/kbn-apm-config-loader",
|
||||
"@kbn/apm-utils": "link:packages/kbn-apm-utils",
|
||||
"@kbn/cases-components": "link:packages/kbn-cases-components",
|
||||
"@kbn/chart-icons": "link:packages/kbn-chart-icons",
|
||||
"@kbn/coloring": "link:packages/kbn-coloring",
|
||||
"@kbn/config": "link:packages/kbn-config",
|
||||
"@kbn/config-mocks": "link:packages/kbn-config-mocks",
|
||||
"@kbn/config-schema": "link:packages/kbn-config-schema",
|
||||
"@kbn/content-management-content-editor": "link:bazel-bin/packages/content-management/content_editor",
|
||||
"@kbn/content-management-table-list": "link:bazel-bin/packages/content-management/table_list",
|
||||
"@kbn/core-analytics-browser": "link:bazel-bin/packages/core/analytics/core-analytics-browser",
|
||||
"@kbn/core-analytics-browser-internal": "link:bazel-bin/packages/core/analytics/core-analytics-browser-internal",
|
||||
"@kbn/core-analytics-browser-mocks": "link:bazel-bin/packages/core/analytics/core-analytics-browser-mocks",
|
||||
"@kbn/core-analytics-server": "link:bazel-bin/packages/core/analytics/core-analytics-server",
|
||||
"@kbn/core-analytics-server-internal": "link:bazel-bin/packages/core/analytics/core-analytics-server-internal",
|
||||
"@kbn/core-analytics-server-mocks": "link:bazel-bin/packages/core/analytics/core-analytics-server-mocks",
|
||||
"@kbn/core-application-browser": "link:bazel-bin/packages/core/application/core-application-browser",
|
||||
"@kbn/core-application-browser-internal": "link:bazel-bin/packages/core/application/core-application-browser-internal",
|
||||
"@kbn/core-application-browser-mocks": "link:bazel-bin/packages/core/application/core-application-browser-mocks",
|
||||
"@kbn/core-application-common": "link:bazel-bin/packages/core/application/core-application-common",
|
||||
"@kbn/core-apps-browser-internal": "link:bazel-bin/packages/core/apps/core-apps-browser-internal",
|
||||
"@kbn/core-apps-browser-mocks": "link:bazel-bin/packages/core/apps/core-apps-browser-mocks",
|
||||
"@kbn/core-apps-server-internal": "link:bazel-bin/packages/core/apps/core-apps-server-internal",
|
||||
"@kbn/core-base-browser-internal": "link:bazel-bin/packages/core/base/core-base-browser-internal",
|
||||
"@kbn/core-base-browser-mocks": "link:bazel-bin/packages/core/base/core-base-browser-mocks",
|
||||
"@kbn/core-base-common": "link:bazel-bin/packages/core/base/core-base-common",
|
||||
"@kbn/core-base-common-internal": "link:bazel-bin/packages/core/base/core-base-common-internal",
|
||||
"@kbn/core-base-server-internal": "link:bazel-bin/packages/core/base/core-base-server-internal",
|
||||
"@kbn/core-base-server-mocks": "link:bazel-bin/packages/core/base/core-base-server-mocks",
|
||||
"@kbn/core-capabilities-browser-internal": "link:bazel-bin/packages/core/capabilities/core-capabilities-browser-internal",
|
||||
"@kbn/core-capabilities-browser-mocks": "link:bazel-bin/packages/core/capabilities/core-capabilities-browser-mocks",
|
||||
"@kbn/core-capabilities-common": "link:bazel-bin/packages/core/capabilities/core-capabilities-common",
|
||||
"@kbn/core-capabilities-server": "link:bazel-bin/packages/core/capabilities/core-capabilities-server",
|
||||
"@kbn/core-capabilities-server-internal": "link:bazel-bin/packages/core/capabilities/core-capabilities-server-internal",
|
||||
"@kbn/core-capabilities-server-mocks": "link:bazel-bin/packages/core/capabilities/core-capabilities-server-mocks",
|
||||
"@kbn/core-chrome-browser": "link:bazel-bin/packages/core/chrome/core-chrome-browser",
|
||||
"@kbn/core-chrome-browser-internal": "link:bazel-bin/packages/core/chrome/core-chrome-browser-internal",
|
||||
"@kbn/core-chrome-browser-mocks": "link:bazel-bin/packages/core/chrome/core-chrome-browser-mocks",
|
||||
"@kbn/core-config-server-internal": "link:bazel-bin/packages/core/config/core-config-server-internal",
|
||||
"@kbn/core-config-server-mocks": "link:bazel-bin/packages/core/config/core-config-server-mocks",
|
||||
"@kbn/core-deprecations-browser": "link:bazel-bin/packages/core/deprecations/core-deprecations-browser",
|
||||
"@kbn/core-deprecations-browser-internal": "link:bazel-bin/packages/core/deprecations/core-deprecations-browser-internal",
|
||||
"@kbn/core-deprecations-browser-mocks": "link:bazel-bin/packages/core/deprecations/core-deprecations-browser-mocks",
|
||||
"@kbn/core-deprecations-common": "link:bazel-bin/packages/core/deprecations/core-deprecations-common",
|
||||
"@kbn/core-deprecations-server": "link:bazel-bin/packages/core/deprecations/core-deprecations-server",
|
||||
"@kbn/core-deprecations-server-internal": "link:bazel-bin/packages/core/deprecations/core-deprecations-server-internal",
|
||||
"@kbn/core-deprecations-server-mocks": "link:bazel-bin/packages/core/deprecations/core-deprecations-server-mocks",
|
||||
"@kbn/core-doc-links-browser": "link:bazel-bin/packages/core/doc-links/core-doc-links-browser",
|
||||
"@kbn/core-doc-links-browser-internal": "link:bazel-bin/packages/core/doc-links/core-doc-links-browser-internal",
|
||||
"@kbn/core-doc-links-browser-mocks": "link:bazel-bin/packages/core/doc-links/core-doc-links-browser-mocks",
|
||||
"@kbn/core-doc-links-server": "link:bazel-bin/packages/core/doc-links/core-doc-links-server",
|
||||
"@kbn/core-doc-links-server-internal": "link:bazel-bin/packages/core/doc-links/core-doc-links-server-internal",
|
||||
"@kbn/core-doc-links-server-mocks": "link:bazel-bin/packages/core/doc-links/core-doc-links-server-mocks",
|
||||
"@kbn/core-elasticsearch-client-server": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-client-server",
|
||||
"@kbn/core-elasticsearch-client-server-internal": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-client-server-internal",
|
||||
"@kbn/core-elasticsearch-client-server-mocks": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-client-server-mocks",
|
||||
"@kbn/core-elasticsearch-server": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-server",
|
||||
"@kbn/core-elasticsearch-server-internal": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-server-internal",
|
||||
"@kbn/core-elasticsearch-server-mocks": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-server-mocks",
|
||||
"@kbn/core-environment-server-internal": "link:bazel-bin/packages/core/environment/core-environment-server-internal",
|
||||
"@kbn/core-environment-server-mocks": "link:bazel-bin/packages/core/environment/core-environment-server-mocks",
|
||||
"@kbn/core-execution-context-browser": "link:bazel-bin/packages/core/execution-context/core-execution-context-browser",
|
||||
"@kbn/core-execution-context-browser-internal": "link:bazel-bin/packages/core/execution-context/core-execution-context-browser-internal",
|
||||
"@kbn/core-execution-context-browser-mocks": "link:bazel-bin/packages/core/execution-context/core-execution-context-browser-mocks",
|
||||
"@kbn/core-execution-context-common": "link:bazel-bin/packages/core/execution-context/core-execution-context-common",
|
||||
"@kbn/core-execution-context-server": "link:bazel-bin/packages/core/execution-context/core-execution-context-server",
|
||||
"@kbn/core-execution-context-server-internal": "link:bazel-bin/packages/core/execution-context/core-execution-context-server-internal",
|
||||
"@kbn/core-execution-context-server-mocks": "link:bazel-bin/packages/core/execution-context/core-execution-context-server-mocks",
|
||||
"@kbn/core-fatal-errors-browser": "link:bazel-bin/packages/core/fatal-errors/core-fatal-errors-browser",
|
||||
"@kbn/core-fatal-errors-browser-internal": "link:bazel-bin/packages/core/fatal-errors/core-fatal-errors-browser-internal",
|
||||
"@kbn/core-fatal-errors-browser-mocks": "link:bazel-bin/packages/core/fatal-errors/core-fatal-errors-browser-mocks",
|
||||
"@kbn/core-http-browser": "link:bazel-bin/packages/core/http/core-http-browser",
|
||||
"@kbn/core-http-browser-internal": "link:bazel-bin/packages/core/http/core-http-browser-internal",
|
||||
"@kbn/core-http-browser-mocks": "link:bazel-bin/packages/core/http/core-http-browser-mocks",
|
||||
"@kbn/core-http-common": "link:bazel-bin/packages/core/http/core-http-common",
|
||||
"@kbn/core-http-context-server-internal": "link:bazel-bin/packages/core/http/core-http-context-server-internal",
|
||||
"@kbn/core-http-context-server-mocks": "link:bazel-bin/packages/core/http/core-http-context-server-mocks",
|
||||
"@kbn/core-http-request-handler-context-server": "link:bazel-bin/packages/core/http/core-http-request-handler-context-server",
|
||||
"@kbn/core-http-request-handler-context-server-internal": "link:bazel-bin/packages/core/http/core-http-request-handler-context-server-internal",
|
||||
"@kbn/core-http-resources-server": "link:bazel-bin/packages/core/http/core-http-resources-server",
|
||||
"@kbn/core-http-resources-server-internal": "link:bazel-bin/packages/core/http/core-http-resources-server-internal",
|
||||
"@kbn/core-http-resources-server-mocks": "link:bazel-bin/packages/core/http/core-http-resources-server-mocks",
|
||||
"@kbn/core-http-router-server-internal": "link:bazel-bin/packages/core/http/core-http-router-server-internal",
|
||||
"@kbn/core-http-router-server-mocks": "link:bazel-bin/packages/core/http/core-http-router-server-mocks",
|
||||
"@kbn/core-http-server": "link:bazel-bin/packages/core/http/core-http-server",
|
||||
"@kbn/core-http-server-internal": "link:bazel-bin/packages/core/http/core-http-server-internal",
|
||||
"@kbn/core-http-server-mocks": "link:bazel-bin/packages/core/http/core-http-server-mocks",
|
||||
"@kbn/core-i18n-browser": "link:bazel-bin/packages/core/i18n/core-i18n-browser",
|
||||
"@kbn/core-i18n-browser-internal": "link:bazel-bin/packages/core/i18n/core-i18n-browser-internal",
|
||||
"@kbn/core-i18n-browser-mocks": "link:bazel-bin/packages/core/i18n/core-i18n-browser-mocks",
|
||||
"@kbn/core-i18n-server": "link:bazel-bin/packages/core/i18n/core-i18n-server",
|
||||
"@kbn/core-i18n-server-internal": "link:bazel-bin/packages/core/i18n/core-i18n-server-internal",
|
||||
"@kbn/core-i18n-server-mocks": "link:bazel-bin/packages/core/i18n/core-i18n-server-mocks",
|
||||
"@kbn/core-injected-metadata-browser-internal": "link:bazel-bin/packages/core/injected-metadata/core-injected-metadata-browser-internal",
|
||||
"@kbn/core-injected-metadata-browser-mocks": "link:bazel-bin/packages/core/injected-metadata/core-injected-metadata-browser-mocks",
|
||||
"@kbn/core-injected-metadata-common-internal": "link:bazel-bin/packages/core/injected-metadata/core-injected-metadata-common-internal",
|
||||
"@kbn/core-integrations-browser-internal": "link:bazel-bin/packages/core/integrations/core-integrations-browser-internal",
|
||||
"@kbn/core-integrations-browser-mocks": "link:bazel-bin/packages/core/integrations/core-integrations-browser-mocks",
|
||||
"@kbn/core-lifecycle-browser": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-browser",
|
||||
"@kbn/core-lifecycle-browser-internal": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-browser-internal",
|
||||
"@kbn/core-lifecycle-browser-mocks": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-browser-mocks",
|
||||
"@kbn/core-lifecycle-server": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-server",
|
||||
"@kbn/core-lifecycle-server-internal": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-server-internal",
|
||||
"@kbn/core-lifecycle-server-mocks": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-server-mocks",
|
||||
"@kbn/core-logging-browser-internal": "link:bazel-bin/packages/core/logging/core-logging-browser-internal",
|
||||
"@kbn/core-logging-browser-mocks": "link:bazel-bin/packages/core/logging/core-logging-browser-mocks",
|
||||
"@kbn/core-logging-common-internal": "link:bazel-bin/packages/core/logging/core-logging-common-internal",
|
||||
"@kbn/core-logging-server": "link:bazel-bin/packages/core/logging/core-logging-server",
|
||||
"@kbn/core-logging-server-internal": "link:bazel-bin/packages/core/logging/core-logging-server-internal",
|
||||
"@kbn/core-logging-server-mocks": "link:bazel-bin/packages/core/logging/core-logging-server-mocks",
|
||||
"@kbn/core-metrics-collectors-server-internal": "link:bazel-bin/packages/core/metrics/core-metrics-collectors-server-internal",
|
||||
"@kbn/core-metrics-collectors-server-mocks": "link:bazel-bin/packages/core/metrics/core-metrics-collectors-server-mocks",
|
||||
"@kbn/core-metrics-server": "link:bazel-bin/packages/core/metrics/core-metrics-server",
|
||||
"@kbn/core-metrics-server-internal": "link:bazel-bin/packages/core/metrics/core-metrics-server-internal",
|
||||
"@kbn/core-metrics-server-mocks": "link:bazel-bin/packages/core/metrics/core-metrics-server-mocks",
|
||||
"@kbn/core-mount-utils-browser": "link:bazel-bin/packages/core/mount-utils/core-mount-utils-browser",
|
||||
"@kbn/core-mount-utils-browser-internal": "link:bazel-bin/packages/core/mount-utils/core-mount-utils-browser-internal",
|
||||
"@kbn/core-node-server": "link:bazel-bin/packages/core/node/core-node-server",
|
||||
"@kbn/core-node-server-internal": "link:bazel-bin/packages/core/node/core-node-server-internal",
|
||||
"@kbn/core-node-server-mocks": "link:bazel-bin/packages/core/node/core-node-server-mocks",
|
||||
"@kbn/core-notifications-browser": "link:bazel-bin/packages/core/notifications/core-notifications-browser",
|
||||
"@kbn/core-notifications-browser-internal": "link:bazel-bin/packages/core/notifications/core-notifications-browser-internal",
|
||||
"@kbn/core-notifications-browser-mocks": "link:bazel-bin/packages/core/notifications/core-notifications-browser-mocks",
|
||||
"@kbn/core-overlays-browser": "link:bazel-bin/packages/core/overlays/core-overlays-browser",
|
||||
"@kbn/core-overlays-browser-internal": "link:bazel-bin/packages/core/overlays/core-overlays-browser-internal",
|
||||
"@kbn/core-overlays-browser-mocks": "link:bazel-bin/packages/core/overlays/core-overlays-browser-mocks",
|
||||
"@kbn/core-plugins-base-server-internal": "link:bazel-bin/packages/core/plugins/core-plugins-base-server-internal",
|
||||
"@kbn/core-plugins-browser": "link:bazel-bin/packages/core/plugins/core-plugins-browser",
|
||||
"@kbn/core-plugins-browser-internal": "link:bazel-bin/packages/core/plugins/core-plugins-browser-internal",
|
||||
"@kbn/core-plugins-browser-mocks": "link:bazel-bin/packages/core/plugins/core-plugins-browser-mocks",
|
||||
"@kbn/core-plugins-server": "link:bazel-bin/packages/core/plugins/core-plugins-server",
|
||||
"@kbn/core-plugins-server-internal": "link:bazel-bin/packages/core/plugins/core-plugins-server-internal",
|
||||
"@kbn/core-plugins-server-mocks": "link:bazel-bin/packages/core/plugins/core-plugins-server-mocks",
|
||||
"@kbn/core-preboot-server": "link:bazel-bin/packages/core/preboot/core-preboot-server",
|
||||
"@kbn/core-preboot-server-internal": "link:bazel-bin/packages/core/preboot/core-preboot-server-internal",
|
||||
"@kbn/core-preboot-server-mocks": "link:bazel-bin/packages/core/preboot/core-preboot-server-mocks",
|
||||
"@kbn/core-rendering-browser-internal": "link:bazel-bin/packages/core/rendering/core-rendering-browser-internal",
|
||||
"@kbn/core-rendering-browser-mocks": "link:bazel-bin/packages/core/rendering/core-rendering-browser-mocks",
|
||||
"@kbn/core-rendering-server-internal": "link:bazel-bin/packages/core/rendering/core-rendering-server-internal",
|
||||
"@kbn/core-rendering-server-mocks": "link:bazel-bin/packages/core/rendering/core-rendering-server-mocks",
|
||||
"@kbn/core-root-browser-internal": "link:bazel-bin/packages/core/root/core-root-browser-internal",
|
||||
"@kbn/core-root-server-internal": "link:bazel-bin/packages/core/root/core-root-server-internal",
|
||||
"@kbn/core-saved-objects-api-browser": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-browser",
|
||||
"@kbn/core-saved-objects-api-server": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-server",
|
||||
"@kbn/core-saved-objects-api-server-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-server-internal",
|
||||
"@kbn/core-saved-objects-api-server-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-server-mocks",
|
||||
"@kbn/core-saved-objects-base-server-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-base-server-internal",
|
||||
"@kbn/core-saved-objects-base-server-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-base-server-mocks",
|
||||
"@kbn/core-saved-objects-browser": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-browser",
|
||||
"@kbn/core-saved-objects-browser-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-browser-internal",
|
||||
"@kbn/core-saved-objects-browser-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-browser-mocks",
|
||||
"@kbn/core-saved-objects-common": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-common",
|
||||
"@kbn/core-saved-objects-import-export-server-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-import-export-server-internal",
|
||||
"@kbn/core-saved-objects-import-export-server-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-import-export-server-mocks",
|
||||
"@kbn/core-saved-objects-migration-server-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-migration-server-internal",
|
||||
"@kbn/core-saved-objects-migration-server-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-migration-server-mocks",
|
||||
"@kbn/core-saved-objects-server": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-server",
|
||||
"@kbn/core-saved-objects-server-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-server-internal",
|
||||
"@kbn/core-saved-objects-server-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-server-mocks",
|
||||
"@kbn/core-saved-objects-utils-server": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-utils-server",
|
||||
"@kbn/core-status-common": "link:bazel-bin/packages/core/status/core-status-common",
|
||||
"@kbn/core-status-common-internal": "link:bazel-bin/packages/core/status/core-status-common-internal",
|
||||
"@kbn/core-status-server": "link:bazel-bin/packages/core/status/core-status-server",
|
||||
"@kbn/core-status-server-internal": "link:bazel-bin/packages/core/status/core-status-server-internal",
|
||||
"@kbn/core-status-server-mocks": "link:bazel-bin/packages/core/status/core-status-server-mocks",
|
||||
"@kbn/core-test-helpers-deprecations-getters": "link:bazel-bin/packages/core/test-helpers/core-test-helpers-deprecations-getters",
|
||||
"@kbn/core-test-helpers-http-setup-browser": "link:bazel-bin/packages/core/test-helpers/core-test-helpers-http-setup-browser",
|
||||
"@kbn/core-test-helpers-so-type-serializer": "link:bazel-bin/packages/core/test-helpers/core-test-helpers-so-type-serializer",
|
||||
"@kbn/core-test-helpers-test-utils": "link:bazel-bin/packages/core/test-helpers/core-test-helpers-test-utils",
|
||||
"@kbn/core-theme-browser": "link:bazel-bin/packages/core/theme/core-theme-browser",
|
||||
"@kbn/core-theme-browser-internal": "link:bazel-bin/packages/core/theme/core-theme-browser-internal",
|
||||
"@kbn/core-theme-browser-mocks": "link:bazel-bin/packages/core/theme/core-theme-browser-mocks",
|
||||
"@kbn/core-ui-settings-browser": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-browser",
|
||||
"@kbn/core-ui-settings-browser-internal": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-browser-internal",
|
||||
"@kbn/core-ui-settings-browser-mocks": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-browser-mocks",
|
||||
"@kbn/core-ui-settings-common": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-common",
|
||||
"@kbn/core-ui-settings-server": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-server",
|
||||
"@kbn/core-ui-settings-server-internal": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-server-internal",
|
||||
"@kbn/core-ui-settings-server-mocks": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-server-mocks",
|
||||
"@kbn/core-usage-data-base-server-internal": "link:bazel-bin/packages/core/usage-data/core-usage-data-base-server-internal",
|
||||
"@kbn/core-usage-data-server": "link:bazel-bin/packages/core/usage-data/core-usage-data-server",
|
||||
"@kbn/core-usage-data-server-internal": "link:bazel-bin/packages/core/usage-data/core-usage-data-server-internal",
|
||||
"@kbn/core-usage-data-server-mocks": "link:bazel-bin/packages/core/usage-data/core-usage-data-server-mocks",
|
||||
"@kbn/crypto": "link:bazel-bin/packages/kbn-crypto",
|
||||
"@kbn/crypto-browser": "link:bazel-bin/packages/kbn-crypto-browser",
|
||||
"@kbn/datemath": "link:bazel-bin/packages/kbn-datemath",
|
||||
"@kbn/doc-links": "link:bazel-bin/packages/kbn-doc-links",
|
||||
"@kbn/ebt-tools": "link:bazel-bin/packages/kbn-ebt-tools",
|
||||
"@kbn/ecs": "link:bazel-bin/packages/kbn-ecs",
|
||||
"@kbn/es-errors": "link:bazel-bin/packages/kbn-es-errors",
|
||||
"@kbn/es-query": "link:bazel-bin/packages/kbn-es-query",
|
||||
"@kbn/es-types": "link:bazel-bin/packages/kbn-es-types",
|
||||
"@kbn/field-types": "link:bazel-bin/packages/kbn-field-types",
|
||||
"@kbn/flot-charts": "link:bazel-bin/packages/kbn-flot-charts",
|
||||
"@kbn/guided-onboarding": "link:bazel-bin/packages/kbn-guided-onboarding",
|
||||
"@kbn/handlebars": "link:bazel-bin/packages/kbn-handlebars",
|
||||
"@kbn/hapi-mocks": "link:bazel-bin/packages/kbn-hapi-mocks",
|
||||
"@kbn/health-gateway-server": "link:bazel-bin/packages/kbn-health-gateway-server",
|
||||
"@kbn/home-sample-data-card": "link:bazel-bin/packages/home/sample_data_card",
|
||||
"@kbn/home-sample-data-tab": "link:bazel-bin/packages/home/sample_data_tab",
|
||||
"@kbn/home-sample-data-types": "link:bazel-bin/packages/home/sample_data_types",
|
||||
"@kbn/i18n": "link:bazel-bin/packages/kbn-i18n",
|
||||
"@kbn/i18n-react": "link:bazel-bin/packages/kbn-i18n-react",
|
||||
"@kbn/interpreter": "link:bazel-bin/packages/kbn-interpreter",
|
||||
"@kbn/io-ts-utils": "link:bazel-bin/packages/kbn-io-ts-utils",
|
||||
"@kbn/language-documentation-popover": "link:bazel-bin/packages/kbn-language-documentation-popover",
|
||||
"@kbn/logging": "link:bazel-bin/packages/kbn-logging",
|
||||
"@kbn/logging-mocks": "link:bazel-bin/packages/kbn-logging-mocks",
|
||||
"@kbn/mapbox-gl": "link:bazel-bin/packages/kbn-mapbox-gl",
|
||||
"@kbn/ml-agg-utils": "link:bazel-bin/x-pack/packages/ml/agg_utils",
|
||||
"@kbn/ml-is-populated-object": "link:bazel-bin/x-pack/packages/ml/is_populated_object",
|
||||
"@kbn/ml-string-hash": "link:bazel-bin/x-pack/packages/ml/string_hash",
|
||||
"@kbn/monaco": "link:bazel-bin/packages/kbn-monaco",
|
||||
"@kbn/osquery-io-ts-types": "link:bazel-bin/packages/kbn-osquery-io-ts-types",
|
||||
"@kbn/plugin-discovery": "link:bazel-bin/packages/kbn-plugin-discovery",
|
||||
"@kbn/react-field": "link:bazel-bin/packages/kbn-react-field",
|
||||
"@kbn/rison": "link:bazel-bin/packages/kbn-rison",
|
||||
"@kbn/rule-data-utils": "link:bazel-bin/packages/kbn-rule-data-utils",
|
||||
"@kbn/safer-lodash-set": "link:bazel-bin/packages/kbn-safer-lodash-set",
|
||||
"@kbn/securitysolution-autocomplete": "link:bazel-bin/packages/kbn-securitysolution-autocomplete",
|
||||
"@kbn/securitysolution-es-utils": "link:bazel-bin/packages/kbn-securitysolution-es-utils",
|
||||
"@kbn/securitysolution-exception-list-components": "link:bazel-bin/packages/kbn-securitysolution-exception-list-components",
|
||||
"@kbn/securitysolution-hook-utils": "link:bazel-bin/packages/kbn-securitysolution-hook-utils",
|
||||
"@kbn/securitysolution-io-ts-alerting-types": "link:bazel-bin/packages/kbn-securitysolution-io-ts-alerting-types",
|
||||
"@kbn/securitysolution-io-ts-list-types": "link:bazel-bin/packages/kbn-securitysolution-io-ts-list-types",
|
||||
"@kbn/securitysolution-io-ts-types": "link:bazel-bin/packages/kbn-securitysolution-io-ts-types",
|
||||
"@kbn/securitysolution-io-ts-utils": "link:bazel-bin/packages/kbn-securitysolution-io-ts-utils",
|
||||
"@kbn/securitysolution-list-api": "link:bazel-bin/packages/kbn-securitysolution-list-api",
|
||||
"@kbn/securitysolution-list-constants": "link:bazel-bin/packages/kbn-securitysolution-list-constants",
|
||||
"@kbn/securitysolution-list-hooks": "link:bazel-bin/packages/kbn-securitysolution-list-hooks",
|
||||
"@kbn/securitysolution-list-utils": "link:bazel-bin/packages/kbn-securitysolution-list-utils",
|
||||
"@kbn/securitysolution-rules": "link:bazel-bin/packages/kbn-securitysolution-rules",
|
||||
"@kbn/securitysolution-t-grid": "link:bazel-bin/packages/kbn-securitysolution-t-grid",
|
||||
"@kbn/securitysolution-utils": "link:bazel-bin/packages/kbn-securitysolution-utils",
|
||||
"@kbn/server-http-tools": "link:bazel-bin/packages/kbn-server-http-tools",
|
||||
"@kbn/server-route-repository": "link:bazel-bin/packages/kbn-server-route-repository",
|
||||
"@kbn/shared-svg": "link:bazel-bin/packages/kbn-shared-svg",
|
||||
"@kbn/shared-ux-avatar-solution": "link:bazel-bin/packages/shared-ux/avatar/solution",
|
||||
"@kbn/shared-ux-avatar-user-profile-components": "link:bazel-bin/packages/shared-ux/avatar/user_profile/impl",
|
||||
"@kbn/shared-ux-button-exit-full-screen": "link:bazel-bin/packages/shared-ux/button/exit_full_screen/impl",
|
||||
"@kbn/shared-ux-button-exit-full-screen-mocks": "link:bazel-bin/packages/shared-ux/button/exit_full_screen/mocks",
|
||||
"@kbn/shared-ux-button-exit-full-screen-types": "link:bazel-bin/packages/shared-ux/button/exit_full_screen/types",
|
||||
"@kbn/shared-ux-button-toolbar": "link:bazel-bin/packages/shared-ux/button_toolbar",
|
||||
"@kbn/shared-ux-card-no-data": "link:bazel-bin/packages/shared-ux/card/no_data/impl",
|
||||
"@kbn/shared-ux-card-no-data-mocks": "link:bazel-bin/packages/shared-ux/card/no_data/mocks",
|
||||
"@kbn/shared-ux-card-no-data-types": "link:bazel-bin/packages/shared-ux/card/no_data/types",
|
||||
"@kbn/shared-ux-file-context": "link:bazel-bin/packages/shared-ux/file/context",
|
||||
"@kbn/shared-ux-file-image": "link:bazel-bin/packages/shared-ux/file/image/impl",
|
||||
"@kbn/shared-ux-file-image-mocks": "link:bazel-bin/packages/shared-ux/file/image/mocks",
|
||||
"@kbn/shared-ux-file-mocks": "link:bazel-bin/packages/shared-ux/file/mocks",
|
||||
"@kbn/shared-ux-file-picker": "link:bazel-bin/packages/shared-ux/file/file_picker/impl",
|
||||
"@kbn/shared-ux-file-types": "link:bazel-bin/packages/shared-ux/file/types",
|
||||
"@kbn/shared-ux-file-upload": "link:bazel-bin/packages/shared-ux/file/file_upload/impl",
|
||||
"@kbn/shared-ux-file-util": "link:bazel-bin/packages/shared-ux/file/util",
|
||||
"@kbn/shared-ux-link-redirect-app": "link:bazel-bin/packages/shared-ux/link/redirect_app/impl",
|
||||
"@kbn/shared-ux-link-redirect-app-mocks": "link:bazel-bin/packages/shared-ux/link/redirect_app/mocks",
|
||||
"@kbn/shared-ux-link-redirect-app-types": "link:bazel-bin/packages/shared-ux/link/redirect_app/types",
|
||||
"@kbn/shared-ux-markdown": "link:bazel-bin/packages/shared-ux/markdown/impl",
|
||||
"@kbn/shared-ux-markdown-mocks": "link:bazel-bin/packages/shared-ux/markdown/mocks",
|
||||
"@kbn/shared-ux-markdown-types": "link:bazel-bin/packages/shared-ux/markdown/types",
|
||||
"@kbn/shared-ux-page-analytics-no-data": "link:bazel-bin/packages/shared-ux/page/analytics_no_data/impl",
|
||||
"@kbn/shared-ux-page-analytics-no-data-mocks": "link:bazel-bin/packages/shared-ux/page/analytics_no_data/mocks",
|
||||
"@kbn/shared-ux-page-analytics-no-data-types": "link:bazel-bin/packages/shared-ux/page/analytics_no_data/types",
|
||||
"@kbn/shared-ux-page-kibana-no-data": "link:bazel-bin/packages/shared-ux/page/kibana_no_data/impl",
|
||||
"@kbn/shared-ux-page-kibana-no-data-mocks": "link:bazel-bin/packages/shared-ux/page/kibana_no_data/mocks",
|
||||
"@kbn/shared-ux-page-kibana-no-data-types": "link:bazel-bin/packages/shared-ux/page/kibana_no_data/types",
|
||||
"@kbn/shared-ux-page-kibana-template": "link:bazel-bin/packages/shared-ux/page/kibana_template/impl",
|
||||
"@kbn/shared-ux-page-kibana-template-mocks": "link:bazel-bin/packages/shared-ux/page/kibana_template/mocks",
|
||||
"@kbn/shared-ux-page-kibana-template-types": "link:bazel-bin/packages/shared-ux/page/kibana_template/types",
|
||||
"@kbn/shared-ux-page-no-data": "link:bazel-bin/packages/shared-ux/page/no_data/impl",
|
||||
"@kbn/shared-ux-page-no-data-config": "link:bazel-bin/packages/shared-ux/page/no_data_config/impl",
|
||||
"@kbn/shared-ux-page-no-data-config-mocks": "link:bazel-bin/packages/shared-ux/page/no_data_config/mocks",
|
||||
"@kbn/shared-ux-page-no-data-config-types": "link:bazel-bin/packages/shared-ux/page/no_data_config/types",
|
||||
"@kbn/shared-ux-page-no-data-mocks": "link:bazel-bin/packages/shared-ux/page/no_data/mocks",
|
||||
"@kbn/shared-ux-page-no-data-types": "link:bazel-bin/packages/shared-ux/page/no_data/types",
|
||||
"@kbn/shared-ux-page-solution-nav": "link:bazel-bin/packages/shared-ux/page/solution_nav",
|
||||
"@kbn/shared-ux-prompt-no-data-views": "link:bazel-bin/packages/shared-ux/prompt/no_data_views/impl",
|
||||
"@kbn/shared-ux-prompt-no-data-views-mocks": "link:bazel-bin/packages/shared-ux/prompt/no_data_views/mocks",
|
||||
"@kbn/shared-ux-prompt-no-data-views-types": "link:bazel-bin/packages/shared-ux/prompt/no_data_views/types",
|
||||
"@kbn/shared-ux-prompt-not-found": "link:bazel-bin/packages/shared-ux/prompt/not_found",
|
||||
"@kbn/shared-ux-router-mocks": "link:bazel-bin/packages/shared-ux/router/mocks",
|
||||
"@kbn/shared-ux-services": "link:bazel-bin/packages/kbn-shared-ux-services",
|
||||
"@kbn/shared-ux-storybook": "link:bazel-bin/packages/kbn-shared-ux-storybook",
|
||||
"@kbn/shared-ux-storybook-mock": "link:bazel-bin/packages/shared-ux/storybook/mock",
|
||||
"@kbn/shared-ux-utility": "link:bazel-bin/packages/kbn-shared-ux-utility",
|
||||
"@kbn/std": "link:bazel-bin/packages/kbn-std",
|
||||
"@kbn/timelion-grammar": "link:bazel-bin/packages/kbn-timelion-grammar",
|
||||
"@kbn/tinymath": "link:bazel-bin/packages/kbn-tinymath",
|
||||
"@kbn/typed-react-router-config": "link:bazel-bin/packages/kbn-typed-react-router-config",
|
||||
"@kbn/ui-framework": "link:bazel-bin/packages/kbn-ui-framework",
|
||||
"@kbn/ui-shared-deps-npm": "link:bazel-bin/packages/kbn-ui-shared-deps-npm",
|
||||
"@kbn/ui-shared-deps-src": "link:bazel-bin/packages/kbn-ui-shared-deps-src",
|
||||
"@kbn/ui-theme": "link:bazel-bin/packages/kbn-ui-theme",
|
||||
"@kbn/user-profile-components": "link:bazel-bin/packages/kbn-user-profile-components",
|
||||
"@kbn/utility-types": "link:bazel-bin/packages/kbn-utility-types",
|
||||
"@kbn/utility-types-jest": "link:bazel-bin/packages/kbn-utility-types-jest",
|
||||
"@kbn/utils": "link:bazel-bin/packages/kbn-utils",
|
||||
"@kbn/core-analytics-browser": "link:packages/core/analytics/core-analytics-browser",
|
||||
"@kbn/core-analytics-browser-internal": "link:packages/core/analytics/core-analytics-browser-internal",
|
||||
"@kbn/core-analytics-browser-mocks": "link:packages/core/analytics/core-analytics-browser-mocks",
|
||||
"@kbn/core-analytics-server": "link:packages/core/analytics/core-analytics-server",
|
||||
"@kbn/core-analytics-server-internal": "link:packages/core/analytics/core-analytics-server-internal",
|
||||
"@kbn/core-analytics-server-mocks": "link:packages/core/analytics/core-analytics-server-mocks",
|
||||
"@kbn/core-application-browser": "link:packages/core/application/core-application-browser",
|
||||
"@kbn/core-application-browser-internal": "link:packages/core/application/core-application-browser-internal",
|
||||
"@kbn/core-application-browser-mocks": "link:packages/core/application/core-application-browser-mocks",
|
||||
"@kbn/core-application-common": "link:packages/core/application/core-application-common",
|
||||
"@kbn/core-apps-browser-internal": "link:packages/core/apps/core-apps-browser-internal",
|
||||
"@kbn/core-apps-browser-mocks": "link:packages/core/apps/core-apps-browser-mocks",
|
||||
"@kbn/core-apps-server-internal": "link:packages/core/apps/core-apps-server-internal",
|
||||
"@kbn/core-base-browser-internal": "link:packages/core/base/core-base-browser-internal",
|
||||
"@kbn/core-base-browser-mocks": "link:packages/core/base/core-base-browser-mocks",
|
||||
"@kbn/core-base-common": "link:packages/core/base/core-base-common",
|
||||
"@kbn/core-base-common-internal": "link:packages/core/base/core-base-common-internal",
|
||||
"@kbn/core-base-server-internal": "link:packages/core/base/core-base-server-internal",
|
||||
"@kbn/core-base-server-mocks": "link:packages/core/base/core-base-server-mocks",
|
||||
"@kbn/core-capabilities-browser-internal": "link:packages/core/capabilities/core-capabilities-browser-internal",
|
||||
"@kbn/core-capabilities-browser-mocks": "link:packages/core/capabilities/core-capabilities-browser-mocks",
|
||||
"@kbn/core-capabilities-common": "link:packages/core/capabilities/core-capabilities-common",
|
||||
"@kbn/core-capabilities-server": "link:packages/core/capabilities/core-capabilities-server",
|
||||
"@kbn/core-capabilities-server-internal": "link:packages/core/capabilities/core-capabilities-server-internal",
|
||||
"@kbn/core-capabilities-server-mocks": "link:packages/core/capabilities/core-capabilities-server-mocks",
|
||||
"@kbn/core-chrome-browser": "link:packages/core/chrome/core-chrome-browser",
|
||||
"@kbn/core-chrome-browser-internal": "link:packages/core/chrome/core-chrome-browser-internal",
|
||||
"@kbn/core-chrome-browser-mocks": "link:packages/core/chrome/core-chrome-browser-mocks",
|
||||
"@kbn/core-config-server-internal": "link:packages/core/config/core-config-server-internal",
|
||||
"@kbn/core-config-server-mocks": "link:packages/core/config/core-config-server-mocks",
|
||||
"@kbn/core-deprecations-browser": "link:packages/core/deprecations/core-deprecations-browser",
|
||||
"@kbn/core-deprecations-browser-internal": "link:packages/core/deprecations/core-deprecations-browser-internal",
|
||||
"@kbn/core-deprecations-browser-mocks": "link:packages/core/deprecations/core-deprecations-browser-mocks",
|
||||
"@kbn/core-deprecations-common": "link:packages/core/deprecations/core-deprecations-common",
|
||||
"@kbn/core-deprecations-server": "link:packages/core/deprecations/core-deprecations-server",
|
||||
"@kbn/core-deprecations-server-internal": "link:packages/core/deprecations/core-deprecations-server-internal",
|
||||
"@kbn/core-deprecations-server-mocks": "link:packages/core/deprecations/core-deprecations-server-mocks",
|
||||
"@kbn/core-doc-links-browser": "link:packages/core/doc-links/core-doc-links-browser",
|
||||
"@kbn/core-doc-links-browser-internal": "link:packages/core/doc-links/core-doc-links-browser-internal",
|
||||
"@kbn/core-doc-links-browser-mocks": "link:packages/core/doc-links/core-doc-links-browser-mocks",
|
||||
"@kbn/core-doc-links-server": "link:packages/core/doc-links/core-doc-links-server",
|
||||
"@kbn/core-doc-links-server-internal": "link:packages/core/doc-links/core-doc-links-server-internal",
|
||||
"@kbn/core-doc-links-server-mocks": "link:packages/core/doc-links/core-doc-links-server-mocks",
|
||||
"@kbn/core-elasticsearch-client-server": "link:packages/core/elasticsearch/core-elasticsearch-client-server",
|
||||
"@kbn/core-elasticsearch-client-server-internal": "link:packages/core/elasticsearch/core-elasticsearch-client-server-internal",
|
||||
"@kbn/core-elasticsearch-client-server-mocks": "link:packages/core/elasticsearch/core-elasticsearch-client-server-mocks",
|
||||
"@kbn/core-elasticsearch-server": "link:packages/core/elasticsearch/core-elasticsearch-server",
|
||||
"@kbn/core-elasticsearch-server-internal": "link:packages/core/elasticsearch/core-elasticsearch-server-internal",
|
||||
"@kbn/core-elasticsearch-server-mocks": "link:packages/core/elasticsearch/core-elasticsearch-server-mocks",
|
||||
"@kbn/core-environment-server-internal": "link:packages/core/environment/core-environment-server-internal",
|
||||
"@kbn/core-environment-server-mocks": "link:packages/core/environment/core-environment-server-mocks",
|
||||
"@kbn/core-execution-context-browser": "link:packages/core/execution-context/core-execution-context-browser",
|
||||
"@kbn/core-execution-context-browser-internal": "link:packages/core/execution-context/core-execution-context-browser-internal",
|
||||
"@kbn/core-execution-context-browser-mocks": "link:packages/core/execution-context/core-execution-context-browser-mocks",
|
||||
"@kbn/core-execution-context-common": "link:packages/core/execution-context/core-execution-context-common",
|
||||
"@kbn/core-execution-context-server": "link:packages/core/execution-context/core-execution-context-server",
|
||||
"@kbn/core-execution-context-server-internal": "link:packages/core/execution-context/core-execution-context-server-internal",
|
||||
"@kbn/core-execution-context-server-mocks": "link:packages/core/execution-context/core-execution-context-server-mocks",
|
||||
"@kbn/core-fatal-errors-browser": "link:packages/core/fatal-errors/core-fatal-errors-browser",
|
||||
"@kbn/core-fatal-errors-browser-internal": "link:packages/core/fatal-errors/core-fatal-errors-browser-internal",
|
||||
"@kbn/core-fatal-errors-browser-mocks": "link:packages/core/fatal-errors/core-fatal-errors-browser-mocks",
|
||||
"@kbn/core-http-browser": "link:packages/core/http/core-http-browser",
|
||||
"@kbn/core-http-browser-internal": "link:packages/core/http/core-http-browser-internal",
|
||||
"@kbn/core-http-browser-mocks": "link:packages/core/http/core-http-browser-mocks",
|
||||
"@kbn/core-http-common": "link:packages/core/http/core-http-common",
|
||||
"@kbn/core-http-context-server-internal": "link:packages/core/http/core-http-context-server-internal",
|
||||
"@kbn/core-http-context-server-mocks": "link:packages/core/http/core-http-context-server-mocks",
|
||||
"@kbn/core-http-request-handler-context-server": "link:packages/core/http/core-http-request-handler-context-server",
|
||||
"@kbn/core-http-request-handler-context-server-internal": "link:packages/core/http/core-http-request-handler-context-server-internal",
|
||||
"@kbn/core-http-resources-server": "link:packages/core/http/core-http-resources-server",
|
||||
"@kbn/core-http-resources-server-internal": "link:packages/core/http/core-http-resources-server-internal",
|
||||
"@kbn/core-http-resources-server-mocks": "link:packages/core/http/core-http-resources-server-mocks",
|
||||
"@kbn/core-http-router-server-internal": "link:packages/core/http/core-http-router-server-internal",
|
||||
"@kbn/core-http-router-server-mocks": "link:packages/core/http/core-http-router-server-mocks",
|
||||
"@kbn/core-http-server": "link:packages/core/http/core-http-server",
|
||||
"@kbn/core-http-server-internal": "link:packages/core/http/core-http-server-internal",
|
||||
"@kbn/core-http-server-mocks": "link:packages/core/http/core-http-server-mocks",
|
||||
"@kbn/core-i18n-browser": "link:packages/core/i18n/core-i18n-browser",
|
||||
"@kbn/core-i18n-browser-internal": "link:packages/core/i18n/core-i18n-browser-internal",
|
||||
"@kbn/core-i18n-browser-mocks": "link:packages/core/i18n/core-i18n-browser-mocks",
|
||||
"@kbn/core-i18n-server": "link:packages/core/i18n/core-i18n-server",
|
||||
"@kbn/core-i18n-server-internal": "link:packages/core/i18n/core-i18n-server-internal",
|
||||
"@kbn/core-i18n-server-mocks": "link:packages/core/i18n/core-i18n-server-mocks",
|
||||
"@kbn/core-injected-metadata-browser-internal": "link:packages/core/injected-metadata/core-injected-metadata-browser-internal",
|
||||
"@kbn/core-injected-metadata-browser-mocks": "link:packages/core/injected-metadata/core-injected-metadata-browser-mocks",
|
||||
"@kbn/core-injected-metadata-common-internal": "link:packages/core/injected-metadata/core-injected-metadata-common-internal",
|
||||
"@kbn/core-integrations-browser-internal": "link:packages/core/integrations/core-integrations-browser-internal",
|
||||
"@kbn/core-integrations-browser-mocks": "link:packages/core/integrations/core-integrations-browser-mocks",
|
||||
"@kbn/core-lifecycle-browser": "link:packages/core/lifecycle/core-lifecycle-browser",
|
||||
"@kbn/core-lifecycle-browser-internal": "link:packages/core/lifecycle/core-lifecycle-browser-internal",
|
||||
"@kbn/core-lifecycle-browser-mocks": "link:packages/core/lifecycle/core-lifecycle-browser-mocks",
|
||||
"@kbn/core-lifecycle-server": "link:packages/core/lifecycle/core-lifecycle-server",
|
||||
"@kbn/core-lifecycle-server-internal": "link:packages/core/lifecycle/core-lifecycle-server-internal",
|
||||
"@kbn/core-lifecycle-server-mocks": "link:packages/core/lifecycle/core-lifecycle-server-mocks",
|
||||
"@kbn/core-logging-browser-internal": "link:packages/core/logging/core-logging-browser-internal",
|
||||
"@kbn/core-logging-browser-mocks": "link:packages/core/logging/core-logging-browser-mocks",
|
||||
"@kbn/core-logging-common-internal": "link:packages/core/logging/core-logging-common-internal",
|
||||
"@kbn/core-logging-server": "link:packages/core/logging/core-logging-server",
|
||||
"@kbn/core-logging-server-internal": "link:packages/core/logging/core-logging-server-internal",
|
||||
"@kbn/core-logging-server-mocks": "link:packages/core/logging/core-logging-server-mocks",
|
||||
"@kbn/core-metrics-collectors-server-internal": "link:packages/core/metrics/core-metrics-collectors-server-internal",
|
||||
"@kbn/core-metrics-collectors-server-mocks": "link:packages/core/metrics/core-metrics-collectors-server-mocks",
|
||||
"@kbn/core-metrics-server": "link:packages/core/metrics/core-metrics-server",
|
||||
"@kbn/core-metrics-server-internal": "link:packages/core/metrics/core-metrics-server-internal",
|
||||
"@kbn/core-metrics-server-mocks": "link:packages/core/metrics/core-metrics-server-mocks",
|
||||
"@kbn/core-mount-utils-browser": "link:packages/core/mount-utils/core-mount-utils-browser",
|
||||
"@kbn/core-mount-utils-browser-internal": "link:packages/core/mount-utils/core-mount-utils-browser-internal",
|
||||
"@kbn/core-node-server": "link:packages/core/node/core-node-server",
|
||||
"@kbn/core-node-server-internal": "link:packages/core/node/core-node-server-internal",
|
||||
"@kbn/core-node-server-mocks": "link:packages/core/node/core-node-server-mocks",
|
||||
"@kbn/core-notifications-browser": "link:packages/core/notifications/core-notifications-browser",
|
||||
"@kbn/core-notifications-browser-internal": "link:packages/core/notifications/core-notifications-browser-internal",
|
||||
"@kbn/core-notifications-browser-mocks": "link:packages/core/notifications/core-notifications-browser-mocks",
|
||||
"@kbn/core-overlays-browser": "link:packages/core/overlays/core-overlays-browser",
|
||||
"@kbn/core-overlays-browser-internal": "link:packages/core/overlays/core-overlays-browser-internal",
|
||||
"@kbn/core-overlays-browser-mocks": "link:packages/core/overlays/core-overlays-browser-mocks",
|
||||
"@kbn/core-plugins-base-server-internal": "link:packages/core/plugins/core-plugins-base-server-internal",
|
||||
"@kbn/core-plugins-browser": "link:packages/core/plugins/core-plugins-browser",
|
||||
"@kbn/core-plugins-browser-internal": "link:packages/core/plugins/core-plugins-browser-internal",
|
||||
"@kbn/core-plugins-browser-mocks": "link:packages/core/plugins/core-plugins-browser-mocks",
|
||||
"@kbn/core-plugins-server": "link:packages/core/plugins/core-plugins-server",
|
||||
"@kbn/core-plugins-server-internal": "link:packages/core/plugins/core-plugins-server-internal",
|
||||
"@kbn/core-plugins-server-mocks": "link:packages/core/plugins/core-plugins-server-mocks",
|
||||
"@kbn/core-preboot-server": "link:packages/core/preboot/core-preboot-server",
|
||||
"@kbn/core-preboot-server-internal": "link:packages/core/preboot/core-preboot-server-internal",
|
||||
"@kbn/core-preboot-server-mocks": "link:packages/core/preboot/core-preboot-server-mocks",
|
||||
"@kbn/core-rendering-browser-internal": "link:packages/core/rendering/core-rendering-browser-internal",
|
||||
"@kbn/core-rendering-browser-mocks": "link:packages/core/rendering/core-rendering-browser-mocks",
|
||||
"@kbn/core-rendering-server-internal": "link:packages/core/rendering/core-rendering-server-internal",
|
||||
"@kbn/core-rendering-server-mocks": "link:packages/core/rendering/core-rendering-server-mocks",
|
||||
"@kbn/core-root-browser-internal": "link:packages/core/root/core-root-browser-internal",
|
||||
"@kbn/core-root-server-internal": "link:packages/core/root/core-root-server-internal",
|
||||
"@kbn/core-saved-objects-api-browser": "link:packages/core/saved-objects/core-saved-objects-api-browser",
|
||||
"@kbn/core-saved-objects-api-server": "link:packages/core/saved-objects/core-saved-objects-api-server",
|
||||
"@kbn/core-saved-objects-api-server-internal": "link:packages/core/saved-objects/core-saved-objects-api-server-internal",
|
||||
"@kbn/core-saved-objects-api-server-mocks": "link:packages/core/saved-objects/core-saved-objects-api-server-mocks",
|
||||
"@kbn/core-saved-objects-base-server-internal": "link:packages/core/saved-objects/core-saved-objects-base-server-internal",
|
||||
"@kbn/core-saved-objects-base-server-mocks": "link:packages/core/saved-objects/core-saved-objects-base-server-mocks",
|
||||
"@kbn/core-saved-objects-browser": "link:packages/core/saved-objects/core-saved-objects-browser",
|
||||
"@kbn/core-saved-objects-browser-internal": "link:packages/core/saved-objects/core-saved-objects-browser-internal",
|
||||
"@kbn/core-saved-objects-browser-mocks": "link:packages/core/saved-objects/core-saved-objects-browser-mocks",
|
||||
"@kbn/core-saved-objects-common": "link:packages/core/saved-objects/core-saved-objects-common",
|
||||
"@kbn/core-saved-objects-import-export-server-internal": "link:packages/core/saved-objects/core-saved-objects-import-export-server-internal",
|
||||
"@kbn/core-saved-objects-import-export-server-mocks": "link:packages/core/saved-objects/core-saved-objects-import-export-server-mocks",
|
||||
"@kbn/core-saved-objects-migration-server-internal": "link:packages/core/saved-objects/core-saved-objects-migration-server-internal",
|
||||
"@kbn/core-saved-objects-migration-server-mocks": "link:packages/core/saved-objects/core-saved-objects-migration-server-mocks",
|
||||
"@kbn/core-saved-objects-server": "link:packages/core/saved-objects/core-saved-objects-server",
|
||||
"@kbn/core-saved-objects-server-internal": "link:packages/core/saved-objects/core-saved-objects-server-internal",
|
||||
"@kbn/core-saved-objects-server-mocks": "link:packages/core/saved-objects/core-saved-objects-server-mocks",
|
||||
"@kbn/core-saved-objects-utils-server": "link:packages/core/saved-objects/core-saved-objects-utils-server",
|
||||
"@kbn/core-status-common": "link:packages/core/status/core-status-common",
|
||||
"@kbn/core-status-common-internal": "link:packages/core/status/core-status-common-internal",
|
||||
"@kbn/core-status-server": "link:packages/core/status/core-status-server",
|
||||
"@kbn/core-status-server-internal": "link:packages/core/status/core-status-server-internal",
|
||||
"@kbn/core-status-server-mocks": "link:packages/core/status/core-status-server-mocks",
|
||||
"@kbn/core-test-helpers-deprecations-getters": "link:packages/core/test-helpers/core-test-helpers-deprecations-getters",
|
||||
"@kbn/core-test-helpers-http-setup-browser": "link:packages/core/test-helpers/core-test-helpers-http-setup-browser",
|
||||
"@kbn/core-test-helpers-so-type-serializer": "link:packages/core/test-helpers/core-test-helpers-so-type-serializer",
|
||||
"@kbn/core-test-helpers-test-utils": "link:packages/core/test-helpers/core-test-helpers-test-utils",
|
||||
"@kbn/core-theme-browser": "link:packages/core/theme/core-theme-browser",
|
||||
"@kbn/core-theme-browser-internal": "link:packages/core/theme/core-theme-browser-internal",
|
||||
"@kbn/core-theme-browser-mocks": "link:packages/core/theme/core-theme-browser-mocks",
|
||||
"@kbn/core-ui-settings-browser": "link:packages/core/ui-settings/core-ui-settings-browser",
|
||||
"@kbn/core-ui-settings-browser-internal": "link:packages/core/ui-settings/core-ui-settings-browser-internal",
|
||||
"@kbn/core-ui-settings-browser-mocks": "link:packages/core/ui-settings/core-ui-settings-browser-mocks",
|
||||
"@kbn/core-ui-settings-common": "link:packages/core/ui-settings/core-ui-settings-common",
|
||||
"@kbn/core-ui-settings-server": "link:packages/core/ui-settings/core-ui-settings-server",
|
||||
"@kbn/core-ui-settings-server-internal": "link:packages/core/ui-settings/core-ui-settings-server-internal",
|
||||
"@kbn/core-ui-settings-server-mocks": "link:packages/core/ui-settings/core-ui-settings-server-mocks",
|
||||
"@kbn/core-usage-data-base-server-internal": "link:packages/core/usage-data/core-usage-data-base-server-internal",
|
||||
"@kbn/core-usage-data-server": "link:packages/core/usage-data/core-usage-data-server",
|
||||
"@kbn/core-usage-data-server-internal": "link:packages/core/usage-data/core-usage-data-server-internal",
|
||||
"@kbn/core-usage-data-server-mocks": "link:packages/core/usage-data/core-usage-data-server-mocks",
|
||||
"@kbn/crypto": "link:packages/kbn-crypto",
|
||||
"@kbn/crypto-browser": "link:packages/kbn-crypto-browser",
|
||||
"@kbn/datemath": "link:packages/kbn-datemath",
|
||||
"@kbn/doc-links": "link:packages/kbn-doc-links",
|
||||
"@kbn/ebt-tools": "link:packages/kbn-ebt-tools",
|
||||
"@kbn/ecs": "link:packages/kbn-ecs",
|
||||
"@kbn/es-errors": "link:packages/kbn-es-errors",
|
||||
"@kbn/es-query": "link:packages/kbn-es-query",
|
||||
"@kbn/es-types": "link:packages/kbn-es-types",
|
||||
"@kbn/field-types": "link:packages/kbn-field-types",
|
||||
"@kbn/flot-charts": "link:packages/kbn-flot-charts",
|
||||
"@kbn/guided-onboarding": "link:packages/kbn-guided-onboarding",
|
||||
"@kbn/handlebars": "link:packages/kbn-handlebars",
|
||||
"@kbn/hapi-mocks": "link:packages/kbn-hapi-mocks",
|
||||
"@kbn/health-gateway-server": "link:packages/kbn-health-gateway-server",
|
||||
"@kbn/home-sample-data-card": "link:packages/home/sample_data_card",
|
||||
"@kbn/home-sample-data-tab": "link:packages/home/sample_data_tab",
|
||||
"@kbn/home-sample-data-types": "link:packages/home/sample_data_types",
|
||||
"@kbn/i18n": "link:packages/kbn-i18n",
|
||||
"@kbn/i18n-react": "link:packages/kbn-i18n-react",
|
||||
"@kbn/interpreter": "link:packages/kbn-interpreter",
|
||||
"@kbn/io-ts-utils": "link:packages/kbn-io-ts-utils",
|
||||
"@kbn/language-documentation-popover": "link:packages/kbn-language-documentation-popover",
|
||||
"@kbn/logging": "link:packages/kbn-logging",
|
||||
"@kbn/logging-mocks": "link:packages/kbn-logging-mocks",
|
||||
"@kbn/mapbox-gl": "link:packages/kbn-mapbox-gl",
|
||||
"@kbn/ml-agg-utils": "link:x-pack/packages/ml/agg_utils",
|
||||
"@kbn/ml-is-populated-object": "link:x-pack/packages/ml/is_populated_object",
|
||||
"@kbn/ml-string-hash": "link:x-pack/packages/ml/string_hash",
|
||||
"@kbn/monaco": "link:packages/kbn-monaco",
|
||||
"@kbn/osquery-io-ts-types": "link:packages/kbn-osquery-io-ts-types",
|
||||
"@kbn/plugin-discovery": "link:packages/kbn-plugin-discovery",
|
||||
"@kbn/react-field": "link:packages/kbn-react-field",
|
||||
"@kbn/repo-info": "link:packages/kbn-repo-info",
|
||||
"@kbn/rison": "link:packages/kbn-rison",
|
||||
"@kbn/rule-data-utils": "link:packages/kbn-rule-data-utils",
|
||||
"@kbn/safer-lodash-set": "link:packages/kbn-safer-lodash-set",
|
||||
"@kbn/securitysolution-autocomplete": "link:packages/kbn-securitysolution-autocomplete",
|
||||
"@kbn/securitysolution-es-utils": "link:packages/kbn-securitysolution-es-utils",
|
||||
"@kbn/securitysolution-exception-list-components": "link:packages/kbn-securitysolution-exception-list-components",
|
||||
"@kbn/securitysolution-hook-utils": "link:packages/kbn-securitysolution-hook-utils",
|
||||
"@kbn/securitysolution-io-ts-alerting-types": "link:packages/kbn-securitysolution-io-ts-alerting-types",
|
||||
"@kbn/securitysolution-io-ts-list-types": "link:packages/kbn-securitysolution-io-ts-list-types",
|
||||
"@kbn/securitysolution-io-ts-types": "link:packages/kbn-securitysolution-io-ts-types",
|
||||
"@kbn/securitysolution-io-ts-utils": "link:packages/kbn-securitysolution-io-ts-utils",
|
||||
"@kbn/securitysolution-list-api": "link:packages/kbn-securitysolution-list-api",
|
||||
"@kbn/securitysolution-list-constants": "link:packages/kbn-securitysolution-list-constants",
|
||||
"@kbn/securitysolution-list-hooks": "link:packages/kbn-securitysolution-list-hooks",
|
||||
"@kbn/securitysolution-list-utils": "link:packages/kbn-securitysolution-list-utils",
|
||||
"@kbn/securitysolution-rules": "link:packages/kbn-securitysolution-rules",
|
||||
"@kbn/securitysolution-t-grid": "link:packages/kbn-securitysolution-t-grid",
|
||||
"@kbn/securitysolution-utils": "link:packages/kbn-securitysolution-utils",
|
||||
"@kbn/server-http-tools": "link:packages/kbn-server-http-tools",
|
||||
"@kbn/server-route-repository": "link:packages/kbn-server-route-repository",
|
||||
"@kbn/shared-svg": "link:packages/kbn-shared-svg",
|
||||
"@kbn/shared-ux-avatar-solution": "link:packages/shared-ux/avatar/solution",
|
||||
"@kbn/shared-ux-avatar-user-profile-components": "link:packages/shared-ux/avatar/user_profile/impl",
|
||||
"@kbn/shared-ux-button-exit-full-screen": "link:packages/shared-ux/button/exit_full_screen/impl",
|
||||
"@kbn/shared-ux-button-exit-full-screen-mocks": "link:packages/shared-ux/button/exit_full_screen/mocks",
|
||||
"@kbn/shared-ux-button-exit-full-screen-types": "link:packages/shared-ux/button/exit_full_screen/types",
|
||||
"@kbn/shared-ux-button-toolbar": "link:packages/shared-ux/button_toolbar",
|
||||
"@kbn/shared-ux-card-no-data": "link:packages/shared-ux/card/no_data/impl",
|
||||
"@kbn/shared-ux-card-no-data-mocks": "link:packages/shared-ux/card/no_data/mocks",
|
||||
"@kbn/shared-ux-card-no-data-types": "link:packages/shared-ux/card/no_data/types",
|
||||
"@kbn/shared-ux-file-context": "link:packages/shared-ux/file/context",
|
||||
"@kbn/shared-ux-file-image": "link:packages/shared-ux/file/image/impl",
|
||||
"@kbn/shared-ux-file-image-mocks": "link:packages/shared-ux/file/image/mocks",
|
||||
"@kbn/shared-ux-file-mocks": "link:packages/shared-ux/file/mocks",
|
||||
"@kbn/shared-ux-file-picker": "link:packages/shared-ux/file/file_picker/impl",
|
||||
"@kbn/shared-ux-file-types": "link:packages/shared-ux/file/types",
|
||||
"@kbn/shared-ux-file-upload": "link:packages/shared-ux/file/file_upload/impl",
|
||||
"@kbn/shared-ux-file-util": "link:packages/shared-ux/file/util",
|
||||
"@kbn/shared-ux-link-redirect-app": "link:packages/shared-ux/link/redirect_app/impl",
|
||||
"@kbn/shared-ux-link-redirect-app-mocks": "link:packages/shared-ux/link/redirect_app/mocks",
|
||||
"@kbn/shared-ux-link-redirect-app-types": "link:packages/shared-ux/link/redirect_app/types",
|
||||
"@kbn/shared-ux-markdown": "link:packages/shared-ux/markdown/impl",
|
||||
"@kbn/shared-ux-markdown-mocks": "link:packages/shared-ux/markdown/mocks",
|
||||
"@kbn/shared-ux-markdown-types": "link:packages/shared-ux/markdown/types",
|
||||
"@kbn/shared-ux-page-analytics-no-data": "link:packages/shared-ux/page/analytics_no_data/impl",
|
||||
"@kbn/shared-ux-page-analytics-no-data-mocks": "link:packages/shared-ux/page/analytics_no_data/mocks",
|
||||
"@kbn/shared-ux-page-analytics-no-data-types": "link:packages/shared-ux/page/analytics_no_data/types",
|
||||
"@kbn/shared-ux-page-kibana-no-data": "link:packages/shared-ux/page/kibana_no_data/impl",
|
||||
"@kbn/shared-ux-page-kibana-no-data-mocks": "link:packages/shared-ux/page/kibana_no_data/mocks",
|
||||
"@kbn/shared-ux-page-kibana-no-data-types": "link:packages/shared-ux/page/kibana_no_data/types",
|
||||
"@kbn/shared-ux-page-kibana-template": "link:packages/shared-ux/page/kibana_template/impl",
|
||||
"@kbn/shared-ux-page-kibana-template-mocks": "link:packages/shared-ux/page/kibana_template/mocks",
|
||||
"@kbn/shared-ux-page-kibana-template-types": "link:packages/shared-ux/page/kibana_template/types",
|
||||
"@kbn/shared-ux-page-no-data": "link:packages/shared-ux/page/no_data/impl",
|
||||
"@kbn/shared-ux-page-no-data-config": "link:packages/shared-ux/page/no_data_config/impl",
|
||||
"@kbn/shared-ux-page-no-data-config-mocks": "link:packages/shared-ux/page/no_data_config/mocks",
|
||||
"@kbn/shared-ux-page-no-data-config-types": "link:packages/shared-ux/page/no_data_config/types",
|
||||
"@kbn/shared-ux-page-no-data-mocks": "link:packages/shared-ux/page/no_data/mocks",
|
||||
"@kbn/shared-ux-page-no-data-types": "link:packages/shared-ux/page/no_data/types",
|
||||
"@kbn/shared-ux-page-solution-nav": "link:packages/shared-ux/page/solution_nav",
|
||||
"@kbn/shared-ux-prompt-no-data-views": "link:packages/shared-ux/prompt/no_data_views/impl",
|
||||
"@kbn/shared-ux-prompt-no-data-views-mocks": "link:packages/shared-ux/prompt/no_data_views/mocks",
|
||||
"@kbn/shared-ux-prompt-no-data-views-types": "link:packages/shared-ux/prompt/no_data_views/types",
|
||||
"@kbn/shared-ux-prompt-not-found": "link:packages/shared-ux/prompt/not_found",
|
||||
"@kbn/shared-ux-router-mocks": "link:packages/shared-ux/router/mocks",
|
||||
"@kbn/shared-ux-services": "link:packages/kbn-shared-ux-services",
|
||||
"@kbn/shared-ux-storybook": "link:packages/kbn-shared-ux-storybook",
|
||||
"@kbn/shared-ux-storybook-mock": "link:packages/shared-ux/storybook/mock",
|
||||
"@kbn/shared-ux-utility": "link:packages/kbn-shared-ux-utility",
|
||||
"@kbn/std": "link:packages/kbn-std",
|
||||
"@kbn/timelion-grammar": "link:packages/kbn-timelion-grammar",
|
||||
"@kbn/tinymath": "link:packages/kbn-tinymath",
|
||||
"@kbn/typed-react-router-config": "link:packages/kbn-typed-react-router-config",
|
||||
"@kbn/ui-framework": "link:packages/kbn-ui-framework",
|
||||
"@kbn/ui-shared-deps-npm": "link:packages/kbn-ui-shared-deps-npm",
|
||||
"@kbn/ui-shared-deps-src": "link:packages/kbn-ui-shared-deps-src",
|
||||
"@kbn/ui-theme": "link:packages/kbn-ui-theme",
|
||||
"@kbn/user-profile-components": "link:packages/kbn-user-profile-components",
|
||||
"@kbn/utility-types": "link:packages/kbn-utility-types",
|
||||
"@kbn/utility-types-jest": "link:packages/kbn-utility-types-jest",
|
||||
"@kbn/utils": "link:packages/kbn-utils",
|
||||
"@loaders.gl/core": "^2.3.1",
|
||||
"@loaders.gl/json": "^2.3.1",
|
||||
"@loaders.gl/shapefile": "^2.3.1",
|
||||
|
@ -464,8 +465,6 @@
|
|||
"@turf/distance": "6.0.1",
|
||||
"@turf/helpers": "6.0.1",
|
||||
"@turf/length": "^6.0.2",
|
||||
"@types/adm-zip": "^0.5.0",
|
||||
"@types/byte-size": "^8.1.0",
|
||||
"@xstate/react": "^3.0.1",
|
||||
"JSONStream": "1.3.5",
|
||||
"abort-controller": "^3.0.0",
|
||||
|
@ -732,69 +731,75 @@
|
|||
"@jest/reporters": "^29.3.1",
|
||||
"@jest/transform": "^29.3.1",
|
||||
"@jest/types": "^29.3.1",
|
||||
"@kbn/ambient-common-types": "link:bazel-bin/packages/kbn-ambient-common-types",
|
||||
"@kbn/ambient-ftr-types": "link:bazel-bin/packages/kbn-ambient-ftr-types",
|
||||
"@kbn/ambient-storybook-types": "link:bazel-bin/packages/kbn-ambient-storybook-types",
|
||||
"@kbn/ambient-ui-types": "link:bazel-bin/packages/kbn-ambient-ui-types",
|
||||
"@kbn/apm-synthtrace": "link:bazel-bin/packages/kbn-apm-synthtrace",
|
||||
"@kbn/axe-config": "link:bazel-bin/packages/kbn-axe-config",
|
||||
"@kbn/babel-plugin-synthetic-packages": "link:bazel-bin/packages/kbn-babel-plugin-synthetic-packages",
|
||||
"@kbn/babel-preset": "link:bazel-bin/packages/kbn-babel-preset",
|
||||
"@kbn/bazel-packages": "link:bazel-bin/packages/kbn-bazel-packages",
|
||||
"@kbn/bazel-runner": "link:bazel-bin/packages/kbn-bazel-runner",
|
||||
"@kbn/ci-stats-core": "link:bazel-bin/packages/kbn-ci-stats-core",
|
||||
"@kbn/ci-stats-performance-metrics": "link:bazel-bin/packages/kbn-ci-stats-performance-metrics",
|
||||
"@kbn/ci-stats-reporter": "link:bazel-bin/packages/kbn-ci-stats-reporter",
|
||||
"@kbn/cli-dev-mode": "link:bazel-bin/packages/kbn-cli-dev-mode",
|
||||
"@kbn/core-test-helpers-kbn-server": "link:bazel-bin/packages/core/test-helpers/core-test-helpers-kbn-server",
|
||||
"@kbn/dev-cli-errors": "link:bazel-bin/packages/kbn-dev-cli-errors",
|
||||
"@kbn/dev-cli-runner": "link:bazel-bin/packages/kbn-dev-cli-runner",
|
||||
"@kbn/dev-proc-runner": "link:bazel-bin/packages/kbn-dev-proc-runner",
|
||||
"@kbn/dev-utils": "link:bazel-bin/packages/kbn-dev-utils",
|
||||
"@kbn/docs-utils": "link:bazel-bin/packages/kbn-docs-utils",
|
||||
"@kbn/es": "link:bazel-bin/packages/kbn-es",
|
||||
"@kbn/es-archiver": "link:bazel-bin/packages/kbn-es-archiver",
|
||||
"@kbn/eslint-config": "link:bazel-bin/packages/kbn-eslint-config",
|
||||
"@kbn/eslint-plugin-disable": "link:bazel-bin/packages/kbn-eslint-plugin-disable",
|
||||
"@kbn/eslint-plugin-eslint": "link:bazel-bin/packages/kbn-eslint-plugin-eslint",
|
||||
"@kbn/eslint-plugin-imports": "link:bazel-bin/packages/kbn-eslint-plugin-imports",
|
||||
"@kbn/expect": "link:bazel-bin/packages/kbn-expect",
|
||||
"@kbn/failed-test-reporter-cli": "link:bazel-bin/packages/kbn-failed-test-reporter-cli",
|
||||
"@kbn/find-used-node-modules": "link:bazel-bin/packages/kbn-find-used-node-modules",
|
||||
"@kbn/ftr-common-functional-services": "link:bazel-bin/packages/kbn-ftr-common-functional-services",
|
||||
"@kbn/ftr-screenshot-filename": "link:bazel-bin/packages/kbn-ftr-screenshot-filename",
|
||||
"@kbn/generate": "link:bazel-bin/packages/kbn-generate",
|
||||
"@kbn/get-repo-files": "link:bazel-bin/packages/kbn-get-repo-files",
|
||||
"@kbn/import-resolver": "link:bazel-bin/packages/kbn-import-resolver",
|
||||
"@kbn/jest-serializers": "link:bazel-bin/packages/kbn-jest-serializers",
|
||||
"@kbn/journeys": "link:bazel-bin/packages/kbn-journeys",
|
||||
"@kbn/kibana-manifest-schema": "link:bazel-bin/packages/kbn-kibana-manifest-schema",
|
||||
"@kbn/managed-vscode-config": "link:bazel-bin/packages/kbn-managed-vscode-config",
|
||||
"@kbn/managed-vscode-config-cli": "link:bazel-bin/packages/kbn-managed-vscode-config-cli",
|
||||
"@kbn/optimizer": "link:bazel-bin/packages/kbn-optimizer",
|
||||
"@kbn/optimizer-webpack-helpers": "link:bazel-bin/packages/kbn-optimizer-webpack-helpers",
|
||||
"@kbn/peggy": "link:bazel-bin/packages/kbn-peggy",
|
||||
"@kbn/peggy-loader": "link:bazel-bin/packages/kbn-peggy-loader",
|
||||
"@kbn/performance-testing-dataset-extractor": "link:bazel-bin/packages/kbn-performance-testing-dataset-extractor",
|
||||
"@kbn/plugin-generator": "link:bazel-bin/packages/kbn-plugin-generator",
|
||||
"@kbn/plugin-helpers": "link:bazel-bin/packages/kbn-plugin-helpers",
|
||||
"@kbn/repo-source-classifier": "link:bazel-bin/packages/kbn-repo-source-classifier",
|
||||
"@kbn/repo-source-classifier-cli": "link:bazel-bin/packages/kbn-repo-source-classifier-cli",
|
||||
"@kbn/some-dev-log": "link:bazel-bin/packages/kbn-some-dev-log",
|
||||
"@kbn/sort-package-json": "link:bazel-bin/packages/kbn-sort-package-json",
|
||||
"@kbn/spec-to-console": "link:bazel-bin/packages/kbn-spec-to-console",
|
||||
"@kbn/stdio-dev-helpers": "link:bazel-bin/packages/kbn-stdio-dev-helpers",
|
||||
"@kbn/storybook": "link:bazel-bin/packages/kbn-storybook",
|
||||
"@kbn/synthetic-package-map": "link:bazel-bin/packages/kbn-synthetic-package-map",
|
||||
"@kbn/telemetry-tools": "link:bazel-bin/packages/kbn-telemetry-tools",
|
||||
"@kbn/test": "link:bazel-bin/packages/kbn-test",
|
||||
"@kbn/test-jest-helpers": "link:bazel-bin/packages/kbn-test-jest-helpers",
|
||||
"@kbn/test-subj-selector": "link:bazel-bin/packages/kbn-test-subj-selector",
|
||||
"@kbn/tooling-log": "link:bazel-bin/packages/kbn-tooling-log",
|
||||
"@kbn/type-summarizer": "link:bazel-bin/packages/kbn-type-summarizer",
|
||||
"@kbn/type-summarizer-cli": "link:bazel-bin/packages/kbn-type-summarizer-cli",
|
||||
"@kbn/type-summarizer-core": "link:bazel-bin/packages/kbn-type-summarizer-core",
|
||||
"@kbn/yarn-lock-validator": "link:bazel-bin/packages/kbn-yarn-lock-validator",
|
||||
"@kbn/ambient-common-types": "link:packages/kbn-ambient-common-types",
|
||||
"@kbn/ambient-ftr-types": "link:packages/kbn-ambient-ftr-types",
|
||||
"@kbn/ambient-storybook-types": "link:packages/kbn-ambient-storybook-types",
|
||||
"@kbn/ambient-ui-types": "link:packages/kbn-ambient-ui-types",
|
||||
"@kbn/apm-synthtrace": "link:packages/kbn-apm-synthtrace",
|
||||
"@kbn/axe-config": "link:packages/kbn-axe-config",
|
||||
"@kbn/babel-plugin-package-imports": "link:packages/kbn-babel-plugin-package-imports",
|
||||
"@kbn/babel-preset": "link:packages/kbn-babel-preset",
|
||||
"@kbn/babel-register": "link:packages/kbn-babel-register",
|
||||
"@kbn/babel-transform": "link:packages/kbn-babel-transform",
|
||||
"@kbn/bazel-packages": "link:packages/kbn-bazel-packages",
|
||||
"@kbn/bazel-runner": "link:packages/kbn-bazel-runner",
|
||||
"@kbn/ci-stats-core": "link:packages/kbn-ci-stats-core",
|
||||
"@kbn/ci-stats-performance-metrics": "link:packages/kbn-ci-stats-performance-metrics",
|
||||
"@kbn/ci-stats-reporter": "link:packages/kbn-ci-stats-reporter",
|
||||
"@kbn/cli-dev-mode": "link:packages/kbn-cli-dev-mode",
|
||||
"@kbn/core-test-helpers-kbn-server": "link:packages/core/test-helpers/core-test-helpers-kbn-server",
|
||||
"@kbn/cypress-config": "link:packages/kbn-cypress-config",
|
||||
"@kbn/dev-cli-errors": "link:packages/kbn-dev-cli-errors",
|
||||
"@kbn/dev-cli-runner": "link:packages/kbn-dev-cli-runner",
|
||||
"@kbn/dev-proc-runner": "link:packages/kbn-dev-proc-runner",
|
||||
"@kbn/dev-utils": "link:packages/kbn-dev-utils",
|
||||
"@kbn/docs-utils": "link:packages/kbn-docs-utils",
|
||||
"@kbn/es": "link:packages/kbn-es",
|
||||
"@kbn/es-archiver": "link:packages/kbn-es-archiver",
|
||||
"@kbn/eslint-config": "link:packages/kbn-eslint-config",
|
||||
"@kbn/eslint-plugin-disable": "link:packages/kbn-eslint-plugin-disable",
|
||||
"@kbn/eslint-plugin-eslint": "link:packages/kbn-eslint-plugin-eslint",
|
||||
"@kbn/eslint-plugin-imports": "link:packages/kbn-eslint-plugin-imports",
|
||||
"@kbn/expect": "link:packages/kbn-expect",
|
||||
"@kbn/failed-test-reporter-cli": "link:packages/kbn-failed-test-reporter-cli",
|
||||
"@kbn/find-used-node-modules": "link:packages/kbn-find-used-node-modules",
|
||||
"@kbn/ftr-common-functional-services": "link:packages/kbn-ftr-common-functional-services",
|
||||
"@kbn/ftr-screenshot-filename": "link:packages/kbn-ftr-screenshot-filename",
|
||||
"@kbn/generate": "link:packages/kbn-generate",
|
||||
"@kbn/get-repo-files": "link:packages/kbn-get-repo-files",
|
||||
"@kbn/import-resolver": "link:packages/kbn-import-resolver",
|
||||
"@kbn/jest-serializers": "link:packages/kbn-jest-serializers",
|
||||
"@kbn/journeys": "link:packages/kbn-journeys",
|
||||
"@kbn/kibana-manifest-schema": "link:packages/kbn-kibana-manifest-schema",
|
||||
"@kbn/managed-vscode-config": "link:packages/kbn-managed-vscode-config",
|
||||
"@kbn/managed-vscode-config-cli": "link:packages/kbn-managed-vscode-config-cli",
|
||||
"@kbn/optimizer": "link:packages/kbn-optimizer",
|
||||
"@kbn/optimizer-webpack-helpers": "link:packages/kbn-optimizer-webpack-helpers",
|
||||
"@kbn/package-map": "link:packages/kbn-package-map",
|
||||
"@kbn/peggy": "link:packages/kbn-peggy",
|
||||
"@kbn/peggy-loader": "link:packages/kbn-peggy-loader",
|
||||
"@kbn/performance-testing-dataset-extractor": "link:packages/kbn-performance-testing-dataset-extractor",
|
||||
"@kbn/plugin-generator": "link:packages/kbn-plugin-generator",
|
||||
"@kbn/plugin-helpers": "link:packages/kbn-plugin-helpers",
|
||||
"@kbn/repo-path": "link:packages/kbn-repo-path",
|
||||
"@kbn/repo-source-classifier": "link:packages/kbn-repo-source-classifier",
|
||||
"@kbn/repo-source-classifier-cli": "link:packages/kbn-repo-source-classifier-cli",
|
||||
"@kbn/some-dev-log": "link:packages/kbn-some-dev-log",
|
||||
"@kbn/sort-package-json": "link:packages/kbn-sort-package-json",
|
||||
"@kbn/spec-to-console": "link:packages/kbn-spec-to-console",
|
||||
"@kbn/stdio-dev-helpers": "link:packages/kbn-stdio-dev-helpers",
|
||||
"@kbn/storybook": "link:packages/kbn-storybook",
|
||||
"@kbn/telemetry-tools": "link:packages/kbn-telemetry-tools",
|
||||
"@kbn/test": "link:packages/kbn-test",
|
||||
"@kbn/test-jest-helpers": "link:packages/kbn-test-jest-helpers",
|
||||
"@kbn/test-subj-selector": "link:packages/kbn-test-subj-selector",
|
||||
"@kbn/tooling-log": "link:packages/kbn-tooling-log",
|
||||
"@kbn/ts-project-linter": "link:packages/kbn-ts-project-linter",
|
||||
"@kbn/ts-project-linter-cli": "link:packages/kbn-ts-project-linter-cli",
|
||||
"@kbn/ts-projects": "link:packages/kbn-ts-projects",
|
||||
"@kbn/ts-type-check-cli": "link:packages/kbn-ts-type-check-cli",
|
||||
"@kbn/web-worker-stub": "link:packages/kbn-web-worker-stub",
|
||||
"@kbn/yarn-lock-validator": "link:packages/kbn-yarn-lock-validator",
|
||||
"@loaders.gl/polyfills": "^2.3.5",
|
||||
"@mapbox/vector-tile": "1.3.1",
|
||||
"@octokit/rest": "^16.35.0",
|
||||
|
@ -824,12 +829,14 @@
|
|||
"@testing-library/react": "^12.1.5",
|
||||
"@testing-library/react-hooks": "^8.0.1",
|
||||
"@testing-library/user-event": "^13.5.0",
|
||||
"@types/adm-zip": "^0.5.0",
|
||||
"@types/archiver": "^5.3.1",
|
||||
"@types/async": "^3.2.3",
|
||||
"@types/babel__core": "^7.1.20",
|
||||
"@types/babel__generator": "^7.6.4",
|
||||
"@types/babel__helper-plugin-utils": "^7.10.0",
|
||||
"@types/base64-js": "^1.2.5",
|
||||
"@types/byte-size": "^8.1.0",
|
||||
"@types/chance": "^1.0.0",
|
||||
"@types/chroma-js": "^1.4.2",
|
||||
"@types/chromedriver": "^81.0.1",
|
||||
|
@ -1134,7 +1141,6 @@
|
|||
"terser-webpack-plugin": "^4.2.3",
|
||||
"tough-cookie": "^4.1.2",
|
||||
"tree-kill": "^1.2.2",
|
||||
"ts-loader": "^7.0.5",
|
||||
"ts-morph": "^13.0.2",
|
||||
"tsd": "^0.20.0",
|
||||
"typescript": "4.6.3",
|
||||
|
|
|
@ -1,748 +0,0 @@
|
|||
################
|
||||
################
|
||||
## This file is automatically generated, to create a new package use `node scripts/generate package --help` or run
|
||||
## `node scripts/generate packages_build_manifest` to regenerate it from the current state of the repo
|
||||
################
|
||||
################
|
||||
|
||||
# It will build all declared code packages
|
||||
filegroup(
|
||||
name = "build_pkg_code",
|
||||
srcs = [
|
||||
"//packages/analytics/client:build",
|
||||
"//packages/analytics/shippers/elastic_v3/browser:build",
|
||||
"//packages/analytics/shippers/elastic_v3/common:build",
|
||||
"//packages/analytics/shippers/elastic_v3/server:build",
|
||||
"//packages/analytics/shippers/fullstory:build",
|
||||
"//packages/analytics/shippers/gainsight:build",
|
||||
"//packages/content-management/content_editor:build",
|
||||
"//packages/content-management/table_list:build",
|
||||
"//packages/core/analytics/core-analytics-browser:build",
|
||||
"//packages/core/analytics/core-analytics-browser-internal:build",
|
||||
"//packages/core/analytics/core-analytics-browser-mocks:build",
|
||||
"//packages/core/analytics/core-analytics-server:build",
|
||||
"//packages/core/analytics/core-analytics-server-internal:build",
|
||||
"//packages/core/analytics/core-analytics-server-mocks:build",
|
||||
"//packages/core/application/core-application-browser:build",
|
||||
"//packages/core/application/core-application-browser-internal:build",
|
||||
"//packages/core/application/core-application-browser-mocks:build",
|
||||
"//packages/core/application/core-application-common:build",
|
||||
"//packages/core/apps/core-apps-browser-internal:build",
|
||||
"//packages/core/apps/core-apps-browser-mocks:build",
|
||||
"//packages/core/apps/core-apps-server-internal:build",
|
||||
"//packages/core/base/core-base-browser-internal:build",
|
||||
"//packages/core/base/core-base-browser-mocks:build",
|
||||
"//packages/core/base/core-base-common:build",
|
||||
"//packages/core/base/core-base-common-internal:build",
|
||||
"//packages/core/base/core-base-server-internal:build",
|
||||
"//packages/core/base/core-base-server-mocks:build",
|
||||
"//packages/core/capabilities/core-capabilities-browser-internal:build",
|
||||
"//packages/core/capabilities/core-capabilities-browser-mocks:build",
|
||||
"//packages/core/capabilities/core-capabilities-common:build",
|
||||
"//packages/core/capabilities/core-capabilities-server:build",
|
||||
"//packages/core/capabilities/core-capabilities-server-internal:build",
|
||||
"//packages/core/capabilities/core-capabilities-server-mocks:build",
|
||||
"//packages/core/chrome/core-chrome-browser:build",
|
||||
"//packages/core/chrome/core-chrome-browser-internal:build",
|
||||
"//packages/core/chrome/core-chrome-browser-mocks:build",
|
||||
"//packages/core/config/core-config-server-internal:build",
|
||||
"//packages/core/deprecations/core-deprecations-browser:build",
|
||||
"//packages/core/deprecations/core-deprecations-browser-internal:build",
|
||||
"//packages/core/deprecations/core-deprecations-browser-mocks:build",
|
||||
"//packages/core/deprecations/core-deprecations-common:build",
|
||||
"//packages/core/deprecations/core-deprecations-server:build",
|
||||
"//packages/core/deprecations/core-deprecations-server-internal:build",
|
||||
"//packages/core/deprecations/core-deprecations-server-mocks:build",
|
||||
"//packages/core/doc-links/core-doc-links-browser:build",
|
||||
"//packages/core/doc-links/core-doc-links-browser-internal:build",
|
||||
"//packages/core/doc-links/core-doc-links-browser-mocks:build",
|
||||
"//packages/core/doc-links/core-doc-links-server:build",
|
||||
"//packages/core/doc-links/core-doc-links-server-internal:build",
|
||||
"//packages/core/doc-links/core-doc-links-server-mocks:build",
|
||||
"//packages/core/elasticsearch/core-elasticsearch-client-server-internal:build",
|
||||
"//packages/core/elasticsearch/core-elasticsearch-client-server-mocks:build",
|
||||
"//packages/core/elasticsearch/core-elasticsearch-server:build",
|
||||
"//packages/core/elasticsearch/core-elasticsearch-server-internal:build",
|
||||
"//packages/core/elasticsearch/core-elasticsearch-server-mocks:build",
|
||||
"//packages/core/environment/core-environment-server-internal:build",
|
||||
"//packages/core/environment/core-environment-server-mocks:build",
|
||||
"//packages/core/execution-context/core-execution-context-browser:build",
|
||||
"//packages/core/execution-context/core-execution-context-browser-internal:build",
|
||||
"//packages/core/execution-context/core-execution-context-browser-mocks:build",
|
||||
"//packages/core/execution-context/core-execution-context-common:build",
|
||||
"//packages/core/execution-context/core-execution-context-server:build",
|
||||
"//packages/core/execution-context/core-execution-context-server-internal:build",
|
||||
"//packages/core/execution-context/core-execution-context-server-mocks:build",
|
||||
"//packages/core/fatal-errors/core-fatal-errors-browser:build",
|
||||
"//packages/core/fatal-errors/core-fatal-errors-browser-internal:build",
|
||||
"//packages/core/fatal-errors/core-fatal-errors-browser-mocks:build",
|
||||
"//packages/core/http/core-http-browser:build",
|
||||
"//packages/core/http/core-http-browser-internal:build",
|
||||
"//packages/core/http/core-http-browser-mocks:build",
|
||||
"//packages/core/http/core-http-common:build",
|
||||
"//packages/core/http/core-http-context-server-internal:build",
|
||||
"//packages/core/http/core-http-context-server-mocks:build",
|
||||
"//packages/core/http/core-http-request-handler-context-server:build",
|
||||
"//packages/core/http/core-http-request-handler-context-server-internal:build",
|
||||
"//packages/core/http/core-http-resources-server:build",
|
||||
"//packages/core/http/core-http-resources-server-internal:build",
|
||||
"//packages/core/http/core-http-resources-server-mocks:build",
|
||||
"//packages/core/http/core-http-router-server-internal:build",
|
||||
"//packages/core/http/core-http-router-server-mocks:build",
|
||||
"//packages/core/http/core-http-server:build",
|
||||
"//packages/core/http/core-http-server-internal:build",
|
||||
"//packages/core/http/core-http-server-mocks:build",
|
||||
"//packages/core/i18n/core-i18n-browser:build",
|
||||
"//packages/core/i18n/core-i18n-browser-internal:build",
|
||||
"//packages/core/i18n/core-i18n-browser-mocks:build",
|
||||
"//packages/core/i18n/core-i18n-server:build",
|
||||
"//packages/core/i18n/core-i18n-server-internal:build",
|
||||
"//packages/core/i18n/core-i18n-server-mocks:build",
|
||||
"//packages/core/injected-metadata/core-injected-metadata-browser-internal:build",
|
||||
"//packages/core/injected-metadata/core-injected-metadata-browser-mocks:build",
|
||||
"//packages/core/injected-metadata/core-injected-metadata-common-internal:build",
|
||||
"//packages/core/integrations/core-integrations-browser-internal:build",
|
||||
"//packages/core/integrations/core-integrations-browser-mocks:build",
|
||||
"//packages/core/lifecycle/core-lifecycle-browser:build",
|
||||
"//packages/core/lifecycle/core-lifecycle-browser-internal:build",
|
||||
"//packages/core/lifecycle/core-lifecycle-browser-mocks:build",
|
||||
"//packages/core/lifecycle/core-lifecycle-server:build",
|
||||
"//packages/core/lifecycle/core-lifecycle-server-internal:build",
|
||||
"//packages/core/lifecycle/core-lifecycle-server-mocks:build",
|
||||
"//packages/core/logging/core-logging-browser-internal:build",
|
||||
"//packages/core/logging/core-logging-browser-mocks:build",
|
||||
"//packages/core/logging/core-logging-common-internal:build",
|
||||
"//packages/core/logging/core-logging-server:build",
|
||||
"//packages/core/logging/core-logging-server-internal:build",
|
||||
"//packages/core/logging/core-logging-server-mocks:build",
|
||||
"//packages/core/metrics/core-metrics-collectors-server-internal:build",
|
||||
"//packages/core/metrics/core-metrics-collectors-server-mocks:build",
|
||||
"//packages/core/metrics/core-metrics-server:build",
|
||||
"//packages/core/metrics/core-metrics-server-internal:build",
|
||||
"//packages/core/metrics/core-metrics-server-mocks:build",
|
||||
"//packages/core/mount-utils/core-mount-utils-browser:build",
|
||||
"//packages/core/mount-utils/core-mount-utils-browser-internal:build",
|
||||
"//packages/core/node/core-node-server:build",
|
||||
"//packages/core/node/core-node-server-internal:build",
|
||||
"//packages/core/node/core-node-server-mocks:build",
|
||||
"//packages/core/notifications/core-notifications-browser:build",
|
||||
"//packages/core/notifications/core-notifications-browser-internal:build",
|
||||
"//packages/core/notifications/core-notifications-browser-mocks:build",
|
||||
"//packages/core/overlays/core-overlays-browser:build",
|
||||
"//packages/core/overlays/core-overlays-browser-internal:build",
|
||||
"//packages/core/overlays/core-overlays-browser-mocks:build",
|
||||
"//packages/core/plugins/core-plugins-base-server-internal:build",
|
||||
"//packages/core/plugins/core-plugins-browser:build",
|
||||
"//packages/core/plugins/core-plugins-browser-internal:build",
|
||||
"//packages/core/plugins/core-plugins-browser-mocks:build",
|
||||
"//packages/core/plugins/core-plugins-server:build",
|
||||
"//packages/core/plugins/core-plugins-server-internal:build",
|
||||
"//packages/core/plugins/core-plugins-server-mocks:build",
|
||||
"//packages/core/preboot/core-preboot-server:build",
|
||||
"//packages/core/preboot/core-preboot-server-internal:build",
|
||||
"//packages/core/preboot/core-preboot-server-mocks:build",
|
||||
"//packages/core/rendering/core-rendering-browser-internal:build",
|
||||
"//packages/core/rendering/core-rendering-browser-mocks:build",
|
||||
"//packages/core/rendering/core-rendering-server-internal:build",
|
||||
"//packages/core/rendering/core-rendering-server-mocks:build",
|
||||
"//packages/core/root/core-root-browser-internal:build",
|
||||
"//packages/core/root/core-root-server-internal:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-api-browser:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-api-server:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-api-server-internal:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-api-server-mocks:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-base-server-internal:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-base-server-mocks:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-browser:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-browser-internal:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-browser-mocks:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-common:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-import-export-server-internal:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-import-export-server-mocks:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-migration-server-internal:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-migration-server-mocks:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-server:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-server-internal:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-server-mocks:build",
|
||||
"//packages/core/saved-objects/core-saved-objects-utils-server:build",
|
||||
"//packages/core/status/core-status-common:build",
|
||||
"//packages/core/status/core-status-common-internal:build",
|
||||
"//packages/core/status/core-status-server:build",
|
||||
"//packages/core/status/core-status-server-internal:build",
|
||||
"//packages/core/status/core-status-server-mocks:build",
|
||||
"//packages/core/test-helpers/core-test-helpers-deprecations-getters:build",
|
||||
"//packages/core/test-helpers/core-test-helpers-http-setup-browser:build",
|
||||
"//packages/core/test-helpers/core-test-helpers-kbn-server:build",
|
||||
"//packages/core/test-helpers/core-test-helpers-so-type-serializer:build",
|
||||
"//packages/core/test-helpers/core-test-helpers-test-utils:build",
|
||||
"//packages/core/theme/core-theme-browser:build",
|
||||
"//packages/core/theme/core-theme-browser-internal:build",
|
||||
"//packages/core/theme/core-theme-browser-mocks:build",
|
||||
"//packages/core/ui-settings/core-ui-settings-browser:build",
|
||||
"//packages/core/ui-settings/core-ui-settings-browser-internal:build",
|
||||
"//packages/core/ui-settings/core-ui-settings-browser-mocks:build",
|
||||
"//packages/core/ui-settings/core-ui-settings-common:build",
|
||||
"//packages/core/ui-settings/core-ui-settings-server:build",
|
||||
"//packages/core/ui-settings/core-ui-settings-server-internal:build",
|
||||
"//packages/core/ui-settings/core-ui-settings-server-mocks:build",
|
||||
"//packages/core/usage-data/core-usage-data-base-server-internal:build",
|
||||
"//packages/core/usage-data/core-usage-data-server:build",
|
||||
"//packages/core/usage-data/core-usage-data-server-internal:build",
|
||||
"//packages/core/usage-data/core-usage-data-server-mocks:build",
|
||||
"//packages/home/sample_data_card:build",
|
||||
"//packages/home/sample_data_tab:build",
|
||||
"//packages/home/sample_data_types:build",
|
||||
"//packages/kbn-ace:build",
|
||||
"//packages/kbn-alerts:build",
|
||||
"//packages/kbn-ambient-common-types:build",
|
||||
"//packages/kbn-ambient-ftr-types:build",
|
||||
"//packages/kbn-ambient-storybook-types:build",
|
||||
"//packages/kbn-ambient-ui-types:build",
|
||||
"//packages/kbn-analytics:build",
|
||||
"//packages/kbn-apm-config-loader:build",
|
||||
"//packages/kbn-apm-synthtrace:build",
|
||||
"//packages/kbn-apm-utils:build",
|
||||
"//packages/kbn-axe-config:build",
|
||||
"//packages/kbn-babel-plugin-synthetic-packages:build",
|
||||
"//packages/kbn-babel-preset:build",
|
||||
"//packages/kbn-bazel-packages:build",
|
||||
"//packages/kbn-bazel-runner:build",
|
||||
"//packages/kbn-cases-components:build",
|
||||
"//packages/kbn-chart-icons:build",
|
||||
"//packages/kbn-ci-stats-core:build",
|
||||
"//packages/kbn-ci-stats-performance-metrics:build",
|
||||
"//packages/kbn-ci-stats-reporter:build",
|
||||
"//packages/kbn-cli-dev-mode:build",
|
||||
"//packages/kbn-coloring:build",
|
||||
"//packages/kbn-config:build",
|
||||
"//packages/kbn-config-mocks:build",
|
||||
"//packages/kbn-config-schema:build",
|
||||
"//packages/kbn-crypto:build",
|
||||
"//packages/kbn-crypto-browser:build",
|
||||
"//packages/kbn-datemath:build",
|
||||
"//packages/kbn-dev-cli-errors:build",
|
||||
"//packages/kbn-dev-cli-runner:build",
|
||||
"//packages/kbn-dev-proc-runner:build",
|
||||
"//packages/kbn-dev-utils:build",
|
||||
"//packages/kbn-doc-links:build",
|
||||
"//packages/kbn-docs-utils:build",
|
||||
"//packages/kbn-ebt-tools:build",
|
||||
"//packages/kbn-ecs:build",
|
||||
"//packages/kbn-es:build",
|
||||
"//packages/kbn-es-archiver:build",
|
||||
"//packages/kbn-es-errors:build",
|
||||
"//packages/kbn-es-query:build",
|
||||
"//packages/kbn-es-types:build",
|
||||
"//packages/kbn-eslint-config:build",
|
||||
"//packages/kbn-eslint-plugin-disable:build",
|
||||
"//packages/kbn-eslint-plugin-eslint:build",
|
||||
"//packages/kbn-eslint-plugin-imports:build",
|
||||
"//packages/kbn-expect:build",
|
||||
"//packages/kbn-failed-test-reporter-cli:build",
|
||||
"//packages/kbn-field-types:build",
|
||||
"//packages/kbn-find-used-node-modules:build",
|
||||
"//packages/kbn-flot-charts:build",
|
||||
"//packages/kbn-ftr-common-functional-services:build",
|
||||
"//packages/kbn-ftr-screenshot-filename:build",
|
||||
"//packages/kbn-generate:build",
|
||||
"//packages/kbn-get-repo-files:build",
|
||||
"//packages/kbn-guided-onboarding:build",
|
||||
"//packages/kbn-handlebars:build",
|
||||
"//packages/kbn-hapi-mocks:build",
|
||||
"//packages/kbn-health-gateway-server:build",
|
||||
"//packages/kbn-i18n:build",
|
||||
"//packages/kbn-i18n-react:build",
|
||||
"//packages/kbn-import-resolver:build",
|
||||
"//packages/kbn-interpreter:build",
|
||||
"//packages/kbn-io-ts-utils:build",
|
||||
"//packages/kbn-jest-serializers:build",
|
||||
"//packages/kbn-journeys:build",
|
||||
"//packages/kbn-kibana-manifest-schema:build",
|
||||
"//packages/kbn-language-documentation-popover:build",
|
||||
"//packages/kbn-logging:build",
|
||||
"//packages/kbn-logging-mocks:build",
|
||||
"//packages/kbn-managed-vscode-config:build",
|
||||
"//packages/kbn-managed-vscode-config-cli:build",
|
||||
"//packages/kbn-mapbox-gl:build",
|
||||
"//packages/kbn-monaco:build",
|
||||
"//packages/kbn-optimizer:build",
|
||||
"//packages/kbn-optimizer-webpack-helpers:build",
|
||||
"//packages/kbn-osquery-io-ts-types:build",
|
||||
"//packages/kbn-peggy:build",
|
||||
"//packages/kbn-peggy-loader:build",
|
||||
"//packages/kbn-performance-testing-dataset-extractor:build",
|
||||
"//packages/kbn-plugin-discovery:build",
|
||||
"//packages/kbn-plugin-generator:build",
|
||||
"//packages/kbn-plugin-helpers:build",
|
||||
"//packages/kbn-react-field:build",
|
||||
"//packages/kbn-repo-source-classifier:build",
|
||||
"//packages/kbn-repo-source-classifier-cli:build",
|
||||
"//packages/kbn-rison:build",
|
||||
"//packages/kbn-rule-data-utils:build",
|
||||
"//packages/kbn-safer-lodash-set:build",
|
||||
"//packages/kbn-securitysolution-autocomplete:build",
|
||||
"//packages/kbn-securitysolution-es-utils:build",
|
||||
"//packages/kbn-securitysolution-exception-list-components:build",
|
||||
"//packages/kbn-securitysolution-hook-utils:build",
|
||||
"//packages/kbn-securitysolution-io-ts-alerting-types:build",
|
||||
"//packages/kbn-securitysolution-io-ts-list-types:build",
|
||||
"//packages/kbn-securitysolution-io-ts-types:build",
|
||||
"//packages/kbn-securitysolution-io-ts-utils:build",
|
||||
"//packages/kbn-securitysolution-list-api:build",
|
||||
"//packages/kbn-securitysolution-list-constants:build",
|
||||
"//packages/kbn-securitysolution-list-hooks:build",
|
||||
"//packages/kbn-securitysolution-list-utils:build",
|
||||
"//packages/kbn-securitysolution-rules:build",
|
||||
"//packages/kbn-securitysolution-t-grid:build",
|
||||
"//packages/kbn-securitysolution-utils:build",
|
||||
"//packages/kbn-server-http-tools:build",
|
||||
"//packages/kbn-server-route-repository:build",
|
||||
"//packages/kbn-shared-svg:build",
|
||||
"//packages/kbn-shared-ux-utility:build",
|
||||
"//packages/kbn-some-dev-log:build",
|
||||
"//packages/kbn-sort-package-json:build",
|
||||
"//packages/kbn-spec-to-console:build",
|
||||
"//packages/kbn-std:build",
|
||||
"//packages/kbn-stdio-dev-helpers:build",
|
||||
"//packages/kbn-storybook:build",
|
||||
"//packages/kbn-synthetic-package-map:build",
|
||||
"//packages/kbn-telemetry-tools:build",
|
||||
"//packages/kbn-test:build",
|
||||
"//packages/kbn-test-jest-helpers:build",
|
||||
"//packages/kbn-test-subj-selector:build",
|
||||
"//packages/kbn-timelion-grammar:build",
|
||||
"//packages/kbn-tinymath:build",
|
||||
"//packages/kbn-tooling-log:build",
|
||||
"//packages/kbn-type-summarizer:build",
|
||||
"//packages/kbn-type-summarizer-cli:build",
|
||||
"//packages/kbn-type-summarizer-core:build",
|
||||
"//packages/kbn-typed-react-router-config:build",
|
||||
"//packages/kbn-ui-framework:build",
|
||||
"//packages/kbn-ui-shared-deps-npm:build",
|
||||
"//packages/kbn-ui-shared-deps-src:build",
|
||||
"//packages/kbn-ui-theme:build",
|
||||
"//packages/kbn-user-profile-components:build",
|
||||
"//packages/kbn-utility-types:build",
|
||||
"//packages/kbn-utility-types-jest:build",
|
||||
"//packages/kbn-utils:build",
|
||||
"//packages/kbn-yarn-lock-validator:build",
|
||||
"//packages/shared-ux/avatar/solution:build",
|
||||
"//packages/shared-ux/avatar/user_profile/impl:build",
|
||||
"//packages/shared-ux/button_toolbar:build",
|
||||
"//packages/shared-ux/button/exit_full_screen/impl:build",
|
||||
"//packages/shared-ux/button/exit_full_screen/mocks:build",
|
||||
"//packages/shared-ux/button/exit_full_screen/types:build",
|
||||
"//packages/shared-ux/card/no_data/impl:build",
|
||||
"//packages/shared-ux/card/no_data/mocks:build",
|
||||
"//packages/shared-ux/card/no_data/types:build",
|
||||
"//packages/shared-ux/file/context:build",
|
||||
"//packages/shared-ux/file/file_picker/impl:build",
|
||||
"//packages/shared-ux/file/file_upload/impl:build",
|
||||
"//packages/shared-ux/file/image/impl:build",
|
||||
"//packages/shared-ux/file/image/mocks:build",
|
||||
"//packages/shared-ux/file/mocks:build",
|
||||
"//packages/shared-ux/file/types:build",
|
||||
"//packages/shared-ux/file/util:build",
|
||||
"//packages/shared-ux/link/redirect_app/impl:build",
|
||||
"//packages/shared-ux/link/redirect_app/mocks:build",
|
||||
"//packages/shared-ux/link/redirect_app/types:build",
|
||||
"//packages/shared-ux/markdown/impl:build",
|
||||
"//packages/shared-ux/markdown/mocks:build",
|
||||
"//packages/shared-ux/markdown/types:build",
|
||||
"//packages/shared-ux/page/analytics_no_data/impl:build",
|
||||
"//packages/shared-ux/page/analytics_no_data/mocks:build",
|
||||
"//packages/shared-ux/page/analytics_no_data/types:build",
|
||||
"//packages/shared-ux/page/kibana_no_data/impl:build",
|
||||
"//packages/shared-ux/page/kibana_no_data/mocks:build",
|
||||
"//packages/shared-ux/page/kibana_no_data/types:build",
|
||||
"//packages/shared-ux/page/kibana_template/impl:build",
|
||||
"//packages/shared-ux/page/kibana_template/mocks:build",
|
||||
"//packages/shared-ux/page/kibana_template/types:build",
|
||||
"//packages/shared-ux/page/no_data_config/impl:build",
|
||||
"//packages/shared-ux/page/no_data_config/mocks:build",
|
||||
"//packages/shared-ux/page/no_data_config/types:build",
|
||||
"//packages/shared-ux/page/no_data/impl:build",
|
||||
"//packages/shared-ux/page/no_data/mocks:build",
|
||||
"//packages/shared-ux/page/no_data/types:build",
|
||||
"//packages/shared-ux/page/solution_nav:build",
|
||||
"//packages/shared-ux/prompt/no_data_views/impl:build",
|
||||
"//packages/shared-ux/prompt/no_data_views/mocks:build",
|
||||
"//packages/shared-ux/prompt/no_data_views/types:build",
|
||||
"//packages/shared-ux/prompt/not_found:build",
|
||||
"//packages/shared-ux/router/impl:build",
|
||||
"//packages/shared-ux/router/mocks:build",
|
||||
"//packages/shared-ux/router/types:build",
|
||||
"//packages/shared-ux/storybook/config:build",
|
||||
"//packages/shared-ux/storybook/mock:build",
|
||||
"//x-pack/packages/ml/agg_utils:build",
|
||||
"//x-pack/packages/ml/aiops_components:build",
|
||||
"//x-pack/packages/ml/aiops_utils:build",
|
||||
"//x-pack/packages/ml/is_populated_object:build",
|
||||
"//x-pack/packages/ml/string_hash:build",
|
||||
],
|
||||
)
|
||||
|
||||
# It will build all declared package types
|
||||
filegroup(
|
||||
name = "build_pkg_types",
|
||||
srcs = [
|
||||
"//packages/analytics/client:build_types",
|
||||
"//packages/analytics/shippers/elastic_v3/browser:build_types",
|
||||
"//packages/analytics/shippers/elastic_v3/common:build_types",
|
||||
"//packages/analytics/shippers/elastic_v3/server:build_types",
|
||||
"//packages/analytics/shippers/fullstory:build_types",
|
||||
"//packages/analytics/shippers/gainsight:build_types",
|
||||
"//packages/content-management/content_editor:build_types",
|
||||
"//packages/content-management/table_list:build_types",
|
||||
"//packages/core/analytics/core-analytics-browser:build_types",
|
||||
"//packages/core/analytics/core-analytics-browser-internal:build_types",
|
||||
"//packages/core/analytics/core-analytics-browser-mocks:build_types",
|
||||
"//packages/core/analytics/core-analytics-server:build_types",
|
||||
"//packages/core/analytics/core-analytics-server-internal:build_types",
|
||||
"//packages/core/analytics/core-analytics-server-mocks:build_types",
|
||||
"//packages/core/application/core-application-browser:build_types",
|
||||
"//packages/core/application/core-application-browser-internal:build_types",
|
||||
"//packages/core/application/core-application-browser-mocks:build_types",
|
||||
"//packages/core/application/core-application-common:build_types",
|
||||
"//packages/core/apps/core-apps-browser-internal:build_types",
|
||||
"//packages/core/apps/core-apps-browser-mocks:build_types",
|
||||
"//packages/core/apps/core-apps-server-internal:build_types",
|
||||
"//packages/core/base/core-base-browser-internal:build_types",
|
||||
"//packages/core/base/core-base-browser-mocks:build_types",
|
||||
"//packages/core/base/core-base-common:build_types",
|
||||
"//packages/core/base/core-base-common-internal:build_types",
|
||||
"//packages/core/base/core-base-server-internal:build_types",
|
||||
"//packages/core/base/core-base-server-mocks:build_types",
|
||||
"//packages/core/capabilities/core-capabilities-browser-internal:build_types",
|
||||
"//packages/core/capabilities/core-capabilities-browser-mocks:build_types",
|
||||
"//packages/core/capabilities/core-capabilities-common:build_types",
|
||||
"//packages/core/capabilities/core-capabilities-server:build_types",
|
||||
"//packages/core/capabilities/core-capabilities-server-internal:build_types",
|
||||
"//packages/core/capabilities/core-capabilities-server-mocks:build_types",
|
||||
"//packages/core/chrome/core-chrome-browser:build_types",
|
||||
"//packages/core/chrome/core-chrome-browser-internal:build_types",
|
||||
"//packages/core/chrome/core-chrome-browser-mocks:build_types",
|
||||
"//packages/core/config/core-config-server-internal:build_types",
|
||||
"//packages/core/deprecations/core-deprecations-browser:build_types",
|
||||
"//packages/core/deprecations/core-deprecations-browser-internal:build_types",
|
||||
"//packages/core/deprecations/core-deprecations-browser-mocks:build_types",
|
||||
"//packages/core/deprecations/core-deprecations-common:build_types",
|
||||
"//packages/core/deprecations/core-deprecations-server:build_types",
|
||||
"//packages/core/deprecations/core-deprecations-server-internal:build_types",
|
||||
"//packages/core/deprecations/core-deprecations-server-mocks:build_types",
|
||||
"//packages/core/doc-links/core-doc-links-browser:build_types",
|
||||
"//packages/core/doc-links/core-doc-links-browser-internal:build_types",
|
||||
"//packages/core/doc-links/core-doc-links-browser-mocks:build_types",
|
||||
"//packages/core/doc-links/core-doc-links-server:build_types",
|
||||
"//packages/core/doc-links/core-doc-links-server-internal:build_types",
|
||||
"//packages/core/doc-links/core-doc-links-server-mocks:build_types",
|
||||
"//packages/core/elasticsearch/core-elasticsearch-client-server-internal:build_types",
|
||||
"//packages/core/elasticsearch/core-elasticsearch-client-server-mocks:build_types",
|
||||
"//packages/core/elasticsearch/core-elasticsearch-server:build_types",
|
||||
"//packages/core/elasticsearch/core-elasticsearch-server-internal:build_types",
|
||||
"//packages/core/elasticsearch/core-elasticsearch-server-mocks:build_types",
|
||||
"//packages/core/environment/core-environment-server-internal:build_types",
|
||||
"//packages/core/environment/core-environment-server-mocks:build_types",
|
||||
"//packages/core/execution-context/core-execution-context-browser:build_types",
|
||||
"//packages/core/execution-context/core-execution-context-browser-internal:build_types",
|
||||
"//packages/core/execution-context/core-execution-context-browser-mocks:build_types",
|
||||
"//packages/core/execution-context/core-execution-context-common:build_types",
|
||||
"//packages/core/execution-context/core-execution-context-server:build_types",
|
||||
"//packages/core/execution-context/core-execution-context-server-internal:build_types",
|
||||
"//packages/core/execution-context/core-execution-context-server-mocks:build_types",
|
||||
"//packages/core/fatal-errors/core-fatal-errors-browser:build_types",
|
||||
"//packages/core/fatal-errors/core-fatal-errors-browser-internal:build_types",
|
||||
"//packages/core/fatal-errors/core-fatal-errors-browser-mocks:build_types",
|
||||
"//packages/core/http/core-http-browser:build_types",
|
||||
"//packages/core/http/core-http-browser-internal:build_types",
|
||||
"//packages/core/http/core-http-browser-mocks:build_types",
|
||||
"//packages/core/http/core-http-common:build_types",
|
||||
"//packages/core/http/core-http-context-server-internal:build_types",
|
||||
"//packages/core/http/core-http-context-server-mocks:build_types",
|
||||
"//packages/core/http/core-http-request-handler-context-server:build_types",
|
||||
"//packages/core/http/core-http-request-handler-context-server-internal:build_types",
|
||||
"//packages/core/http/core-http-resources-server:build_types",
|
||||
"//packages/core/http/core-http-resources-server-internal:build_types",
|
||||
"//packages/core/http/core-http-resources-server-mocks:build_types",
|
||||
"//packages/core/http/core-http-router-server-internal:build_types",
|
||||
"//packages/core/http/core-http-router-server-mocks:build_types",
|
||||
"//packages/core/http/core-http-server:build_types",
|
||||
"//packages/core/http/core-http-server-internal:build_types",
|
||||
"//packages/core/http/core-http-server-mocks:build_types",
|
||||
"//packages/core/i18n/core-i18n-browser:build_types",
|
||||
"//packages/core/i18n/core-i18n-browser-internal:build_types",
|
||||
"//packages/core/i18n/core-i18n-browser-mocks:build_types",
|
||||
"//packages/core/i18n/core-i18n-server:build_types",
|
||||
"//packages/core/i18n/core-i18n-server-internal:build_types",
|
||||
"//packages/core/i18n/core-i18n-server-mocks:build_types",
|
||||
"//packages/core/injected-metadata/core-injected-metadata-browser-internal:build_types",
|
||||
"//packages/core/injected-metadata/core-injected-metadata-browser-mocks:build_types",
|
||||
"//packages/core/injected-metadata/core-injected-metadata-common-internal:build_types",
|
||||
"//packages/core/integrations/core-integrations-browser-internal:build_types",
|
||||
"//packages/core/integrations/core-integrations-browser-mocks:build_types",
|
||||
"//packages/core/lifecycle/core-lifecycle-browser:build_types",
|
||||
"//packages/core/lifecycle/core-lifecycle-browser-internal:build_types",
|
||||
"//packages/core/lifecycle/core-lifecycle-browser-mocks:build_types",
|
||||
"//packages/core/lifecycle/core-lifecycle-server:build_types",
|
||||
"//packages/core/lifecycle/core-lifecycle-server-internal:build_types",
|
||||
"//packages/core/lifecycle/core-lifecycle-server-mocks:build_types",
|
||||
"//packages/core/logging/core-logging-browser-internal:build_types",
|
||||
"//packages/core/logging/core-logging-browser-mocks:build_types",
|
||||
"//packages/core/logging/core-logging-common-internal:build_types",
|
||||
"//packages/core/logging/core-logging-server:build_types",
|
||||
"//packages/core/logging/core-logging-server-internal:build_types",
|
||||
"//packages/core/logging/core-logging-server-mocks:build_types",
|
||||
"//packages/core/metrics/core-metrics-collectors-server-internal:build_types",
|
||||
"//packages/core/metrics/core-metrics-collectors-server-mocks:build_types",
|
||||
"//packages/core/metrics/core-metrics-server:build_types",
|
||||
"//packages/core/metrics/core-metrics-server-internal:build_types",
|
||||
"//packages/core/metrics/core-metrics-server-mocks:build_types",
|
||||
"//packages/core/mount-utils/core-mount-utils-browser:build_types",
|
||||
"//packages/core/mount-utils/core-mount-utils-browser-internal:build_types",
|
||||
"//packages/core/node/core-node-server:build_types",
|
||||
"//packages/core/node/core-node-server-internal:build_types",
|
||||
"//packages/core/node/core-node-server-mocks:build_types",
|
||||
"//packages/core/notifications/core-notifications-browser:build_types",
|
||||
"//packages/core/notifications/core-notifications-browser-internal:build_types",
|
||||
"//packages/core/notifications/core-notifications-browser-mocks:build_types",
|
||||
"//packages/core/overlays/core-overlays-browser:build_types",
|
||||
"//packages/core/overlays/core-overlays-browser-internal:build_types",
|
||||
"//packages/core/overlays/core-overlays-browser-mocks:build_types",
|
||||
"//packages/core/plugins/core-plugins-base-server-internal:build_types",
|
||||
"//packages/core/plugins/core-plugins-browser:build_types",
|
||||
"//packages/core/plugins/core-plugins-browser-internal:build_types",
|
||||
"//packages/core/plugins/core-plugins-browser-mocks:build_types",
|
||||
"//packages/core/plugins/core-plugins-server:build_types",
|
||||
"//packages/core/plugins/core-plugins-server-internal:build_types",
|
||||
"//packages/core/plugins/core-plugins-server-mocks:build_types",
|
||||
"//packages/core/preboot/core-preboot-server:build_types",
|
||||
"//packages/core/preboot/core-preboot-server-internal:build_types",
|
||||
"//packages/core/preboot/core-preboot-server-mocks:build_types",
|
||||
"//packages/core/rendering/core-rendering-browser-internal:build_types",
|
||||
"//packages/core/rendering/core-rendering-browser-mocks:build_types",
|
||||
"//packages/core/rendering/core-rendering-server-internal:build_types",
|
||||
"//packages/core/rendering/core-rendering-server-mocks:build_types",
|
||||
"//packages/core/root/core-root-browser-internal:build_types",
|
||||
"//packages/core/root/core-root-server-internal:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-api-browser:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-api-server:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-api-server-internal:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-api-server-mocks:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-base-server-internal:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-base-server-mocks:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-browser:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-browser-internal:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-browser-mocks:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-common:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-import-export-server-internal:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-import-export-server-mocks:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-migration-server-internal:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-migration-server-mocks:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-server:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-server-internal:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-server-mocks:build_types",
|
||||
"//packages/core/saved-objects/core-saved-objects-utils-server:build_types",
|
||||
"//packages/core/status/core-status-common:build_types",
|
||||
"//packages/core/status/core-status-common-internal:build_types",
|
||||
"//packages/core/status/core-status-server:build_types",
|
||||
"//packages/core/status/core-status-server-internal:build_types",
|
||||
"//packages/core/status/core-status-server-mocks:build_types",
|
||||
"//packages/core/test-helpers/core-test-helpers-deprecations-getters:build_types",
|
||||
"//packages/core/test-helpers/core-test-helpers-http-setup-browser:build_types",
|
||||
"//packages/core/test-helpers/core-test-helpers-kbn-server:build_types",
|
||||
"//packages/core/test-helpers/core-test-helpers-so-type-serializer:build_types",
|
||||
"//packages/core/test-helpers/core-test-helpers-test-utils:build_types",
|
||||
"//packages/core/theme/core-theme-browser:build_types",
|
||||
"//packages/core/theme/core-theme-browser-internal:build_types",
|
||||
"//packages/core/theme/core-theme-browser-mocks:build_types",
|
||||
"//packages/core/ui-settings/core-ui-settings-browser:build_types",
|
||||
"//packages/core/ui-settings/core-ui-settings-browser-internal:build_types",
|
||||
"//packages/core/ui-settings/core-ui-settings-browser-mocks:build_types",
|
||||
"//packages/core/ui-settings/core-ui-settings-common:build_types",
|
||||
"//packages/core/ui-settings/core-ui-settings-server:build_types",
|
||||
"//packages/core/ui-settings/core-ui-settings-server-internal:build_types",
|
||||
"//packages/core/ui-settings/core-ui-settings-server-mocks:build_types",
|
||||
"//packages/core/usage-data/core-usage-data-base-server-internal:build_types",
|
||||
"//packages/core/usage-data/core-usage-data-server:build_types",
|
||||
"//packages/core/usage-data/core-usage-data-server-internal:build_types",
|
||||
"//packages/core/usage-data/core-usage-data-server-mocks:build_types",
|
||||
"//packages/home/sample_data_card:build_types",
|
||||
"//packages/home/sample_data_tab:build_types",
|
||||
"//packages/kbn-ace:build_types",
|
||||
"//packages/kbn-alerts:build_types",
|
||||
"//packages/kbn-analytics:build_types",
|
||||
"//packages/kbn-apm-config-loader:build_types",
|
||||
"//packages/kbn-apm-synthtrace:build_types",
|
||||
"//packages/kbn-apm-utils:build_types",
|
||||
"//packages/kbn-axe-config:build_types",
|
||||
"//packages/kbn-bazel-packages:build_types",
|
||||
"//packages/kbn-bazel-runner:build_types",
|
||||
"//packages/kbn-cases-components:build_types",
|
||||
"//packages/kbn-chart-icons:build_types",
|
||||
"//packages/kbn-ci-stats-core:build_types",
|
||||
"//packages/kbn-ci-stats-performance-metrics:build_types",
|
||||
"//packages/kbn-ci-stats-reporter:build_types",
|
||||
"//packages/kbn-cli-dev-mode:build_types",
|
||||
"//packages/kbn-coloring:build_types",
|
||||
"//packages/kbn-config:build_types",
|
||||
"//packages/kbn-config-mocks:build_types",
|
||||
"//packages/kbn-config-schema:build_types",
|
||||
"//packages/kbn-crypto:build_types",
|
||||
"//packages/kbn-crypto-browser:build_types",
|
||||
"//packages/kbn-datemath:build_types",
|
||||
"//packages/kbn-dev-cli-errors:build_types",
|
||||
"//packages/kbn-dev-cli-runner:build_types",
|
||||
"//packages/kbn-dev-proc-runner:build_types",
|
||||
"//packages/kbn-dev-utils:build_types",
|
||||
"//packages/kbn-doc-links:build_types",
|
||||
"//packages/kbn-docs-utils:build_types",
|
||||
"//packages/kbn-ebt-tools:build_types",
|
||||
"//packages/kbn-ecs:build_types",
|
||||
"//packages/kbn-es-archiver:build_types",
|
||||
"//packages/kbn-es-errors:build_types",
|
||||
"//packages/kbn-es-query:build_types",
|
||||
"//packages/kbn-es-types:build_types",
|
||||
"//packages/kbn-eslint-plugin-disable:build_types",
|
||||
"//packages/kbn-eslint-plugin-imports:build_types",
|
||||
"//packages/kbn-failed-test-reporter-cli:build_types",
|
||||
"//packages/kbn-field-types:build_types",
|
||||
"//packages/kbn-find-used-node-modules:build_types",
|
||||
"//packages/kbn-ftr-common-functional-services:build_types",
|
||||
"//packages/kbn-ftr-screenshot-filename:build_types",
|
||||
"//packages/kbn-generate:build_types",
|
||||
"//packages/kbn-get-repo-files:build_types",
|
||||
"//packages/kbn-guided-onboarding:build_types",
|
||||
"//packages/kbn-handlebars:build_types",
|
||||
"//packages/kbn-hapi-mocks:build_types",
|
||||
"//packages/kbn-health-gateway-server:build_types",
|
||||
"//packages/kbn-i18n:build_types",
|
||||
"//packages/kbn-i18n-react:build_types",
|
||||
"//packages/kbn-import-resolver:build_types",
|
||||
"//packages/kbn-interpreter:build_types",
|
||||
"//packages/kbn-io-ts-utils:build_types",
|
||||
"//packages/kbn-jest-serializers:build_types",
|
||||
"//packages/kbn-journeys:build_types",
|
||||
"//packages/kbn-kibana-manifest-schema:build_types",
|
||||
"//packages/kbn-language-documentation-popover:build_types",
|
||||
"//packages/kbn-logging:build_types",
|
||||
"//packages/kbn-logging-mocks:build_types",
|
||||
"//packages/kbn-managed-vscode-config:build_types",
|
||||
"//packages/kbn-managed-vscode-config-cli:build_types",
|
||||
"//packages/kbn-mapbox-gl:build_types",
|
||||
"//packages/kbn-monaco:build_types",
|
||||
"//packages/kbn-optimizer:build_types",
|
||||
"//packages/kbn-optimizer-webpack-helpers:build_types",
|
||||
"//packages/kbn-osquery-io-ts-types:build_types",
|
||||
"//packages/kbn-peggy:build_types",
|
||||
"//packages/kbn-peggy-loader:build_types",
|
||||
"//packages/kbn-performance-testing-dataset-extractor:build_types",
|
||||
"//packages/kbn-plugin-discovery:build_types",
|
||||
"//packages/kbn-plugin-generator:build_types",
|
||||
"//packages/kbn-plugin-helpers:build_types",
|
||||
"//packages/kbn-react-field:build_types",
|
||||
"//packages/kbn-repo-source-classifier:build_types",
|
||||
"//packages/kbn-repo-source-classifier-cli:build_types",
|
||||
"//packages/kbn-rison:build_types",
|
||||
"//packages/kbn-rule-data-utils:build_types",
|
||||
"//packages/kbn-safer-lodash-set:build_types",
|
||||
"//packages/kbn-securitysolution-autocomplete:build_types",
|
||||
"//packages/kbn-securitysolution-es-utils:build_types",
|
||||
"//packages/kbn-securitysolution-exception-list-components:build_types",
|
||||
"//packages/kbn-securitysolution-hook-utils:build_types",
|
||||
"//packages/kbn-securitysolution-io-ts-alerting-types:build_types",
|
||||
"//packages/kbn-securitysolution-io-ts-list-types:build_types",
|
||||
"//packages/kbn-securitysolution-io-ts-types:build_types",
|
||||
"//packages/kbn-securitysolution-io-ts-utils:build_types",
|
||||
"//packages/kbn-securitysolution-list-api:build_types",
|
||||
"//packages/kbn-securitysolution-list-constants:build_types",
|
||||
"//packages/kbn-securitysolution-list-hooks:build_types",
|
||||
"//packages/kbn-securitysolution-list-utils:build_types",
|
||||
"//packages/kbn-securitysolution-rules:build_types",
|
||||
"//packages/kbn-securitysolution-t-grid:build_types",
|
||||
"//packages/kbn-securitysolution-utils:build_types",
|
||||
"//packages/kbn-server-http-tools:build_types",
|
||||
"//packages/kbn-server-route-repository:build_types",
|
||||
"//packages/kbn-shared-svg:build_types",
|
||||
"//packages/kbn-shared-ux-utility:build_types",
|
||||
"//packages/kbn-some-dev-log:build_types",
|
||||
"//packages/kbn-sort-package-json:build_types",
|
||||
"//packages/kbn-std:build_types",
|
||||
"//packages/kbn-stdio-dev-helpers:build_types",
|
||||
"//packages/kbn-storybook:build_types",
|
||||
"//packages/kbn-telemetry-tools:build_types",
|
||||
"//packages/kbn-test:build_types",
|
||||
"//packages/kbn-test-jest-helpers:build_types",
|
||||
"//packages/kbn-test-subj-selector:build_types",
|
||||
"//packages/kbn-tooling-log:build_types",
|
||||
"//packages/kbn-type-summarizer:build_types",
|
||||
"//packages/kbn-type-summarizer-cli:build_types",
|
||||
"//packages/kbn-type-summarizer-core:build_types",
|
||||
"//packages/kbn-typed-react-router-config:build_types",
|
||||
"//packages/kbn-ui-shared-deps-npm:build_types",
|
||||
"//packages/kbn-ui-shared-deps-src:build_types",
|
||||
"//packages/kbn-ui-theme:build_types",
|
||||
"//packages/kbn-user-profile-components:build_types",
|
||||
"//packages/kbn-utility-types:build_types",
|
||||
"//packages/kbn-utility-types-jest:build_types",
|
||||
"//packages/kbn-utils:build_types",
|
||||
"//packages/kbn-yarn-lock-validator:build_types",
|
||||
"//packages/shared-ux/avatar/solution:build_types",
|
||||
"//packages/shared-ux/avatar/user_profile/impl:build_types",
|
||||
"//packages/shared-ux/button_toolbar:build_types",
|
||||
"//packages/shared-ux/button/exit_full_screen/impl:build_types",
|
||||
"//packages/shared-ux/button/exit_full_screen/mocks:build_types",
|
||||
"//packages/shared-ux/card/no_data/impl:build_types",
|
||||
"//packages/shared-ux/card/no_data/mocks:build_types",
|
||||
"//packages/shared-ux/file/context:build_types",
|
||||
"//packages/shared-ux/file/file_picker/impl:build_types",
|
||||
"//packages/shared-ux/file/file_upload/impl:build_types",
|
||||
"//packages/shared-ux/file/image/impl:build_types",
|
||||
"//packages/shared-ux/file/image/mocks:build_types",
|
||||
"//packages/shared-ux/file/mocks:build_types",
|
||||
"//packages/shared-ux/file/util:build_types",
|
||||
"//packages/shared-ux/link/redirect_app/impl:build_types",
|
||||
"//packages/shared-ux/link/redirect_app/mocks:build_types",
|
||||
"//packages/shared-ux/markdown/impl:build_types",
|
||||
"//packages/shared-ux/markdown/mocks:build_types",
|
||||
"//packages/shared-ux/markdown/types:build_types",
|
||||
"//packages/shared-ux/page/analytics_no_data/impl:build_types",
|
||||
"//packages/shared-ux/page/analytics_no_data/mocks:build_types",
|
||||
"//packages/shared-ux/page/kibana_no_data/impl:build_types",
|
||||
"//packages/shared-ux/page/kibana_no_data/mocks:build_types",
|
||||
"//packages/shared-ux/page/kibana_template/impl:build_types",
|
||||
"//packages/shared-ux/page/kibana_template/mocks:build_types",
|
||||
"//packages/shared-ux/page/no_data_config/impl:build_types",
|
||||
"//packages/shared-ux/page/no_data_config/mocks:build_types",
|
||||
"//packages/shared-ux/page/no_data/impl:build_types",
|
||||
"//packages/shared-ux/page/no_data/mocks:build_types",
|
||||
"//packages/shared-ux/page/solution_nav:build_types",
|
||||
"//packages/shared-ux/prompt/no_data_views/impl:build_types",
|
||||
"//packages/shared-ux/prompt/no_data_views/mocks:build_types",
|
||||
"//packages/shared-ux/prompt/not_found:build_types",
|
||||
"//packages/shared-ux/router/impl:build_types",
|
||||
"//packages/shared-ux/router/mocks:build_types",
|
||||
"//packages/shared-ux/storybook/config:build_types",
|
||||
"//packages/shared-ux/storybook/mock:build_types",
|
||||
"//x-pack/packages/ml/agg_utils:build_types",
|
||||
"//x-pack/packages/ml/aiops_components:build_types",
|
||||
"//x-pack/packages/ml/aiops_utils:build_types",
|
||||
"//x-pack/packages/ml/is_populated_object:build_types",
|
||||
"//x-pack/packages/ml/string_hash:build_types",
|
||||
],
|
||||
)
|
||||
|
||||
# Grouping target to call all underlying packages js builds
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [
|
||||
":build_pkg_code"
|
||||
],
|
||||
)
|
||||
|
||||
# Grouping target to call all underlying packages ts builds
|
||||
filegroup(
|
||||
name = "build_types",
|
||||
srcs = [
|
||||
":build_pkg_types"
|
||||
],
|
||||
)
|
|
@ -1,137 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project")
|
||||
|
||||
PKG_DIRNAME = "client"
|
||||
PKG_REQUIRE_NAME = "@kbn/analytics-client"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"**/*.ts",
|
||||
],
|
||||
exclude = [
|
||||
"**/*.config.js",
|
||||
"**/*.mock.*",
|
||||
"**/*.test.*",
|
||||
"**/*.stories.*",
|
||||
"**/__snapshots__/**",
|
||||
"**/integration_tests/**",
|
||||
"**/mocks/**",
|
||||
"**/scripts/**",
|
||||
"**/storybook/**",
|
||||
"**/test_fixtures/**",
|
||||
"**/test_helpers/**",
|
||||
],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
]
|
||||
|
||||
# In this array place runtime dependencies, including other packages and NPM packages
|
||||
# which must be available for this code to run.
|
||||
#
|
||||
# To reference other packages use:
|
||||
# "//repo/relative/path/to/package"
|
||||
# eg. "//packages/kbn-utils"
|
||||
#
|
||||
# To reference a NPM package use:
|
||||
# "@npm//name-of-package"
|
||||
# eg. "@npm//lodash"
|
||||
RUNTIME_DEPS = [
|
||||
"@npm//fp-ts",
|
||||
"@npm//io-ts",
|
||||
"@npm//rxjs",
|
||||
]
|
||||
|
||||
# In this array place dependencies necessary to build the types, which will include the
|
||||
# :npm_module_types target of other packages and packages from NPM, including @types/*
|
||||
# packages.
|
||||
#
|
||||
# To reference the types for another package use:
|
||||
# "//repo/relative/path/to/package:npm_module_types"
|
||||
# eg. "//packages/kbn-utils:npm_module_types"
|
||||
#
|
||||
# References to NPM packages work the same as RUNTIME_DEPS
|
||||
TYPES_DEPS = [
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/jest",
|
||||
"@npm//fp-ts",
|
||||
"@npm//io-ts",
|
||||
"@npm//rxjs",
|
||||
"//packages/kbn-logging:npm_module_types",
|
||||
"//packages/kbn-logging-mocks:npm_module_types",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_web",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
web = True,
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
"//:tsconfig.bazel.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = "npm_module_types",
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [":npm_module"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"type": "shared-common",
|
||||
"id": "@kbn/analytics-client",
|
||||
"owner": "@elastic/kibana-core",
|
||||
"runtimeDeps": [],
|
||||
"typeDeps": []
|
||||
"owner": "@elastic/kibana-core"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
"name": "@kbn/analytics-client",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"browser": "./target_web/index.js",
|
||||
"main": "./target_node/index.js",
|
||||
"author": "Kibana Core",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"types": "./target_types/index.d.ts"
|
||||
}
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0"
|
||||
}
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.bazel.json",
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"outDir": "target/types",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
@ -11,5 +9,12 @@
|
|||
},
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/logging",
|
||||
"@kbn/logging-mocks"
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,136 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project")
|
||||
|
||||
PKG_DIRNAME = "browser"
|
||||
PKG_REQUIRE_NAME = "@kbn/analytics-shippers-elastic-v3-browser"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"**/*.ts",
|
||||
],
|
||||
exclude = [
|
||||
"**/*.config.js",
|
||||
"**/*.mock.*",
|
||||
"**/*.test.*",
|
||||
"**/*.stories.*",
|
||||
"**/__snapshots__/**",
|
||||
"**/integration_tests/**",
|
||||
"**/mocks/**",
|
||||
"**/scripts/**",
|
||||
"**/storybook/**",
|
||||
"**/test_fixtures/**",
|
||||
"**/test_helpers/**",
|
||||
],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
]
|
||||
|
||||
# In this array place runtime dependencies, including other packages and NPM packages
|
||||
# which must be available for this code to run.
|
||||
#
|
||||
# To reference other packages use:
|
||||
# "//repo/relative/path/to/package"
|
||||
# eg. "//packages/kbn-utils"
|
||||
#
|
||||
# To reference a NPM package use:
|
||||
# "@npm//name-of-package"
|
||||
# eg. "@npm//lodash"
|
||||
RUNTIME_DEPS = [
|
||||
"@npm//rxjs",
|
||||
"//packages/analytics/client",
|
||||
"//packages/analytics/shippers/elastic_v3/common",
|
||||
]
|
||||
|
||||
# In this array place dependencies necessary to build the types, which will include the
|
||||
# :npm_module_types target of other packages and packages from NPM, including @types/*
|
||||
# packages.
|
||||
#
|
||||
# To reference the types for another package use:
|
||||
# "//repo/relative/path/to/package:npm_module_types"
|
||||
# eg. "//packages/kbn-utils:npm_module_types"
|
||||
#
|
||||
# References to NPM packages work the same as RUNTIME_DEPS
|
||||
TYPES_DEPS = [
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/jest",
|
||||
"@npm//rxjs",
|
||||
"//packages/analytics/client:npm_module_types",
|
||||
"//packages/analytics/shippers/elastic_v3/common:npm_module_types",
|
||||
"//packages/kbn-logging-mocks:npm_module_types",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_web",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
web = True,
|
||||
)
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
"//:tsconfig.bazel.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = "npm_module_types",
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [":npm_module"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"type": "shared-common",
|
||||
"id": "@kbn/analytics-shippers-elastic-v3-browser",
|
||||
"owner": "@elastic/kibana-core",
|
||||
"runtimeDeps": [],
|
||||
"typeDeps": []
|
||||
"owner": "@elastic/kibana-core"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
"name": "@kbn/analytics-shippers-elastic-v3-browser",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"browser": "./target_web/index.js",
|
||||
"main": "./target_node/index.js",
|
||||
"author": "Kibana Core",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"types": "./target_types/index.d.ts"
|
||||
}
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0"
|
||||
}
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": "../../../../../tsconfig.bazel.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"outDir": "target/types",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
@ -11,5 +9,13 @@
|
|||
},
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/analytics-client",
|
||||
"@kbn/analytics-shippers-elastic-v3-common",
|
||||
"@kbn/logging-mocks"
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,132 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project")
|
||||
|
||||
PKG_DIRNAME = "common"
|
||||
PKG_REQUIRE_NAME = "@kbn/analytics-shippers-elastic-v3-common"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"**/*.ts",
|
||||
],
|
||||
exclude = [
|
||||
"**/*.config.js",
|
||||
"**/*.mock.*",
|
||||
"**/*.test.*",
|
||||
"**/*.stories.*",
|
||||
"**/__snapshots__/**",
|
||||
"**/integration_tests/**",
|
||||
"**/mocks/**",
|
||||
"**/scripts/**",
|
||||
"**/storybook/**",
|
||||
"**/test_fixtures/**",
|
||||
"**/test_helpers/**",
|
||||
],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
]
|
||||
|
||||
# In this array place runtime dependencies, including other packages and NPM packages
|
||||
# which must be available for this code to run.
|
||||
#
|
||||
# To reference other packages use:
|
||||
# "//repo/relative/path/to/package"
|
||||
# eg. "//packages/kbn-utils"
|
||||
#
|
||||
# To reference a NPM package use:
|
||||
# "@npm//name-of-package"
|
||||
# eg. "@npm//lodash"
|
||||
RUNTIME_DEPS = [
|
||||
"@npm//rxjs",
|
||||
]
|
||||
|
||||
# In this array place dependencies necessary to build the types, which will include the
|
||||
# :npm_module_types target of other packages and packages from NPM, including @types/*
|
||||
# packages.
|
||||
#
|
||||
# To reference the types for another package use:
|
||||
# "//repo/relative/path/to/package:npm_module_types"
|
||||
# eg. "//packages/kbn-utils:npm_module_types"
|
||||
#
|
||||
# References to NPM packages work the same as RUNTIME_DEPS
|
||||
TYPES_DEPS = [
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/jest",
|
||||
"@npm//rxjs",
|
||||
"//packages/analytics/client:npm_module_types",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_web",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
web = True,
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
"//:tsconfig.bazel.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = "npm_module_types",
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [":npm_module"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"type": "shared-common",
|
||||
"id": "@kbn/analytics-shippers-elastic-v3-common",
|
||||
"owner": "@elastic/kibana-core",
|
||||
"runtimeDeps": [],
|
||||
"typeDeps": []
|
||||
"owner": "@elastic/kibana-core"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
"name": "@kbn/analytics-shippers-elastic-v3-common",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"browser": "./target_web/index.js",
|
||||
"main": "./target_node/index.js",
|
||||
"author": "Kibana Core",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"types": "./target_types/index.d.ts"
|
||||
}
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0"
|
||||
}
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": "../../../../../tsconfig.bazel.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"outDir": "target/types",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
@ -11,5 +9,11 @@
|
|||
},
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/analytics-client"
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,131 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project")
|
||||
|
||||
PKG_DIRNAME = "server"
|
||||
PKG_REQUIRE_NAME = "@kbn/analytics-shippers-elastic-v3-server"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"**/*.ts",
|
||||
],
|
||||
exclude = [
|
||||
"**/*.config.js",
|
||||
"**/*.mock.*",
|
||||
"**/*.test.*",
|
||||
"**/*.stories.*",
|
||||
"**/__snapshots__/**",
|
||||
"**/integration_tests/**",
|
||||
"**/mocks/**",
|
||||
"**/scripts/**",
|
||||
"**/storybook/**",
|
||||
"**/test_fixtures/**",
|
||||
"**/test_helpers/**",
|
||||
],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
]
|
||||
|
||||
# In this array place runtime dependencies, including other packages and NPM packages
|
||||
# which must be available for this code to run.
|
||||
#
|
||||
# To reference other packages use:
|
||||
# "//repo/relative/path/to/package"
|
||||
# eg. "//packages/kbn-utils"
|
||||
#
|
||||
# To reference a NPM package use:
|
||||
# "@npm//name-of-package"
|
||||
# eg. "@npm//lodash"
|
||||
RUNTIME_DEPS = [
|
||||
"@npm//node-fetch",
|
||||
"@npm//rxjs",
|
||||
"//packages/analytics/client",
|
||||
"//packages/analytics/shippers/elastic_v3/common",
|
||||
]
|
||||
|
||||
# In this array place dependencies necessary to build the types, which will include the
|
||||
# :npm_module_types target of other packages and packages from NPM, including @types/*
|
||||
# packages.
|
||||
#
|
||||
# To reference the types for another package use:
|
||||
# "//repo/relative/path/to/package:npm_module_types"
|
||||
# eg. "//packages/kbn-utils:npm_module_types"
|
||||
#
|
||||
# References to NPM packages work the same as RUNTIME_DEPS
|
||||
TYPES_DEPS = [
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/node-fetch",
|
||||
"@npm//@types/jest",
|
||||
"@npm//rxjs",
|
||||
"//packages/analytics/client:npm_module_types",
|
||||
"//packages/analytics/shippers/elastic_v3/common:npm_module_types",
|
||||
"//packages/kbn-logging-mocks:npm_module_types",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
"//:tsconfig.bazel.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = "npm_module_types",
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [":npm_module"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"type": "shared-common",
|
||||
"id": "@kbn/analytics-shippers-elastic-v3-server",
|
||||
"owner": "@elastic/kibana-core",
|
||||
"runtimeDeps": [],
|
||||
"typeDeps": []
|
||||
"owner": "@elastic/kibana-core"
|
||||
}
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
"name": "@kbn/analytics-shippers-elastic-v3-server",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"main": "./target_node/index.js",
|
||||
"author": "Kibana Core",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"types": "./target_types/index.d.ts"
|
||||
}
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0"
|
||||
}
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": "../../../../../tsconfig.bazel.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"outDir": "target/types",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
@ -11,5 +9,13 @@
|
|||
},
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/analytics-client",
|
||||
"@kbn/analytics-shippers-elastic-v3-common",
|
||||
"@kbn/logging-mocks"
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,133 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project")
|
||||
|
||||
PKG_DIRNAME = "fullstory"
|
||||
PKG_REQUIRE_NAME = "@kbn/analytics-shippers-fullstory"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"**/*.ts",
|
||||
],
|
||||
exclude = [
|
||||
"**/*.config.js",
|
||||
"**/*.mock.*",
|
||||
"**/*.test.*",
|
||||
"**/*.stories.*",
|
||||
"**/__snapshots__/**",
|
||||
"**/integration_tests/**",
|
||||
"**/mocks/**",
|
||||
"**/scripts/**",
|
||||
"**/storybook/**",
|
||||
"**/test_fixtures/**",
|
||||
"**/test_helpers/**",
|
||||
],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
]
|
||||
|
||||
# In this array place runtime dependencies, including other packages and NPM packages
|
||||
# which must be available for this code to run.
|
||||
#
|
||||
# To reference other packages use:
|
||||
# "//repo/relative/path/to/package"
|
||||
# eg. "//packages/kbn-utils"
|
||||
#
|
||||
# To reference a NPM package use:
|
||||
# "@npm//name-of-package"
|
||||
# eg. "@npm//lodash"
|
||||
RUNTIME_DEPS = [
|
||||
"@npm//moment",
|
||||
]
|
||||
|
||||
# In this array place dependencies necessary to build the types, which will include the
|
||||
# :npm_module_types target of other packages and packages from NPM, including @types/*
|
||||
# packages.
|
||||
#
|
||||
# To reference the types for another package use:
|
||||
# "//repo/relative/path/to/package:npm_module_types"
|
||||
# eg. "//packages/kbn-utils:npm_module_types"
|
||||
#
|
||||
# References to NPM packages work the same as RUNTIME_DEPS
|
||||
TYPES_DEPS = [
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/jest",
|
||||
"@npm//moment",
|
||||
"//packages/analytics/client:npm_module_types",
|
||||
"//packages/kbn-logging-mocks:npm_module_types",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_web",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
web = True,
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
"//:tsconfig.bazel.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = "npm_module_types",
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [":npm_module"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"type": "shared-common",
|
||||
"id": "@kbn/analytics-shippers-fullstory",
|
||||
"owner": "@elastic/kibana-core",
|
||||
"runtimeDeps": [],
|
||||
"typeDeps": []
|
||||
"owner": "@elastic/kibana-core"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
"name": "@kbn/analytics-shippers-fullstory",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"browser": "./target_web/index.js",
|
||||
"main": "./target_node/index.js",
|
||||
"author": "Kibana Core",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"types": "./target_types/index.d.ts"
|
||||
}
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0"
|
||||
}
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": "../../../../tsconfig.bazel.json",
|
||||
"extends": "../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"outDir": "target/types",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
@ -11,5 +9,12 @@
|
|||
},
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/analytics-client",
|
||||
"@kbn/logging-mocks"
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,133 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project")
|
||||
|
||||
PKG_DIRNAME = "gainsight"
|
||||
PKG_REQUIRE_NAME = "@kbn/analytics-shippers-gainsight"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"**/*.ts",
|
||||
],
|
||||
exclude = [
|
||||
"**/*.config.js",
|
||||
"**/*.mock.*",
|
||||
"**/*.test.*",
|
||||
"**/*.stories.*",
|
||||
"**/__snapshots__/**",
|
||||
"**/integration_tests/**",
|
||||
"**/mocks/**",
|
||||
"**/scripts/**",
|
||||
"**/storybook/**",
|
||||
"**/test_fixtures/**",
|
||||
"**/test_helpers/**",
|
||||
],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
]
|
||||
|
||||
# In this array place runtime dependencies, including other packages and NPM packages
|
||||
# which must be available for this code to run.
|
||||
#
|
||||
# To reference other packages use:
|
||||
# "//repo/relative/path/to/package"
|
||||
# eg. "//packages/kbn-utils"
|
||||
#
|
||||
# To reference a NPM package use:
|
||||
# "@npm//name-of-package"
|
||||
# eg. "@npm//lodash"
|
||||
RUNTIME_DEPS = [
|
||||
"@npm//moment",
|
||||
]
|
||||
|
||||
# In this array place dependencies necessary to build the types, which will include the
|
||||
# :npm_module_types target of other packages and packages from NPM, including @types/*
|
||||
# packages.
|
||||
#
|
||||
# To reference the types for another package use:
|
||||
# "//repo/relative/path/to/package:npm_module_types"
|
||||
# eg. "//packages/kbn-utils:npm_module_types"
|
||||
#
|
||||
# References to NPM packages work the same as RUNTIME_DEPS
|
||||
TYPES_DEPS = [
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/jest",
|
||||
"@npm//moment",
|
||||
"//packages/analytics/client:npm_module_types",
|
||||
"//packages/kbn-logging-mocks:npm_module_types",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_web",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
web = True,
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
"//:tsconfig.bazel.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = "npm_module_types",
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [":npm_module"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"type": "shared-browser",
|
||||
"id": "@kbn/analytics-shippers-gainsight",
|
||||
"owner": "@elastic/kibana-core",
|
||||
"runtimeDeps": [],
|
||||
"typeDeps": []
|
||||
"owner": "@elastic/kibana-core"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
"name": "@kbn/analytics-shippers-gainsight",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"browser": "./target_web/index.js",
|
||||
"main": "./target_node/index.js",
|
||||
"author": "Kibana Core",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"types": "./target_types/index.d.ts"
|
||||
}
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0"
|
||||
}
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": "../../../../tsconfig.bazel.json",
|
||||
"extends": "../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"outDir": "target/types",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
@ -11,5 +9,12 @@
|
|||
},
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/analytics-client",
|
||||
"@kbn/logging-mocks"
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,149 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project")
|
||||
|
||||
PKG_DIRNAME = "content_editor"
|
||||
PKG_REQUIRE_NAME = "@kbn/content-management-content-editor"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
],
|
||||
exclude = [
|
||||
"**/*.config.js",
|
||||
"**/*.mock.*",
|
||||
"**/*.test.*",
|
||||
"**/*.stories.*",
|
||||
"**/__snapshots__/**",
|
||||
"**/integration_tests/**",
|
||||
"**/mocks/**",
|
||||
"**/scripts/**",
|
||||
"**/storybook/**",
|
||||
"**/test_fixtures/**",
|
||||
"**/test_helpers/**",
|
||||
],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
]
|
||||
|
||||
# In this array place runtime dependencies, including other packages and NPM packages
|
||||
# which must be available for this code to run.
|
||||
#
|
||||
# To reference other packages use:
|
||||
# "//repo/relative/path/to/package"
|
||||
# eg. "//packages/kbn-utils"
|
||||
#
|
||||
# To reference a NPM package use:
|
||||
# "@npm//name-of-package"
|
||||
# eg. "@npm//lodash"
|
||||
RUNTIME_DEPS = [
|
||||
"//packages/kbn-i18n-react",
|
||||
"//packages/kbn-i18n",
|
||||
"//packages/core/mount-utils/core-mount-utils-browser",
|
||||
"//packages/core/overlays/core-overlays-browser",
|
||||
"@npm//@elastic/eui",
|
||||
"@npm//@emotion/react",
|
||||
"@npm//react",
|
||||
"@npm//@emotion/css"
|
||||
]
|
||||
|
||||
# In this array place dependencies necessary to build the types, which will include the
|
||||
# :npm_module_types target of other packages and packages from NPM, including @types/*
|
||||
# packages.
|
||||
#
|
||||
# To reference the types for another package use:
|
||||
# "//repo/relative/path/to/package:npm_module_types"
|
||||
# eg. "//packages/kbn-utils:npm_module_types"
|
||||
#
|
||||
# References to NPM packages work the same as RUNTIME_DEPS
|
||||
TYPES_DEPS = [
|
||||
"//packages/kbn-i18n:npm_module_types",
|
||||
"//packages/kbn-i18n-react:npm_module_types",
|
||||
"//packages/kbn-ambient-storybook-types",
|
||||
"//packages/kbn-ambient-ui-types",
|
||||
"//packages/core/mount-utils/core-mount-utils-browser:npm_module_types",
|
||||
"//packages/core/overlays/core-overlays-browser:npm_module_types",
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/jest",
|
||||
"@npm//@types/react",
|
||||
"@npm//@emotion/css",
|
||||
"@npm//@emotion/react",
|
||||
"@npm//@elastic/eui",
|
||||
"@npm//rxjs"
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_web",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
web = True,
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
"//:tsconfig.bazel.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = "npm_module_types",
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [":npm_module"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -2,6 +2,4 @@
|
|||
"type": "shared-common",
|
||||
"id": "@kbn/content-management-content-editor",
|
||||
"owner": "@elastic/kibana-global-experience",
|
||||
"runtimeDeps": [],
|
||||
"typeDeps": [],
|
||||
}
|
||||
|
|
|
@ -2,8 +2,5 @@
|
|||
"name": "@kbn/content-management-content-editor",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"main": "./target_node/index.js",
|
||||
"browser": "./target_web/index.js",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"types": "./target_types/index.d.ts"
|
||||
}
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0"
|
||||
}
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.bazel.json",
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"outDir": "target/types",
|
||||
"jsx": "react",
|
||||
"esModuleInterop": true,
|
||||
"types": [
|
||||
"jest",
|
||||
"node",
|
||||
|
@ -16,5 +16,15 @@
|
|||
"include": [
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/i18n",
|
||||
"@kbn/i18n-react",
|
||||
"@kbn/core-mount-utils-browser",
|
||||
"@kbn/core-overlays-browser",
|
||||
"@kbn/test-jest-helpers",
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,164 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project")
|
||||
|
||||
PKG_DIRNAME = "table_list"
|
||||
PKG_REQUIRE_NAME = "@kbn/content-management-table-list"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
],
|
||||
exclude = [
|
||||
"**/*.config.js",
|
||||
"**/*.mock.*",
|
||||
"**/*.test.*",
|
||||
"**/*.stories.*",
|
||||
"**/__snapshots__",
|
||||
"**/integration_tests",
|
||||
"**/mocks",
|
||||
"**/scripts",
|
||||
"**/storybook",
|
||||
"**/test_fixtures",
|
||||
"**/test_helpers",
|
||||
],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
]
|
||||
|
||||
# In this array place runtime dependencies, including other packages and NPM packages
|
||||
# which must be available for this code to run.
|
||||
#
|
||||
# To reference other packages use:
|
||||
# "//repo/relative/path/to/package"
|
||||
# eg. "//packages/kbn-utils"
|
||||
#
|
||||
# To reference a NPM package use:
|
||||
# "@npm//name-of-package"
|
||||
# eg. "@npm//lodash"
|
||||
RUNTIME_DEPS = [
|
||||
"//packages/kbn-i18n-react",
|
||||
"//packages/kbn-i18n",
|
||||
"//packages/content-management/content_editor",
|
||||
"//packages/core/http/core-http-browser",
|
||||
"//packages/core/theme/core-theme-browser",
|
||||
"//packages/kbn-safer-lodash-set",
|
||||
"//packages/shared-ux/page/kibana_template/impl",
|
||||
"@npm//@elastic/eui",
|
||||
"@npm//@emotion/react",
|
||||
"@npm//@emotion/css",
|
||||
"@npm//lodash",
|
||||
"@npm//moment",
|
||||
"@npm//react-use",
|
||||
"@npm//react",
|
||||
"@npm//rxjs",
|
||||
]
|
||||
|
||||
# In this array place dependencies necessary to build the types, which will include the
|
||||
# :npm_module_types target of other packages and packages from NPM, including @types/*
|
||||
# packages.
|
||||
#
|
||||
# To reference the types for another package use:
|
||||
# "//repo/relative/path/to/package:npm_module_types"
|
||||
# eg. "//packages/kbn-utils:npm_module_types"
|
||||
#
|
||||
# References to NPM packages work the same as RUNTIME_DEPS
|
||||
TYPES_DEPS = [
|
||||
"//packages/kbn-i18n:npm_module_types",
|
||||
"//packages/kbn-i18n-react:npm_module_types",
|
||||
"//packages/content-management/content_editor:npm_module_types",
|
||||
"//packages/core/http/core-http-browser:npm_module_types",
|
||||
"//packages/core/theme/core-theme-browser:npm_module_types",
|
||||
"//packages/core/mount-utils/core-mount-utils-browser:npm_module_types",
|
||||
"//packages/core/overlays/core-overlays-browser:npm_module_types",
|
||||
"//packages/kbn-ambient-storybook-types",
|
||||
"//packages/kbn-ambient-ui-types",
|
||||
"//packages/kbn-safer-lodash-set:npm_module_types",
|
||||
"//packages/shared-ux/page/kibana_template/impl:npm_module_types",
|
||||
"//packages/shared-ux/page/kibana_template/types",
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/jest",
|
||||
"@npm//@types/lodash",
|
||||
"@npm//@types/react",
|
||||
"@npm//@emotion/css",
|
||||
"@npm//@emotion/react",
|
||||
"@npm//@elastic/eui",
|
||||
"@npm//react-use",
|
||||
"@npm//rxjs",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_web",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
web = True
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
"//:tsconfig.bazel.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = "npm_module_types",
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [":npm_module"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"type": "shared-common",
|
||||
"id": "@kbn/content-management-table-list",
|
||||
"owner": "@elastic/kibana-global-experience",
|
||||
"runtimeDeps": [],
|
||||
"typeDeps": []
|
||||
"owner": "@elastic/kibana-global-experience"
|
||||
}
|
||||
|
|
|
@ -2,8 +2,5 @@
|
|||
"name": "@kbn/content-management-table-list",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"main": "./target_node/index.js",
|
||||
"browser": "./target_web/index.js",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"types": "./target_types/index.d.ts"
|
||||
}
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0"
|
||||
}
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.bazel.json",
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"outDir": "target/types",
|
||||
"types": [
|
||||
"jest",
|
||||
"node",
|
||||
|
@ -16,5 +14,19 @@
|
|||
"include": [
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/i18n",
|
||||
"@kbn/i18n-react",
|
||||
"@kbn/content-management-content-editor",
|
||||
"@kbn/core-http-browser",
|
||||
"@kbn/core-mount-utils-browser",
|
||||
"@kbn/core-overlays-browser",
|
||||
"@kbn/shared-ux-page-kibana-template",
|
||||
"@kbn/shared-ux-link-redirect-app",
|
||||
"@kbn/test-jest-helpers",
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,126 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project")
|
||||
|
||||
PKG_DIRNAME = "core-analytics-browser-internal"
|
||||
PKG_REQUIRE_NAME = "@kbn/core-analytics-browser-internal"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
],
|
||||
exclude = [
|
||||
"**/*.config.js",
|
||||
"**/*.mock.*",
|
||||
"**/*.test.*",
|
||||
"**/*.stories.*",
|
||||
"**/__snapshots__/**",
|
||||
"**/integration_tests/**",
|
||||
"**/scripts/**",
|
||||
"**/storybook/**",
|
||||
"**/test_fixtures/**",
|
||||
"**/test_helpers/**",
|
||||
],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
]
|
||||
|
||||
RUNTIME_DEPS = [
|
||||
"@npm//rxjs",
|
||||
"@npm//uuid",
|
||||
"//packages/analytics/client",
|
||||
"//packages/kbn-ebt-tools",
|
||||
"//packages/core/base/core-base-browser-mocks",
|
||||
"//packages/core/injected-metadata/core-injected-metadata-browser-mocks",
|
||||
]
|
||||
|
||||
TYPES_DEPS = [
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/jest",
|
||||
"@npm//@types/uuid",
|
||||
"@npm//rxjs",
|
||||
"//packages/kbn-logging:npm_module_types",
|
||||
"//packages/analytics/client:npm_module_types",
|
||||
"//packages/kbn-ebt-tools:npm_module_types",
|
||||
"//packages/core/base/core-base-browser-internal:npm_module_types",
|
||||
"//packages/core/injected-metadata/core-injected-metadata-browser-internal:npm_module_types",
|
||||
"//packages/core/analytics/core-analytics-browser:npm_module_types",
|
||||
"//packages/core/base/core-base-browser-mocks:npm_module_types",
|
||||
"//packages/core/injected-metadata/core-injected-metadata-browser-mocks:npm_module_types",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_web",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
web = True,
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
"//:tsconfig.bazel.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = "npm_module_types",
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [":npm_module"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"type": "shared-common",
|
||||
"id": "@kbn/core-analytics-browser-internal",
|
||||
"owner": "@elastic/kibana-core",
|
||||
"runtimeDeps": [],
|
||||
"typeDeps": []
|
||||
"owner": "@elastic/kibana-core"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
"name": "@kbn/core-analytics-browser-internal",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"main": "./target_node/index.js",
|
||||
"browser": "./target_web/index.js",
|
||||
"author": "Kibana Core",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"types": "./target_types/index.d.ts"
|
||||
}
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0"
|
||||
}
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": "../../../../tsconfig.bazel.json",
|
||||
"extends": "../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"outDir": "target/types",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
@ -11,5 +9,18 @@
|
|||
},
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/logging",
|
||||
"@kbn/analytics-client",
|
||||
"@kbn/ebt-tools",
|
||||
"@kbn/core-base-browser-internal",
|
||||
"@kbn/core-injected-metadata-browser-internal",
|
||||
"@kbn/core-analytics-browser",
|
||||
"@kbn/core-base-browser-mocks",
|
||||
"@kbn/core-injected-metadata-browser-mocks"
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,112 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project")
|
||||
|
||||
PKG_DIRNAME = "core-analytics-browser-mocks"
|
||||
PKG_REQUIRE_NAME = "@kbn/core-analytics-browser-mocks"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
],
|
||||
exclude = [
|
||||
"**/*.config.js",
|
||||
"**/*.test.*",
|
||||
"**/*.stories.*",
|
||||
"**/__snapshots__/**",
|
||||
"**/integration_tests/**",
|
||||
"**/scripts/**",
|
||||
"**/storybook/**",
|
||||
"**/test_fixtures/**",
|
||||
"**/test_helpers/**",
|
||||
],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
]
|
||||
|
||||
RUNTIME_DEPS = [
|
||||
]
|
||||
|
||||
TYPES_DEPS = [
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/jest",
|
||||
"//packages/kbn-utility-types:npm_module_types",
|
||||
"//packages/core/analytics/core-analytics-browser:npm_module_types",
|
||||
"//packages/core/analytics/core-analytics-browser-internal:npm_module_types",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_web",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
web = True,
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
"//:tsconfig.bazel.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = "npm_module_types",
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [":npm_module"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"type": "shared-common",
|
||||
"id": "@kbn/core-analytics-browser-mocks",
|
||||
"owner": "@elastic/kibana-core",
|
||||
"runtimeDeps": [],
|
||||
"typeDeps": []
|
||||
"owner": "@elastic/kibana-core"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
"name": "@kbn/core-analytics-browser-mocks",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"main": "./target_node/index.js",
|
||||
"browser": "./target_web/index.js",
|
||||
"author": "Kibana Core",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"types": "./target_types/index.d.ts"
|
||||
}
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0"
|
||||
}
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": "../../../../tsconfig.bazel.json",
|
||||
"extends": "../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"outDir": "target/types",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
@ -11,5 +9,13 @@
|
|||
},
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/utility-types",
|
||||
"@kbn/core-analytics-browser",
|
||||
"@kbn/core-analytics-browser-internal"
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,111 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project")
|
||||
|
||||
PKG_DIRNAME = "core-analytics-browser"
|
||||
PKG_REQUIRE_NAME = "@kbn/core-analytics-browser"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
],
|
||||
exclude = [
|
||||
"**/*.config.js",
|
||||
"**/*.mock.*",
|
||||
"**/*.test.*",
|
||||
"**/*.stories.*",
|
||||
"**/__snapshots__/**",
|
||||
"**/integration_tests/**",
|
||||
"**/scripts/**",
|
||||
"**/storybook/**",
|
||||
"**/test_fixtures/**",
|
||||
"**/test_helpers/**",
|
||||
],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
]
|
||||
|
||||
RUNTIME_DEPS = [
|
||||
]
|
||||
|
||||
TYPES_DEPS = [
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/jest",
|
||||
"//packages/analytics/client:npm_module_types",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_web",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
web = True,
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
"//:tsconfig.bazel.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = "npm_module_types",
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [":npm_module"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "build_types",
|
||||
deps = [":npm_module_types"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"type": "shared-common",
|
||||
"id": "@kbn/core-analytics-browser",
|
||||
"owner": "@elastic/kibana-core",
|
||||
"runtimeDeps": [],
|
||||
"typeDeps": []
|
||||
"owner": "@elastic/kibana-core"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
"name": "@kbn/core-analytics-browser",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"main": "./target_node/index.js",
|
||||
"browser": "./target_web/index.js",
|
||||
"author": "Kibana Core",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"types": "./target_types/index.d.ts"
|
||||
}
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue