Skip to content

Commit d528997

Browse files
Add @biomejs/biome as a dev dependency (#105)
* chore: pin local Biome dev dependency Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * docs: add local Biome contributor checks Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: dhruva <dhruva@vapi.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent fb6798e commit d528997

4 files changed

Lines changed: 169 additions & 1 deletion

File tree

‎AGENTS.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ For changes under `src/`, `tests/` or `.github/`:
351351
- Run `npm run build` (type-checks `src/` and `tests/`) and `npm test` before
352352
you finish. Tests use `node:test` and must never call the real Vapi API —
353353
use a local HTTP stub, as the existing tests do.
354+
- Run `npx biome check <changed files>` before you finish. It uses the pinned
355+
local Biome version and the config in `biome.json`.
354356
- Changing a command's flags or behaviour? Update
355357
[`docs/guides/commands.md`](docs/guides/commands.md) and the README command
356358
table in the same change.

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ learnings are all welcome.
2626

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

3132
Commit messages and PR titles follow [Conventional Commits](https://www.conventionalcommits.org/)
3233
(`fix(pull): …`, `feat(check): …`, `docs: …`).

‎package-lock.json‎

Lines changed: 164 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"test": "node --import tsx --import ./tests/no-vapi-api.ts --test tests/*.test.ts"
2727
},
2828
"devDependencies": {
29+
"@biomejs/biome": "2.4.15",
2930
"@types/node": "^22.0.0",
3031
"tsx": "^4.0.0",
3132
"typescript": "^5.0.0"

0 commit comments

Comments
 (0)