Thank you for your interest in contributing to repofetch. We welcome contributions from the community and appreciate your help in making this project better.
Before you begin, ensure you have the following installed:
- Node.js (version 18 or higher)
- pnpm (version 8 or higher)
- Clone the repository
git clone https://github.com/nesalia/repofetch.git
cd repofetch- Install dependencies
pnpm install- Enable husky hooks
pnpm prepareThis will set up the pre-commit hooks that run linting, type checking, and tests before each commit.
To run the test suite:
pnpm testFor watch mode during development:
pnpm test --watchTo build all packages:
pnpm buildTo build a specific package:
pnpm --filter @deessejs/core buildTo run the linter:
pnpm lintTo run type checking:
pnpm typecheck- Create a feature branch
git checkout -b feature/your-feature-nameor for bug fixes:
git checkout -b fix/your-bug-fix-name- Make your changes
Write your code following the existing patterns and conventions in the project.
- Test your changes
Ensure all tests pass before committing:
pnpm test- Commit your changes
We follow the conventional commits format. Make sure your commit messages are clear and descriptive.
- Push your changes
git push origin your-branch-name-
Create a pull request against the
mainbranch -
Fill out the PR template with:
- A clear description of the changes
- Link to any related issues
- Screenshots or examples if applicable
-
Ensure all checks pass
The CI pipeline will run:
- Linting
- Type checking
- Tests
All checks must pass before a PR can be merged.
- Request a review
Once your PR is ready, request a review from one of the maintainers.
- Use TypeScript for all new code
- Follow the existing code formatting (enforced by ESLint and Prettier)
- Write meaningful variable and function names
- Add comments for complex logic
- Include tests for new functionality
If you find a bug or have a suggestion, please:
- Search existing issues first
- Create a new issue with a clear description
- Include steps to reproduce (for bugs)
- Specify your environment (Node version, OS, etc.)
If you have questions about contributing, please reach out to us at: support@nesalia.com
By contributing to repofetch, you agree that your contributions will be licensed under the MIT License - see the LICENSE file for details.