Contributing
Contributions are welcome! Here's how to get started.
How to Contribute
- Fork the project
- Create a branch for your feature (
git checkout -b feat/my-feature) - Commit your changes following Conventional Commits
- Push to the branch (
git push origin feat/my-feature) - Open a Pull Request
Development Workflow
Setup
bash
git clone https://github.com/openhoat/termaid.git
cd termaid
npm installRunning in Development
bash
npm run devQuality Checks
Before submitting a PR, make sure all checks pass:
bash
npm run validateThis runs:
- Biome linting and formatting
- TypeScript type checking
- Vitest unit tests
Running Tests
bash
npm testBuilding
bash
npm run buildCommit Message Format
This project uses Conventional Commits:
<type>(<scope>): <subject>Types: feat, fix, docs, style, refactor, perf, test, chore
Examples:
feat(chat): add message history exportfix(terminal): resolve cursor positioning issuedocs(readme): update installation instructions
License
By contributing, you agree that your contributions will be licensed under the MIT License.