commit | e74079656dfdfd17d25bc0c0c996f20b2a0d5902 | [log] [tgz] |
---|---|---|
author | lucassloan <lucassloan@google.com> | Fri Mar 22 13:45:20 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Mar 22 13:45:37 2019 -0700 |
tree | 639fc3f3cc82cec2d918cdcdb92450931d97a985 | |
parent | c0622384e11dbf32c84b786a80c31b19f9c2aa81 [diff] |
Fix bug where taze was using LoadRules() on the actuals of alaises. Aliases can alias things other than rules, and LoadRules() errors if asked to load a non-rule. Instead, use LoadTargets() and manually filter down to the rules. PiperOrigin-RevId: 239856549
Looking for documentation for TypeScript bazel rules that used to be here? See https://npmjs.com/package/@bazel/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).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.