mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[bazel] fix some BUILD.bazel file inconsistencies
This commit is contained in:
parent
7a056a84d9
commit
42879f7656
75 changed files with 224 additions and 374 deletions
|
@ -2,7 +2,7 @@ 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_BASE_NAME = "kbn-securitysolution-list-api"
|
||||
PKG_DIRNAME = "kbn-securitysolution-list-api"
|
||||
PKG_REQUIRE_NAME = "@kbn/securitysolution-list-api"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
|
@ -90,7 +90,7 @@ ts_project(
|
|||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_BASE_NAME,
|
||||
name = PKG_DIRNAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":target_web"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
|
@ -99,9 +99,7 @@ js_library(
|
|||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [
|
||||
":%s" % PKG_BASE_NAME,
|
||||
],
|
||||
deps = [":" + PKG_DIRNAME],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue