build: Upgrade to TypeScript 2.5 (#20175)

- update to TypeScript 2.5
- point the 2.4 typings test at the previous typescript version, so we
  don't break it accidentally
- widen the peerDeps from Angular packages that depend on TypeScript
- update to latest TypeScript 2.5 compatible Bazel rules
- move .bazelrc to tools/bazel.rc per https://docs.bazel.build/versions/master/best-practices.html#bazelrc

PR Close #20175
This commit is contained in:
Alex Eagle
2017-11-02 12:15:47 -07:00
committed by Miško Hevery
parent f8658cdc38
commit a9f3e2bd95
13 changed files with 180 additions and 46 deletions

View File

@ -5,8 +5,7 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "build_bazel_rules_nodejs",
remote = "https://github.com/bazelbuild/rules_nodejs.git",
# TODO(alexeagle): use the correct tag here.
commit = "2c6243df53fd33fdab283ebdd01582e4eb815db8",
commit = "0.2.1",
)
load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")