Thanks for your interest in contributing to @bquery/ui! This guide explains how to set up the project locally, develop components, and run tests.
- Node.js
>=24.0.0 - Bun
>=1.3.13(recommended) - Git
- Clone the repository.
- Install dependencies:
bun install
- Start the Vite dev server:
bun run dev - Start Storybook:
bun run storybook - Start the docs site:
bun run dev:docs
- Run all tests:
bun test - Type-check:
bun run lint:types
- Build the library:
bun run build - Build Storybook:
bun run build:storybook - Build docs:
bun run build:docs
- Keep changes small and focused.
- Follow the existing TypeScript style and component structure.
- Run
bun run lintbefore submitting. - Add tests when introducing new component behaviour or fixing bugs.
- Update docs/Storybook stories when the public API changes.
- Describe what and why you changed something.
- Link relevant issues if available.
- Use the pull request template and complete the validation checklist.
- Ensure tests and type-checks pass locally and the docs still build.
Please do not post sensitive details publicly. Report security issues responsibly per SECURITY.md.