commit | bbc35f3747702e0fbc970d6ecbe7915a1a00a6f0 | [log] [tgz] |
---|---|---|
author | TypeScript Team <noreply@google.com> | Tue Jan 28 11:14:23 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jan 28 11:14:46 2020 -0800 |
tree | a151905ad0e8626d317cae5f3597f7e672d58b97 | |
parent | 568a22815f39ca229df8c2910fbce90f7a4f21ac [diff] |
Improve formatting of cyclical dependency error reporting This adds a line break between dependencies, since each line tends to be very long. It's easier to understand the cycle if the actual file names are grouped closer together into a column. This change adds a newline between each dependency in the cycle to better achieve that. It also adds space between the stacktrace below and the context above. Previously: Compilation failed Error: Cyclical dependency between files: src/b.ts -> src/a.ts -> src/b.ts Now: Compilation failed Error: Cyclical dependency between files: src/b.ts -> src/a.ts -> src/b.ts PiperOrigin-RevId: 291974463
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.