commit | a4bbe8259b54978f2815d757bbf67d73f3fd0803 | [log] [tgz] |
---|---|---|
author | TypeScript Team <noreply@google.com> | Thu Jul 25 11:20:52 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jul 25 11:21:11 2019 -0700 |
tree | 9b6ca8d9d51dacea3436b609eb3f162b78f72094 | |
parent | 027495e98ba9fc01c3895fdc5383e68f5028c067 [diff] |
Define an interface for a TypeScript compiler plugin that may only contribute diagnostics. Switch the strict deps and tsetse plugins to use this API. The only user-visible change is that diagnostics from those plugins are now tagged with [tsetse] / [strictDeps]. The string ids for tracking the performance of these plugins have also changed, and have become more granular, tracking both file by file and the total time contributed by each plugin as a whole. PiperOrigin-RevId: 259985050
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 https://github.com/bazelbuild/rules_nodejs/tree/master/packages/typescript
Please file issues for ts_library
rule and other Bazel rules in that repo.