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
committed by Miško Hevery
parent 4b68fdce6f
commit 21f766968d
3 changed files with 27 additions and 18 deletions

View File

@ -13,11 +13,15 @@ node_repositories(package_json = ["//:package.json"])
git_repository(
name = "build_bazel_rules_typescript",
remote = "https://github.com/bazelbuild/rules_typescript.git",
commit = "c4ea003acd7d42269b81a2d25eb832972cd24912"
# 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()