Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 1.44 KB

File metadata and controls

73 lines (50 loc) · 1.44 KB

Contributing

Thanks for your interest in contributing to @deepgram/react!

Prerequisites

Setup

# Clone the agent SDK (required -- @deepgram/react depends on it via file: pointer)
git clone git@github.com:deepgram/agent.git ../agent
cd ../agent && bun install && bun run build
cd -

# Clone and install this repo
git clone git@github.com:deepgram/react.git
cd react
bun install

Development

bun run dev         # Watch-build @deepgram/react

Building

bun run build       # Build @deepgram/react

Type-checking

bun run typecheck   # tsc --noEmit

Testing

bun run test        # Run all tests

Making Changes

  1. Create a feature branch from main
  2. Make your changes
  3. Ensure the build is clean: bun run build
  4. Ensure tests pass: bun run test
  5. Commit using conventional commits format
  6. Open a pull request

Commit Messages

This project uses conventional commits:

feat(hooks): add useAgentVolume hook
fix(provider): resolve reconnection race condition
docs: update hook API documentation

Questions?

Open an issue or reach out in the Deepgram Discord.

License

By contributing, you agree that your contributions will be licensed under the MIT License.