Skip to content

Quickstart

This path is for developers evaluating or contributing to Rainrail. It keeps the first run focused on repository checks, docs preview, and the local surfaces that prove the event routing contracts still build.

Terminal window
pnpm install --frozen-lockfile

Rainrail is a TypeScript monorepo. Root scripts orchestrate the CLI package, the product site, the docs site, and repository validation checks.

Terminal window
pnpm test
pnpm typecheck
pnpm docs:check

docs:check verifies Markdown links, contract drift, and docs TypeScript examples. Run focused tests while developing, then run the full baseline before opening a pull request.

Terminal window
pnpm docs:dev

The public docs app is a Starlight site for https://docs.rainrail.dev. Use it for external developer navigation. The repository docs/ directory remains the source spec library for detailed contract decisions.

Terminal window
pnpm docs:build
pnpm build

docs:build emits apps/docs/dist for the rainrail-docs Cloudflare Pages project. pnpm build verifies the broader workspace.