# Contributing to standarnav standarnav (npm package `@standarx/nav`) is published — `0.1.0` since 2026-09-22 — and v0 is in progress: the public API is not frozen. This document explains how to set up the project, what is expected of a pull request, and how to report a bug. Read it before opening a pull request. ## Prerequisites - [bun](https://bun.sh). The repository pins the version in `.bun-version` (`1.4.0`); CI installs that exact version through `oven-sh/setup-bun` (`.github/workflows/ci.yml:22-24`). Use that version or a newer one. Never use `npm` or `npx` in this repository — every command below is a `bun` command. The release workflow carries the one documented exception: its publish step calls the npm CLI (`npm publish --provenance` in `.github/workflows/release.yml`), because publication has to happen from CI *with* a provenance attestation and the `bun` client emits none. That exception is recorded, with the issue it turns on and the dates, in [ADR-0012](docs/adr/0012-versioning-and-release.md) — nothing else here may reach for npm. - A Playwright browser for the browser test project. The default engine is Chromium (`vitest.config.ts`): ```sh bun x playwright install chromium ``` Install `firefox` and `webkit` the same way when you need to reproduce the CI matrix locally. - Node is not required to run the scripts below; `bun` runs them directly. ## Setup ```sh bun install ``` ## Scripts The scripts used for contribution checks, read from the `scripts` field of `package.json` on 2026-09-22. Run them with `bun run