Clone this repo:


  1. 6a3780f script names are prepended to scripts that are eval'ed by TypeScript Team · 2 weeks ago master
  2. 75677d5 Replicate blaze analyze's behavior with generated files. by lucassloan · 2 weeks ago
  3. 61d7e5b Internal change. by martinprobst · 3 weeks ago
  4. fd8d59a Use chooseCanonicalDep to choose the dep when finding a module by name, instead of randomly selecting the first matching dep. by lucassloan · 3 weeks ago
  5. ea54450 internal change by TypeScript Team · 3 weeks ago


This repo contains a mirror of some Google-internal bits that support TypeScript development under Bazel.

It contains these utilities:

  • ts_devserver: a Go library and binary that runs a fast local web server which concatenates JavaScript on-the-fly. It requires inputs in a named module format (module ids must be contained in the file, not inferred from the file's path).
  • ts_auto_deps: a Go library and binary which generates BUILD.bazel files from TypeScript sources.
  • tsc_wrapped: a TypeScript program which wraps the TypeScript compiler, hosting it under a Bazel worker.
  • tsetse: a collection of third-party “strictness” checks which we add to the TypeScript compiler.
  • internal/common/*.bzl: some Starlark utility code for running the ts_library rule.

There are no user-facing bits in this repo. These utilities are consumed in

Please file issues for ts_library rule and other Bazel rules in that repo.