Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ For changes under `src/`, `tests/` or `.github/`:
- Run `npm run build` (type-checks `src/` and `tests/`) and `npm test` before
you finish. Tests use `node:test` and must never call the real Vapi API —
use a local HTTP stub, as the existing tests do.
- Run `npx biome check <changed files>` before you finish. It uses the pinned
local Biome version and the config in `biome.json`.
- Changing a command's flags or behaviour? Update
[`docs/guides/commands.md`](docs/guides/commands.md) and the README command
table in the same change.
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ learnings are all welcome.

3. Make your change, with tests for any behaviour change. Tests use
`node:test` and live in `tests/`; they never call the real Vapi API.
4. Run `npm run build` and `npm test` again, then open a pull request.
4. Run `npx biome check <changed files>`, `npm run build` and `npm test`, then
open a pull request.

Commit messages and PR titles follow [Conventional Commits](https://www.conventionalcommits.org/)
(`fix(pull): …`, `feat(check): …`, `docs: …`).
Expand Down
164 changes: 164 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"test": "node --import tsx --import ./tests/no-vapi-api.ts --test tests/*.test.ts"
},
"devDependencies": {
"@biomejs/biome": "2.4.15",
"@types/node": "^22.0.0",
"tsx": "^4.0.0",
"typescript": "^5.0.0"
Expand Down
Loading