Thank you for your interest in contributing to ajour
! We appreciate your help in improving our application. This guide will help you understand how you can contribute and make the most out of your development experience.
- Reporting Bugs: If you find a bug, please check our GitHub Issues to see if it has already been reported. If not, feel free to create a new issue, providing as much detail as possible.
- Feature Requests: If you have an idea for a new feature, please open a GitHub issue and describe your proposal in detail.
- Pull Requests: We welcome contributions through Pull Requests (PRs). Here's how you can create one:
- Fork the repository and clone the fork to your local development environment.
- Create a new branch for your changes:
git checkout -b feature/my-feature
orfix/my-bugfix
. - Make the changes you wish to contribute. Ensure your code is well-documented and tested.
- Commit your changes:
git commit -m 'Add new feature/fix bug'
. - Push your changes to your fork:
git push origin feature/my-feature
. - Create a Pull Request from your feature branch to the main branch of the ajour repository.
- Clone the Repository: Clone the repository from GitHub.
git clone https://github.com/johnie/ajour.git
- Navigate to Project Directory:
cd ajour
- Install Dependencies: Install the required packages using pnpm (preferred), npm, or yarn:
pnpm install # or npm install # or yarn install
- Build the Project: Ensure the project builds correctly by running the build script:
pnpm build # or npm run build
- Run Tests: To keep the codebase reliable, make sure all tests are passing:
pnpm test # or npm run test
- Format Code: Use Prettier to format code according to the project style:
pnpm format # or npm run format
- Coding Style: Please adhere to the project's coding style. We use Prettier to enforce code formatting consistently across the codebase.
- Commit Messages: Write clear, concise commit messages. Follow the convention:
type(scope): description [skip ci] [optional body] [optional footer(s)]
type
can befix
,feat
,docs
,style
, etc.scope
is optional and may relate to the specific part of the module you are working on.
- Add Tests: Tests are important to ensure the stability of the code. Please add or update tests for any code changes.
- Documentation: Ensure any new features or changes are reflected in the documentation. Update doc comments within the code as necessary.
If you encounter a bug or issue, please follow these steps to report it:
- Search Existing Issues: Before opening a new issue, check whether the bug has been already reported.
- Create a New Issue: If you don't find an existing issue, you can create a new one on our GitHub Issues page.
- Provide Details: Describe the bug briefly and include steps to reproduce it, along with any other relevant information (e.g., version, environment).
By contributing to this project, you agree that your contributions will be licensed under the MIT License.
For questions and additional information, feel free to reach out through the project's GitHub Discussions or contribute directly by submitting an issue or pull request. Your participation is crucial to our success!
Thank you for your contributions!