Thank you for your interest in contributing to Compose Craft! We welcome contributions from the community and are happy to have you on board.
By participating in this project, you agree to abide by our Code of Conduct. Please report any unacceptable behavior to the project maintainers.
Before creating bug reports, please check the issue list to avoid duplicates. When you create a bug report, include as many details as possible:
- Use a clear and descriptive title
- Describe the exact steps to reproduce the problem
- Provide specific examples to demonstrate the steps
- Describe the behavior you observed after following the steps
- Explain which behavior you expected to see instead and why
- Include screenshots if possible
Enhancement suggestions are tracked as GitHub issues. When creating an enhancement suggestion:
Use issue template if one fit to your needs.
- Use a clear and descriptive title
- Provide a detailed description of the proposed functionality
- Include mockups or examples if possible
- Explain why this enhancement would be useful
- Fork the repository and create your branch from
main
- Follow the coding style of the project
- Include comments in your code where necessary
- Update the documentation if needed
- Ensure the test suite passes
- Create a pull request with a clear title and description
- Ensure you have Node.js installed (preferably the latest LTS version)
- Fork and clone the repository
- Install dependencies:
pnpm install
- Set up your environment variables:
SECRET_KEY=your_secret_key MONGODB_URI=your_mongodb_uri URL=http://localhost:3000 CORE_ONLY=false DISABLE_TELEMETRY=true
- Start the development server:
pnpm run dev
- Use TypeScript for all new code
- Follow the existing code style
- Write meaningful commit messages
- Add comments for complex logic
- Ensure your code is properly formatted using the project's prettier configuration
Before submitting a pull request:
- Run the test suite:
pnpm test
- Ensure your code passes linting:
pnpm lint
- Update documentation for any changed functionality
- Document new features
- Keep the README.md up to date
If you have any questions or need clarification:
- Check the existing issues
- Open a new issue with your question
- Contact the maintainers
By contributing to Compose Craft, you agree that your contributions will be licensed under its licence.