# This is executable Markdown that's tested on CI.
set -o errexit -o nounset -o xtrace
alias ~~~=":<<'~~~sh'";:<<'~~~sh'
This repo includes:
- 🧱 Latest version of Bazel and dependencies
- 📦 Curated bazelrc flags via [bazelrc-preset.bzl]
- 🧰 Developer environment setup with [bazel_env.bzl]
- 🎨
prettierandeslint, using rules_lint - ✅ Pre-commit hooks for automatic linting and formatting
- 📚 PNPM package manager integration
Before following these instructions, setup the developer environment by running
direnv allowand follow any prompts. This ensures that tools we call in the following steps will be on the PATH.
The Bazel-managed version of pnpm is on the PATH thanks to direnv:
pnpm listWe can use Yeoman to scaffold out a library and add its dependencies:
pnpm add -w generator-bazel-fastify-route
yo bazel-fastify-route