Clone this repo:

Branches

  1. 7a9308a Don't initialize tsconfig with empty plugins. by alexeagle · 4 years, 10 months ago master
  2. 37f946f Wire up Angular 9 templates as a ts_library plugin by alexeagle · 4 years, 10 months ago
  3. e4043dc Fix worker loading when using require.resolve by Alex Eagle · 4 years, 10 months ago
  4. bad5a07 don't stat() all input files by evanm · 4 years, 10 months ago
  5. 816b8dd clarify why expected_diagostics isn't available to everyone by evanm · 4 years, 10 months ago

build_bazel_rules_typescript

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).
  • 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 https://github.com/bazelbuild/rules_nodejs/tree/master/packages/typescript

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