rules_ts
rules_ts copied to clipboard
Bazel rules for the `tsc` compiler from http://typescriptlang.org
### What happened? Just got this on our CI - first time I've seen it: ```shell Worker process did not return a WorkResponse: ---8
https://bazelbuild.slack.com/archives/CULGHFKCK/p1670516676884029
See https://bazelbuild.slack.com/archives/CEZUUKQ6P/p1670621678898069?thread_ts=1670620951.407769&cid=CEZUUKQ6P for more context
Need to change @bazel/worker package before landing this PR.
### What happened? Looks like ts_project -> js_binary -> docker image misses routing transitive npm deps. Reproduced a bug in https://github.com/oqton/rules_ts/tree/feature/rules_docker_bug. The issue looks very similar to https://github.com/aspect-build/rules_jest/issues/72 to me....
Note, this still needs some analysis testing, and an example that makes it load-bearing. Also it's worth thinking about the correct behavior in the non-transpiler use case, though that's a...
### What happened? When migrating away a mono-repo from rules_nodejs to rules_js/rules_ts I seem to hit an issue with workers not responding. It seems to be consistent with doing `bazel...
### What happened? Builds after `bazel clean` for `bazel build //typescript:some_ts_project` pass However, after some src changes, and maybe git branch changes, we eventually see ``` typescript/REDACTED.ts(4,29): error TS6307: File...
`npm_link_package` labels in `data` and `deps` attributes in `ts_project` is causing typescript to issue portability errors. Here is a reproduction and more info in the README: https://github.com/tinganho/transitive-deps-bug
Hi! After migrating from `rules_nodejs` to `rules_js` + `rules_ts`, I'm having some issues regarding the debug setup in vscode. I followed this [page](https://bazelbuild.github.io/rules_nodejs/debugging.html) in order to attach a debugger to...