commit | b5c50a01ba4b1f3a3f49da878d44c25fda23a62d | [log] [tgz] |
---|---|---|
author | Greg Magolan <gmagolan@gmail.com> | Thu May 09 10:37:48 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu May 09 10:38:12 2019 -0700 |
tree | 55e369f8c563c6b93a4747006435fbacdebbcbb7 | |
parent | efef772460dd895408ca5352e78dfc56ea2b634c [diff] |
Enable strict deps for npm dependencies under Bazel now that npm deps provide a typescript provider with their declaration files The change in rules_nodejs that supplies the provider was here https://github.com/bazelbuild/rules_nodejs/pull/726 Update to latest @bazel/typescript 0.28.0 and add temporary post-install patch to allow from strict deps in ts_library from published @bazel/typescript package Closes #445 PiperOrigin-RevId: 247453547
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.