Contributing
Thank you for your interest in contributing to Cadence.js! We welcome contributions from the community to help improve and grow this project. Please take a moment to read through the guidelines below.
Getting Started
Prerequisites
Before you start contributing, ensure you have the following installed:
Setting up the Development Environment
Clone the repository:
bashgit clone https://github.com/timothee-durand/cadence.git cd cadence
Install dependencies:
bashpnpm install
Generate the cadence build for playground (you'll have to do this each time you change the cadence code):
bashcd ../cadence/ && pnpm generate:playground
Structure
This project has 2 packages:
Making Changes
Create a new branch for your changes:
bashgit checkout -b feat/name-of-feature
Make your changes and ensure the tests pass.
Commit your changes with a descriptive commit message:
bashgit commit -m "feat: add new feature"
Push your branch to the remote repository:
bashgit push origin feat/name-of-feature
Open a pull request on GitHub.
Coding Guidelines
- Follow the existing coding style and conventions in the project.
- Write clear and concise code with comments where necessary.
- Ensure your code is well-tested
- Ensure the documentation is up-to-date, don't hesitate to add an example to the playground if needed !
- Ensure your code passes the linter and tests.
- Ensure your commit messages are descriptive and follow the conventional commits format.
- Ensure your pull request description is descriptive and includes a summary of the changes, as well as any relevant motivation and context.
- Ensure your pull request title follows the conventional commits format.
- Ensure your pull request is linked to an issue.
- Ensure your pull request has been reviewed by at least one other contributor.
- Ensure your pull request has been approved by at least one other contributor.
Feature Requests and Bug Reports
If you find a bug or have a feature request, please open an issue on the GitHub repository.
Licensing
By contributing to Cadence.js, you agree that your contributions will be licensed under the project's MIT License.
Thank you for contributing to Cadence.js! 🎶🚀