mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[bazel] avoid a little boilerplate in packages (#126309)
* [bazel] avoid a little boilerplate for @types packages * [bazel/ts] stop building sourcemaps since they're ignored
This commit is contained in:
parent
6f2e49d82b
commit
614139b8e5
115 changed files with 63 additions and 402 deletions
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "elastic-apm-synthtrace"
|
||||
PKG_REQUIRE_NAME = "@elastic/apm-synthtrace"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/elastic__apm-synthtrace"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -67,11 +66,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
validate = False,
|
||||
)
|
||||
|
@ -103,7 +100,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "./src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/elastic-apm-synthtrace/src",
|
||||
"types": ["node", "jest"]
|
||||
},
|
||||
"include": ["./src/**/*.ts"]
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "ts_project", "pkg_npm", "p
|
|||
|
||||
PKG_BASE_NAME = "elastic-datemath"
|
||||
PKG_REQUIRE_NAME = "@elastic/datemath"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/elastic__datemath"
|
||||
|
||||
SOURCE_FILES = glob([
|
||||
"src/index.ts",
|
||||
|
@ -50,10 +49,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig"
|
||||
)
|
||||
|
@ -85,7 +82,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/elastic-datemath/src",
|
||||
"types": [
|
||||
"node"
|
||||
]
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-ace"
|
||||
PKG_REQUIRE_NAME = "@kbn/ace"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__ace"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -68,10 +67,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -103,7 +100,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,11 +2,8 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-ace/src",
|
||||
"stripInternal": true,
|
||||
"types": ["node"]
|
||||
},
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-alerts"
|
||||
PKG_REQUIRE_NAME = "@kbn/alerts"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__alerts"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -74,11 +73,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -109,7 +106,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-alerts/src",
|
||||
"types": ["jest", "node"]
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-analytics"
|
||||
PKG_REQUIRE_NAME = "@kbn/analytics"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__analytics"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -71,11 +70,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -106,7 +103,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"isolatedModules": true,
|
||||
"outDir": "./target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../../packages/kbn-analytics/src",
|
||||
"stripInternal": true,
|
||||
"types": [
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-apm-config-loader"
|
||||
PKG_REQUIRE_NAME = "@kbn/apm-config-loader"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__apm-config-loader"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -66,10 +65,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -101,7 +98,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "./src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-apm-config-loader/src",
|
||||
"stripInternal": false,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-apm-utils"
|
||||
PKG_REQUIRE_NAME = "@kbn/apm-utils"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__apm-utils"
|
||||
|
||||
SOURCE_FILES = glob([
|
||||
"src/index.ts",
|
||||
|
@ -51,10 +50,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -86,7 +83,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-apm-utils/src",
|
||||
"types": [
|
||||
"node"
|
||||
]
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-cli-dev-mode"
|
||||
PKG_REQUIRE_NAME = "@kbn/cli-dev-mode"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__cli-dev-mode"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -93,11 +92,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -128,7 +125,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "./src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-cli-dev-mode/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-config-schema"
|
||||
PKG_REQUIRE_NAME = "@kbn/config-schema"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__config-schema"
|
||||
|
||||
SOURCE_FILES = glob([
|
||||
"src/**/*.ts",
|
||||
|
@ -62,10 +61,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -97,7 +94,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-config-schema/src",
|
||||
"stripInternal": true,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-config"
|
||||
PKG_REQUIRE_NAME = "@kbn/config"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__config"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -83,10 +82,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -118,7 +115,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-config/src",
|
||||
"stripInternal": false,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -5,7 +5,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-crypto"
|
||||
PKG_REQUIRE_NAME = "@kbn/crypto"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__crypto"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -29,7 +28,7 @@ NPM_MODULE_EXTRA_FILES = [
|
|||
]
|
||||
|
||||
RUNTIME_DEPS = [
|
||||
"//packages/kbn-dev-utils",
|
||||
"//packages/kbn-dev-utils:build",
|
||||
"@npm//node-forge",
|
||||
]
|
||||
|
||||
|
@ -62,10 +61,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -97,7 +94,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-crypto/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-dev-utils"
|
||||
PKG_REQUIRE_NAME = "@kbn/dev-utils"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__dev-utils"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -114,10 +113,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -149,7 +146,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-dev-utils/src",
|
||||
"stripInternal": false,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-doc-links"
|
||||
PKG_REQUIRE_NAME = "@kbn/doc-links"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__doc-links"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -61,10 +60,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -96,7 +93,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-doc-links/src",
|
||||
"stripInternal": false,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-docs-utils"
|
||||
PKG_REQUIRE_NAME = "@kbn/docs-utils"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__docs-utils"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -67,10 +66,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -102,7 +99,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-docs-utils/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-es-archiver"
|
||||
PKG_REQUIRE_NAME = "@kbn/es-archiver"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__es-archiver"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -80,10 +79,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -115,7 +112,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,11 +2,8 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-es-archiver/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -5,7 +5,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-es-query"
|
||||
PKG_REQUIRE_NAME = "@kbn/es-query"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__es-query"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -94,10 +93,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -129,7 +126,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,11 +2,8 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-es-query/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -5,7 +5,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-field-types"
|
||||
PKG_REQUIRE_NAME = "@kbn/field-types"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__field-types"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -64,10 +63,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -99,7 +96,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -3,11 +3,8 @@
|
|||
"compilerOptions": {
|
||||
"outDir": "./target_types",
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-field-types/src"
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-i18n-react"
|
||||
PKG_REQUIRE_NAME = "@kbn/i18n-react"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__i18n-react"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -74,10 +73,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -109,7 +106,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,11 +2,8 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../../packages/kbn-i18n-react/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-i18n"
|
||||
PKG_REQUIRE_NAME = "@kbn/i18n"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__i18n"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -75,10 +74,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -110,7 +107,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,11 +2,8 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../../packages/kbn-i18n/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -5,7 +5,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-interpreter"
|
||||
PKG_REQUIRE_NAME = "@kbn/interpreter"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__interpreter"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -74,10 +73,8 @@ ts_project(
|
|||
deps = TYPES_DEPS,
|
||||
allow_js = True,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -109,7 +106,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -3,12 +3,9 @@
|
|||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-interpreter/src",
|
||||
"stripInternal": true,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-io-ts-utils"
|
||||
PKG_REQUIRE_NAME = "@kbn/io-ts-utils"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__io-ts-utils"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -65,10 +64,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -100,7 +97,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-io-ts-utils/src",
|
||||
"stripInternal": false,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-logging-mocks"
|
||||
PKG_REQUIRE_NAME = "@kbn/logging-mocks"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__logging-mocks"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -57,10 +56,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -92,7 +89,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-logging-mocks/src",
|
||||
"stripInternal": false,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-logging"
|
||||
PKG_REQUIRE_NAME = "@kbn/logging"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__logging"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -58,10 +57,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -93,7 +90,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-logging/src",
|
||||
"stripInternal": false,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -5,7 +5,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-mapbox-gl"
|
||||
PKG_REQUIRE_NAME = "@kbn/mapbox-gl"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__mapbox-gl"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -61,10 +60,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -96,7 +93,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-mapbox-gl/src",
|
||||
"types": []
|
||||
},
|
||||
"include": [
|
||||
|
|
|
@ -5,7 +5,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-monaco"
|
||||
PKG_REQUIRE_NAME = "@kbn/monaco"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__monaco"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -96,10 +95,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -131,7 +128,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,11 +2,8 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-monaco/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-optimizer"
|
||||
PKG_REQUIRE_NAME = "@kbn/optimizer"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__optimizer"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -119,10 +118,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -154,7 +151,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "./src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-optimizer/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-plugin-generator"
|
||||
PKG_REQUIRE_NAME = "@kbn/plugin-generator"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__plugin-generator"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -86,10 +85,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -121,7 +118,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,11 +2,8 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-plugin-generator/src",
|
||||
"target": "ES2019",
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -5,7 +5,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-plugin-helpers"
|
||||
PKG_REQUIRE_NAME = "@kbn/plugin-helpers"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__plugin-helpers"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -79,10 +78,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -114,7 +111,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,11 +2,8 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-plugin-helpers/src",
|
||||
"target": "ES2018",
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-react-field"
|
||||
PKG_REQUIRE_NAME = "@kbn/react-field"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__react-field"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -84,10 +83,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -119,7 +116,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,11 +2,8 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../../packages/kbn-react-field/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-rule-data-utils"
|
||||
PKG_REQUIRE_NAME = "@kbn/rule-data-utils"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__rule-data-utils"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -60,11 +59,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
incremental = False,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -96,7 +93,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,13 +2,10 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"incremental": false,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-rule-data-utils/src",
|
||||
"stripInternal": false,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-autocomplete"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-autocomplete"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-autocomplete"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -93,11 +92,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -128,7 +125,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,11 +2,8 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-autocomplete/src",
|
||||
"rootDir": "src",
|
||||
"types": ["jest", "node"]
|
||||
},
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-es-utils"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-es-utils"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-es-utils"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -65,11 +64,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -100,7 +97,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-es-utils/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-hook-utils"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-hook-utils"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-hook-utils"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -72,11 +71,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -107,7 +104,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-hook-utils/src",
|
||||
"types": ["jest", "node"]
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-io-ts-alerting-types"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-io-ts-alerting-types"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-io-ts-alerting-types"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -75,11 +74,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -110,7 +107,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-io-ts-alerting-types/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-io-ts-list-types"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-io-ts-list-types"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-io-ts-list-types"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -75,11 +74,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -110,7 +107,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-io-ts-list-types/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-io-ts-types"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-io-ts-types"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-io-ts-types"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -73,11 +72,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -108,7 +105,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-io-ts-types/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-io-ts-utils"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-io-ts-utils"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-io-ts-utils"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -76,11 +75,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -111,7 +108,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-io-ts-utils/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-list-api"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-list-api"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-list-api"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -75,11 +74,9 @@ ts_project(
|
|||
deps = TYPES_DEPS,
|
||||
args = ["--pretty"],
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -110,7 +107,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-list-api/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-list-constants"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-list-constants"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-list-constants"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -63,11 +62,9 @@ ts_project(
|
|||
deps = TYPES_DEPS,
|
||||
args = ["--pretty"],
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -98,7 +95,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-list-constants/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-list-hooks"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-list-hooks"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-list-hooks"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -83,11 +82,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -118,7 +115,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-list-hooks/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-list-utils"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-list-utils"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-list-utils"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -82,11 +81,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -118,7 +115,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-list-utils/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-rules"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-rules"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-rules"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -63,11 +62,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -98,7 +95,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-rules/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-t-grid"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-t-grid"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-t-grid"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -72,11 +71,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -107,7 +104,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-t-grid/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-securitysolution-utils"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-utils"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__securitysolution-utils"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -61,11 +60,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -96,7 +93,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-securitysolution-utils/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-server-http-tools"
|
||||
PKG_REQUIRE_NAME = "@kbn/server-http-tools"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__server-http-tools"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -72,10 +71,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -107,7 +104,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target/types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-server-http-tools/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-server-route-repository"
|
||||
PKG_REQUIRE_NAME = "@kbn/server-route-repository"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__server-route-repository"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -68,10 +67,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -103,7 +100,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-server-route-repository/src",
|
||||
"stripInternal": false,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-std"
|
||||
PKG_REQUIRE_NAME = "@kbn/std"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__std"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -67,10 +66,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -102,7 +99,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-std/src",
|
||||
"stripInternal": true,
|
||||
"types": [
|
||||
"jest",
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-storybook"
|
||||
PKG_REQUIRE_NAME = "@kbn/storybook"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__storybook"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -93,11 +92,9 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
root_dir = "src",
|
||||
source_map = True,
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
|
@ -128,7 +125,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,14 +2,11 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"incremental": false,
|
||||
"outDir": "target_types",
|
||||
"rootDir": "src",
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-storybook",
|
||||
"target": "es2015",
|
||||
"types": ["node"]
|
||||
},
|
||||
|
|
|
@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-telemetry-tools"
|
||||
PKG_REQUIRE_NAME = "@kbn/telemetry-tools"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__telemetry-tools"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -71,10 +70,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -106,7 +103,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,13 +2,10 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"isolatedModules": true,
|
||||
"outDir": "./target_types",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-telemetry-tools/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
|
|
|
@ -5,7 +5,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",
|
|||
|
||||
PKG_BASE_NAME = "kbn-test-jest-helpers"
|
||||
PKG_REQUIRE_NAME = "@kbn/test-jest-helpers"
|
||||
TYPES_PKG_REQUIRE_NAME = "@types/kbn__test-jest-helpers"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
|
@ -133,10 +132,8 @@ ts_project(
|
|||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
@ -168,7 +165,7 @@ pkg_npm_types(
|
|||
name = "npm_module_types",
|
||||
srcs = SRCS,
|
||||
deps = [":tsc_types"],
|
||||
package_name = TYPES_PKG_REQUIRE_NAME,
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
tsconfig = ":tsconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -2,13 +2,10 @@
|
|||
"extends": "../../tsconfig.bazel.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./target_types",
|
||||
"stripInternal": true,
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../../../packages/kbn-test-jest-helpers/src",
|
||||
"types": ["jest", "node"]
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue