Open up visibility of tf_imports (#10500)

This also fixes the definition of Clutz.
This commit is contained in:
Justine Tunney 2017-06-07 12:56:16 -07:00 committed by Jonathan Hseu
parent 9fd7cf0547
commit f8e1cf8fa5
2 changed files with 12 additions and 1 deletions

View File

@ -9,6 +9,7 @@ ts_web_library(
name = "webcomponentsjs",
srcs = ["@org_definitelytyped//:webcomponents.js.d.ts"],
path = "/webcomponentsjs",
visibility = ["//visibility:public"],
exports = ["@org_polymer_webcomponentsjs"],
)
@ -16,6 +17,7 @@ ts_web_library(
name = "polymer",
srcs = ["@org_definitelytyped//:polymer.d.ts"],
path = "/polymer",
visibility = ["//visibility:public"],
exports = ["@org_polymer"],
deps = [":webcomponentsjs"],
)
@ -27,6 +29,7 @@ ts_web_library(
"@org_definitelytyped//:lodash.d.ts",
],
path = "/tf-imports",
visibility = ["//visibility:public"],
deps = ["@com_lodash"],
)
@ -39,6 +42,7 @@ ts_web_library(
"@org_threejs//:three.js",
],
path = "/tf-imports",
visibility = ["//visibility:public"],
)
ts_web_library(
@ -48,6 +52,7 @@ ts_web_library(
"@com_numericjs//:numeric.js",
],
path = "/tf-imports",
visibility = ["//visibility:public"],
)
ts_web_library(
@ -57,6 +62,7 @@ ts_web_library(
"@io_github_waylonflinn_weblas//:weblas.js",
],
path = "/tf-imports",
visibility = ["//visibility:public"],
)
ts_web_library(
@ -66,6 +72,7 @@ ts_web_library(
"@io_github_cpettitt_graphlib//:graphlib.core.min.js",
],
path = "/tf-imports",
visibility = ["//visibility:public"],
deps = [":lodash"],
)
@ -76,6 +83,7 @@ ts_web_library(
"@io_github_cpettitt_dagre//:dagre.core.min.js",
],
path = "/tf-imports",
visibility = ["//visibility:public"],
deps = [
":graphlib",
":lodash",
@ -90,6 +98,7 @@ ts_web_library(
"@org_d3js//:d3.min.js",
],
path = "/tf-imports",
visibility = ["//visibility:public"],
)
ts_web_library(
@ -99,6 +108,7 @@ ts_web_library(
"plottable.html",
],
path = "/tf-imports",
visibility = ["//visibility:public"],
deps = [
":d3",
":plottable_js_css",
@ -119,6 +129,7 @@ ts_web_library(
ts_web_library(
name = "web_component_tester",
testonly = 1,
visibility = ["//visibility:public"],
exports = [
":chai_typings",
":mocha_typings",

View File

@ -752,7 +752,7 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
native.new_http_archive(
name = "io_angular_clutz",
build_file = "//third_party:clutz.BUILD",
build_file = str(Label("//third_party:clutz.BUILD")),
sha256 = "2981de41d1ff4774b544423da9a2cd8beb3be649e95aef2ef2fd83957300b3fe",
strip_prefix = "clutz-b0db5ade9bb535d387f05292316c422790c9848e",
urls = [