Development setup
The Triggery monorepo is a pnpm workspace. The full set of commands for a clean checkout is short — if pnpm test is green, you have a working environment.
Prerequisites
Section titled “Prerequisites”- Node.js ≥ 20 (LTS recommended).
- pnpm ≥ 9 — enable via
corepack enable && corepack prepare pnpm@latest --activate. - git with a configured signing key (optional; signed commits are recommended but not required).
A .devcontainer/ is shipped at the repo root, so you can also open the workspace in GitHub Codespaces or VS Code Dev Containers and skip the local setup entirely.
Clone and bootstrap
Section titled “Clone and bootstrap”pnpm build is required before the first test run because some packages import the built output of their dependencies.
Repository layout
Section titled “Repository layout”Running the docs site
Section titled “Running the docs site”The Astro dev server runs at http://localhost:4321/triggery/ (the base path matches GitHub Pages). For a production-shape preview:
The build step also runs the link checker and i18n fallback generator — keep an eye on its tail output if you add or rename pages.
Running benchmarks
Section titled “Running benchmarks”The bench/vs/ suites print side-by-side ops/sec against effector / rxjs / saga / xstate / reatom / mobx. CodSpeed picks up benches in CI; locally Vitest’s bench runner is enough.