Thank you for considering contributing to Sprocket! We appreciate your interest and support. By contributing, you can help make Sprocket better and more robust for everyone. This guide will help you understand how to contribute to the project effectively.
There are several ways you can contribute to Sprocket:
- Reporting Issues: If you encounter any problems or bugs while using Sprocket, please let us know by creating an issue in the GitHub repository.
- Suggesting Enhancements: If you have ideas for new features or improvements to Sprocket, feel free to open an issue to discuss and suggest them.
- Writing Code: You can contribute to the project by writing code, fixing bugs, or implementing new features. See the Pull Requests section for more information.
- Testing: Help us ensure the quality and reliability of Sprocket by testing the library, reporting issues, and verifying bug fixes.
- Documentation: Improve the project's documentation by suggesting changes, providing examples, or adding missing information.
If you come across any issues or bugs while using Sprocket, please help us by reporting them. When reporting issues, provide as much information as possible, including steps to reproduce the problem and any relevant error messages or logs. You can create a new issue in the Issue Tracker.
If you have ideas for new features, enhancements, or improvements to Sprocket, we would love to hear them. You can submit your suggestions by creating a new issue in the Issue Tracker. Please provide detailed information about your suggestion, including its purpose and potential benefits.
If you want to contribute code to Sprocket, you can do so by opening a pull request. Here's a high-level overview of the process:
- Fork the Sprocket repository.
- Create a new branch for your changes.
- Make your code changes, following the Code Style Guidelines.
- Write tests to cover your changes.
- Ensure all tests pass.
- Commit your changes and push them to your forked repository.
- Open a pull request in the main Sprocket repository.
Once your pull request is opened, it will be reviewed by the maintainers. They may provide feedback or request additional changes. Collaborate with the maintainers to address any concerns and iterate on your changes. After the review process, your pull request will be merged if it meets the project's requirements.
To set up a development environment for working on Sprocket, follow the steps below:
- Clone the Sprocket repository:
git clone https://github.com/bitbldr/sprocket.git
- Install the required dependencies:
gleam deps download
yarn
- Start the development server:
yarn run watch
- Open your web browser and visit
http://localhost:3000
to see the sample app.
This will run both client (ts) and server (gleam) unit tests
yarn test