Thank you for your interest in contributing to go-go-try! This document provides guidelines for contributing to the project.
- Fork and clone the repository
- Install dependencies:
npm install
npm run build# Run all tests
npm test
# Run tests in watch mode
npx vitest
# Run tests with coverage
npx vitest run --coveragenpm run lint- Use TypeScript for all new code
- Follow the existing code style (enforced by Biome)
- Write comprehensive tests for new features
- Ensure all tests pass before submitting PR
- Use clear, descriptive commit messages
- Reference issue numbers when applicable
- Keep commits focused and atomic
- Ensure your branch is up to date with
main - Run the full test suite:
npm test - Update documentation if needed
- Submit PR with a clear description of changes
- Wait for CI checks to pass
- Address any review feedback
When adding new features:
- Add type definitions first
- Implement the feature with full type safety
- Add comprehensive tests covering:
- Happy path
- Error cases
- Edge cases (null, undefined, etc.)
- Update README.md with usage examples
- Update CHANGELOG.md
When reporting bugs, please include:
- Clear description of the issue
- Steps to reproduce
- Expected vs actual behavior
- Node.js and TypeScript versions
- Minimal code example if possible
Feel free to open an issue for any questions or discussions.