commit | 92476a63bf9ef66904fcc51fafbfd5783262b3a3 | [log] [tgz] |
---|---|---|
author | alexeagle <alexeagle@google.com> | Thu Aug 22 16:11:03 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Aug 22 16:11:27 2019 -0700 |
tree | 53fbf03b7394346341ee0c45c064a7ac10b67714 | |
parent | c891fc93cdb31b005ca4009f582268c0713ac49d [diff] |
Refactor the files and runfiles fields from strings to the DefaultInfo() provider. This is the beginning of removing the legacy providers, per https://github.com/bazelbuild/bazel/issues/7347 See https://docs.bazel.build/versions/master/skylark/rules.html#migrating-from-legacy-providers: " The fields files, runfiles, data_runfiles, default_runfiles, and executable correspond to the same-named fields of DefaultInfo. It is not allowed to specify any of these fields while also returning a DefaultInfo modern provider. " PiperOrigin-RevId: 264941716
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.