Thank you for your interest in contributing to Brief! This document provides guidelines for contributing to the project.
- Fork the repository.
- Clone your fork:
git clone https://github.com/openperf/brief.git - Install dependencies:
pnpm install - Create a branch:
git checkout -b feature/your-feature
The project uses a pnpm workspace with the following structure:
packages/brief-sdk/— The core TypeScript SDKexamples/— Runnable example scriptsdocs/— Design documents
pnpm buildcd packages/brief-sdk
pnpm testpnpm example:simple
pnpm example:cascade
pnpm example:fanout- Ensure all tests pass (
pnpm test). - Update documentation if you change the public API.
- Add tests for new features.
- Keep PRs focused — one feature or fix per PR.
- Write clear commit messages.
- Use TypeScript strict mode.
- Prefer
constoverlet. - Use JSDoc comments for public APIs.
- Follow the existing code patterns in the project.
When reporting issues, please include:
- A clear description of the problem.
- Steps to reproduce.
- Expected vs. actual behavior.
- Your environment (Node.js version, OS).
By contributing, you agree that your contributions will be licensed under the MIT License.