Contributing Guidelines
Thank you for your interest in contributing to our project! We welcome contributions from the community to help improve our project and make it even better.
This project proudly uses Nx to manage the repository and run tasks. If you are new to Nx, you can find more information in the Nx documentation.
To ensure a smooth and collaborative contribution process, please follow these guidelines:
-
Fork the repository: Start by forking our repository to your own GitHub account.
-
Clone the repository: Clone the forked repository to your local machine using the following command:
git clone https://github.com/your-username/cli-forge.git
-
Create a new branch: Create a new branch for your contribution using a descriptive name. This will help us understand the purpose of your changes.
git checkout -b your-branch-name
-
Make your changes: Make the necessary changes or additions to the codebase. Ensure that your changes align with the project's coding conventions and style guidelines.
-
Test your changes: Before submitting your contribution, make sure to test your changes thoroughly to ensure they work as expected. To manually check your changes, examples in the
examples
directory can be run using the following command:cd examples
npx tsx {example-name}.tsRun the tests using the following command:
nx run-many -t test,e2e
If you are fixing a bug or adding a feature, consider adding new tests or updating existing ones to cover your changes.
-
Commit your changes: Once you are satisfied with your changes, commit them using descriptive commit messages. This project follows the conventional commits specification for commit messages.
git commit -m "<type>(<scope>): <description>"
Appropriate types include:
feat
: A new featurefix
: A bug fixdocs
: Documentation changeschore
: Maintenance tasks, build changes, etc.
The scope should indicate the part of the project that is affected by the change.
cli-forge
: Changes to the CLIparser
: Changes to the documentation generatordocs-site
: Changes to the documentation
-
Push your changes: Push your changes to your forked repository.
git push origin your-branch-name
-
Create a pull request: Finally, create a pull request from your forked repository to our main repository. Provide a clear and concise description of your changes in the pull request.
We will review your contribution as soon as possible and provide feedback if necessary. Thank you for your valuable contribution!
Additional Resources: