refactor(bazel): pass around tsconfig as a file, not a path (#21614)

this unlocks the ability to replay ts compilations with different settings

PR Close #21614
This commit is contained in:
Alex Eagle
2018-01-17 14:49:08 -08:00
parent a1492a73ce
commit 1104d17252
3 changed files with 27 additions and 20 deletions

View File

@ -13,12 +13,15 @@ node_repositories(package_json = ["//:package.json"])
git_repository(
name = "build_bazel_rules_typescript",
remote = "https://github.com/bazelbuild/rules_typescript.git",
# tag = "0.6.0",
commit = "89d2c75066bea3d9c942f29dd1d2ea543c58d6d5"
# Use alexeagle's branch temporarily to allow a green build in the middle of
# the tsconfig refactoring.
# TODO(alexeagle): after the change lands in google3, push it to bazelbuild
# mirror and point this back to upstream.
remote = "https://github.com/alexeagle/rules_typescript.git",
commit = "5ccf967a393d94f53b5b1a97760eb1e18367faa3"
)
load("@build_bazel_rules_typescript//:setup.bzl", "ts_setup_workspace")
load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace")
ts_setup_workspace()