Thank you for considering contributing to the deno_generate
repository. We
appreciate your interest and efforts in making this project better. This
document will guide you on how to contribute effectively.
The deno_generate
repository is part of the Deno ecosystem
(https://deno.land/x/generate) but is not an official Deno project at this
time. It aims to provide a code generation tool for Deno projects.
To get started with contributing to deno_generate
, follow these steps:
-
Read the contribution guidelines for Deno. Although this project is not an official Deno project, the contribution guidelines provide valuable information on how to contribute effectively.
-
Fork the
deno_generate
repository to your GitHub account. -
Clone the forked repository to your local machine.
-
Make the necessary changes or additions to the codebase.
-
Ensure that your changes adhere to the style guide provided in the repository.
-
Write descriptive commit messages for your changes.
-
Push your changes to your forked repository.
-
Submit a pull request (PR) to the
deno_generate
repository, describing the changes you have made.
Here are some general guidelines to keep in mind while contributing to
deno_generate
:
-
Maintain a professional and respectful attitude in all interactions related to this project. Refer to the Rust's code of conduct for guidance.
-
If you encounter any issues or need help, feel free to ask for assistance in the community chat room.
-
Before working on an existing issue, comment on the issue to let others know that you are going to work on it.
-
For new features, create an issue first and discuss it with other contributors. This step ensures that your proposed feature aligns with the project's goals and increases the chances of its acceptance.
When submitting a pull request, ensure that you follow these guidelines:
-
Give your pull request a descriptive title summarizing the changes you have made.
Good examples:
- feat: Add new code generation feature
- fix: Resolve issue with code formatting
Bad examples:
- fix #123
- update code
-
Reference the related issue(s) in the pull request description.
-
Include tests that cover the changes you have made. Tests help ensure the stability and quality of the project.
If you are submitting a pull request specifically for the deno_generate
repository, make sure to follow these additional guidelines:
-
Ensure that the code passes the necessary tests. Run the appropriate testing commands specific to this repository.
-
Format the code to adhere to the consistent style used in the repository. Use the provided formatting tools or scripts.
-
Check the code for common mistakes and errors using linting tools specific to this repository.
Proper documentation is crucial for maintaining the project and helping other developers understand the codebase. Follow these guidelines for documenting APIs:
Use JSDoc comments to document publicly exposed APIs and types. Place the JSDoc comments immediately before the statement they apply to. Refer to the JSDoc documentation for more information on writing effective JSDoc comments.
Thank you for your interest in contributing to deno_generate
! We appreciate
your contributions and look forward to reviewing your pull requests.