Fix module name mangling to avoid double escaping.

PiperOrigin-RevId: 264290453
3 files changed
tree: 2cd2dfc88f0f7ab1118263afc30c34ba5350d2b4
  1. .bazelci/
  2. .bazelignore
  3. .bazelrc
  4. .github/
  5. .gitignore
  6. .vscode/
  7. AUTHORS
  8. BUILD.bazel
  9. CODEOWNERS
  10. CODE_OF_CONDUCT.md
  11. CONTRIBUTING.md
  12. CONTRIBUTORS
  13. LICENSE
  14. README.md
  15. WORKSPACE
  16. devserver/
  17. docs/
  18. internal/
  19. package.bzl
  20. package.json
  21. revert_rules_go_commit_4442d82a001f378d0605cbbca3fb529979a1c3a6.patch
  22. third_party/
  23. ts_auto_deps/
  24. tsconfig.json
  25. yarn.lock
README.md

build_bazel_rules_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.