Announcing bazel-starters
Blog post from Aspect Build
Aspect's command line interface (CLI) has historically featured an init command for setting up a new Bazel workspace, but despite its customization benefits, it has limitations such as needing to install the Aspect Build CLI and lacking an easy GitHub integration for sharing configurations. To address these issues, Aspect introduced template repositories, which utilize continuous integration presets tailored for different programming languages or include comprehensive setups. These templates are hosted under separate repositories on GitHub at https://github.com/bazel-starters and feature a variety of tools and integrations like curated bazelrc flags, developer environment setups, built-in formatting and linting, pre-commit hooks, language-specific package manager support, Docker container usage, and code generation tools. The README files for these repositories are executable as Bourne Shell scripts within the CI process, ensuring reliable instructions. Aspect plans to announce further enhancements at BazelCon 2025, making these starter templates even more beneficial for users.