Hello and welcome! Thank you for considering contributing to Joelang. We appreciate your time and effort, and we are excited to have you on board. This document will guide you through the process of contributing to the project.
Please take a moment to review our Code of Conduct to ensure that our community remains friendly, inclusive, and welcoming for everyone.
-
Fork the repository: Start by forking the main Joelang repository. This will create your own copy of the repository, allowing you to make changes without affecting the main project.
-
Clone your fork: Clone your forked repository to your local machine using the following command:
git clone https://github.com/joseph_zidell/joelang.git
-
Create a new branch: Create a new branch for your changes. Use a descriptive name for your branch, such as
feature/your-feature-name
orfix/issue-description
.git checkout -b YOUR_BRANCH_NAME
To set up your development environment, follow these steps:
-
Install dependencies: Run the following command to install the necessary dependencies:
npm install
-
Build the project: Run the following command to build the project:
npm run build
-
Commit your changes: Commit your changes to your branch with a descriptive commit message. Break down your changes into smaller, logically separate commits.
git add . git commit -m "Your descriptive commit message"
-
Push your changes: Push your changes to your fork on GitHub.
git push origin YOUR_BRANCH_NAME
-
Create a pull request: Head to your fork on GitHub and create a new pull request. Make sure to describe your changes and reference any issues that your changes address.
Before submitting your changes, ensure that your code passes all tests and follows our coding standards.
-
Run tests: We use Jest for testing. Run the following command to execute the tests:
npm test
-
Lint your code: We use ESLint for linting. Run the following command to check your code for issues:
npm run lint
If any issues are found, please fix them before submitting your pull request. You can also use the following command to automatically fix some linting issues:
npm run lint-fix
If you need help or have any questions, don't hesitate to ask. You can reach out by creating an issue on GitHub.
Once again, thank you for your interest in contributing to Joelang! We look forward to collaborating with you and making this project even better.