A
aspect-build/rules_ts
Bazel rules for the tsc compiler from typescriptlang.org
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →
- 来源明细
- 收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
- 评分构成
- 综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
# Bazel rules for TypeScript
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
> [!NOTE]
> This repository uses the Aspect CLI for CI and local development.
> See the docs and install instructions to get started.
This is the canonical ruleset for using Bazel with TypeScript, based on
Many companies are successfully building with rulests. If you're getting value from the project, please let us know! Just comment on our Adoption Discussion.
rulests is just a part of what Aspect provides:
Need help? This ruleset has support provided by https://aspect.build/services.
See our other Bazel rules, especially those built for rulesjs, linked from
## Installation
Follow instructions from the release you wish to use:
## Examples
There are a number of examples in the examples/ folder and
larger examples in the bazel-examples repository using rulests such as
jest, react,
angular.
If you'd like an example added, you can fund a Feature Request.
## Usage
See the API documentation in the docs/ folder.
### From a BUILD file
The most common use is with the tsproject macro which invokes a
transpiler you configure to transform source files like .ts files into outputs such as .js and .js.map,
and the tsc CLI to type-check
the program and produce .d.ts files.
### In a macro
Many organizations set default values, so it's common to write a [macro] to wrap tsproject, then
ensure that your developers load your macro rather than loading from @aspectrulests directly.
[macro]: https://bazel.build/extending/macros
### BUILD file generation
Aspect provides a TypeScript BUILD file generator as part of the Aspect CLI.
Run aspect configure to create or update BUILD.bazel files as you edit TypeScript sources.
See .
### Advanced: custom rules
If you know how to write Bazel rules, you might find that tsproject doesn't do what you want.
One way to customize it is to peel off one layer of indirection, by calling the tsprojectrule
directly. This bypasses our default setting logic, and also the validation program which checks that
tsproject attributes are well-formed.
> This repository uses the Aspect CLI for CI and local development.
> See the docs and install instructions to get started.
This is the canonical ruleset for using Bazel with TypeScript, based on
Many companies are successfully building with rulests. If you're getting value from the project, please let us know! Just comment on our Adoption Discussion.
rulests is just a part of what Aspect provides:
Need help? This ruleset has support provided by https://aspect.build/services.
See our other Bazel rules, especially those built for rulesjs, linked from
## Installation
Follow instructions from the release you wish to use:
## Examples
There are a number of examples in the examples/ folder and
larger examples in the bazel-examples repository using rulests such as
jest, react,
angular.
If you'd like an example added, you can fund a Feature Request.
## Usage
See the API documentation in the docs/ folder.
### From a BUILD file
The most common use is with the tsproject macro which invokes a
transpiler you configure to transform source files like .ts files into outputs such as .js and .js.map,
and the tsc CLI to type-check
the program and produce .d.ts files.
### In a macro
Many organizations set default values, so it's common to write a [macro] to wrap tsproject, then
ensure that your developers load your macro rather than loading from @aspectrulests directly.
[macro]: https://bazel.build/extending/macros
### BUILD file generation
Aspect provides a TypeScript BUILD file generator as part of the Aspect CLI.
Run aspect configure to create or update BUILD.bazel files as you edit TypeScript sources.
See .
### Advanced: custom rules
If you know how to write Bazel rules, you might find that tsproject doesn't do what you want.
One way to customize it is to peel off one layer of indirection, by calling the tsprojectrule
directly. This bypasses our default setting logic, and also the validation program which checks that
tsproject attributes are well-formed.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/aspect-build-rules-ts/)
- 来源
- awesome · https://github.com/aspect-build/rules_ts
- 按领域浏览
- MCP 服务
- 收录来源
- 10 个独立来源
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。