Documentation Index
Fetch the complete documentation index at: https://docs.aspect.build/llms.txt
Use this file to discover all available pages before exploring further.
Aspect maintains a broad portfolio of open-source Bazel rulesets, tools, and examples. Most repositories live in the aspect-build GitHub org; some have been donated to the bazel-contrib org for community co-maintenance.
See Open Source for our contribution philosophy and prioritization framework.
Aspect CLI
| Repository | Description |
|---|
| aspect-cli | A programmable task runner built on top of Bazel. Supports custom commands via the Aspect Extension Language (AXL) — a Starlark dialect. |
| aspect-gazelle | Pre-compiled Gazelle binaries with BUILD file generators for JavaScript, Python, and AXL-based language extensions, plus gitignore filtering and watchman integration. |
JavaScript and TypeScript
| Repository | Description |
|---|
| rules_js | High-performance Bazel rules for JavaScript and Node.js using a pnpm-based package layout. The foundation of Aspect’s JS ecosystem. |
| rules_ts | Canonical Bazel rules for TypeScript, built on rules_js. Provides ts_project for transpilation and type-checking. |
| rules_swc | Bazel rules for the SWC Rust-based JavaScript compiler — Babel-compatible transformations at ~20× the speed. |
| rules_esbuild | Bazel rules for the esbuild bundler with a hermetic toolchain — no npm install required. |
| rules_webpack | Bazel rules for Webpack, for teams migrating from existing Webpack builds. |
| rules_rollup | Pure-Starlark Bazel rules for the Rollup bundler, compatible with the rules_js ecosystem. |
| rules_terser | Bazel rules for the Terser JavaScript minifier. |
| rules_jest | Bazel rules to run tests with the Jest test runner. |
| rules_jasmine | Bazel rules to run tests with the Jasmine test framework. |
| rules_cypress | Bazel rules to run end-to-end tests with Cypress. |
Python
| Repository | Description |
|---|
| rules_py | High-performance Python rules with native uv integration, strict hermeticity, and optimized OCI image layer support. Drop-in replacements for py_binary, py_library, and py_test. |
Utilities and Libraries
| Repository | Description |
|---|
| rules_lint | Runs linters and formatters as standard Bazel actions across 20+ tools (ESLint, Prettier, Ruff, gofmt, and more), with Remote Execution and Remote Cache support. |
| toml.bzl | A small Bazel library for consuming TOML files in repository rules, following the API convention of Bazel’s built-in json module. |
Examples and Templates
| Repository | Description |
|---|
| bazel-examples | A polyglot reference monorepo demonstrating Bazel at scale across Go, Python, Java, JavaScript, Rust, Ruby, and more. Also the live test bed for Aspect’s CI integrations. |
| aspect-workflows-template | Scaffold template for bootstrapping an Aspect Workflows project via aspect init. |
| bazel-starters | Starter template repositories for common languages to get up and running with Bazel quickly. |
Under bazel-contrib
Projects Aspect authors or maintains under the community bazel-contrib org:
| Repository | Description |
|---|
| bazel-lib | Common utility rules and functions for writing Bazel rules in Starlark. Originally authored by Aspect; donated to bazel-contrib. |
| rules_oci | Bazel rules for building OCI container images without Docker. Built by Aspect under bazel-contrib in collaboration with Google. |
| rules_nodejs | Bazel rules for fetching the Node.js binary and @bazel/runfiles. Long-term maintained by Aspect. |
| publish-to-bcr | Automation for publishing Bazel module releases to the Bazel Central Registry. Originally built by Aspect; donated to bazel-contrib. |
Contracted Maintenance
Projects owned by third parties that Aspect maintains under contract:
| Repository | Owner | Description |
|---|
| rules_apko | Chainguard | Bazel rules for apko — builds OCI images from APK packages without a Dockerfile. |