[type-summarizer] enable @kbn/analytics, @kbn/apm-config-loader and @kbn/apm-utils (#128206)

This commit is contained in:
Spencer 2022-03-22 15:28:49 -07:00 committed by GitHub
parent 2e33dd4084
commit ae91c5bb7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 0 deletions

View file

@ -23,11 +23,13 @@ NPM_MODULE_EXTRA_FILES = [
]
RUNTIME_DEPS = [
"@npm//moment",
"@npm//moment-timezone",
"@npm//tslib",
]
TYPES_DEPS = [
"@npm//moment",
"@npm//@types/moment-timezone",
"@npm//@types/node",
]
@ -70,6 +72,7 @@ ts_project(
srcs = SRCS,
deps = TYPES_DEPS,
declaration = True,
declaration_map = True,
emit_declaration_only = True,
out_dir = "target_types",
root_dir = "src",

View file

@ -2,6 +2,7 @@
"extends": "../../tsconfig.bazel.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"isolatedModules": true,
"outDir": "./target_types",

View file

@ -65,6 +65,7 @@ ts_project(
srcs = SRCS,
deps = TYPES_DEPS,
declaration = True,
declaration_map = True,
emit_declaration_only = True,
out_dir = "target_types",
root_dir = "src",

View file

@ -2,6 +2,7 @@
"extends": "../../tsconfig.bazel.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"outDir": "./target_types",
"rootDir": "./src",

View file

@ -50,6 +50,7 @@ ts_project(
srcs = SRCS,
deps = TYPES_DEPS,
declaration = True,
declaration_map = True,
emit_declaration_only = True,
out_dir = "target_types",
root_dir = "src",

View file

@ -2,6 +2,7 @@
"extends": "../../tsconfig.bazel.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"outDir": "target_types",
"rootDir": "src",

View file

@ -19,6 +19,9 @@ const TYPE_SUMMARIZER_PACKAGES = [
'@kbn/mapbox-gl',
'@kbn/ace',
'@kbn/alerts',
'@kbn/analytics',
'@kbn/apm-config-loader',
'@kbn/apm-utils',
];
type TypeSummarizerType = 'api-extractor' | 'type-summarizer';