Skip to content

Commit

Permalink
Merge pull request #4 from Dosant/195778-fix-pageName
Browse files Browse the repository at this point in the history
add router to bazel
  • Loading branch information
maryam-saeidi authored Nov 21, 2024
2 parents d0b0d51 + b0c621c commit dcc81b8
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/kibana_context/root/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ DEPS = [
"@npm//tslib",
"@npm//@elastic/eui",
"//packages/core/base/core-base-common",
"//packages/shared-ux/router/impl:shared-ux-router",
]

js_library(
Expand Down
34 changes: 34 additions & 0 deletions packages/shared-ux/router/impl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")

SRCS = glob(
[
"**/*.ts",
"**/*.tsx",
],
exclude = [
"**/test_helpers.ts",
"**/*.config.js",
"**/*.mock.*",
"**/*.test.*",
"**/*.stories.*",
"**/__snapshots__/**",
"**/integration_tests/**",
"**/mocks/**",
"**/scripts/**",
"**/storybook/**",
"**/test_fixtures/**",
"**/test_helpers/**",
],
)

DEPS = [

]

js_library(
name = "shared-ux-router",
package_name = "@kbn/shared-ux-router",
srcs = ["package.json"] + SRCS,
deps = DEPS,
visibility = ["//visibility:public"],
)

0 comments on commit dcc81b8

Please sign in to comment.