Contributing
We welcome contributions to x-fidelity! This guide explains how to contribute to the project.
Getting Started
- Fork the repository on GitHub
- Clone your fork locally
- Install dependencies:
yarn install
- Create a new branch for your feature/fix
Development Workflow
- Make your changes
- Add/update tests
- Run tests:
yarn test
- Lint code:
yarn lint
- Use conventional commits:
yarn commit
Pull Request Process
- Push changes to your fork
- Create a pull request
- Include:
- Clear description
- Motivation for changes
- Impact assessment
- Screenshots/examples if relevant
Code Standards
- Follow TypeScript best practices
- Add JSDoc comments
- Write unit tests
- Update documentation
- Use conventional commits
Documentation
When adding features, update:
- README.md
- API documentation
- Website documentation
- Code comments
Testing
Run the test suite:
yarn test
Run specific tests:
yarn test path/to/test
Releasing
Releases are automated via GitHub Actions:
- Merge to main
- CI runs tests
- Semantic release creates tag
- Package published to npm
Getting Help
- Open an issue
- Start a discussion
- Join our community
See the Code of Conduct for community guidelines.