Skip to content

Latest commit

 

History

History
45 lines (23 loc) · 2.46 KB

CONTRIBUTING.md

File metadata and controls

45 lines (23 loc) · 2.46 KB

Contributing To Ercaspay JavaScript | TypeScript SDK

First off, thanks for taking the time to contribute! 😄

The following are guidelines for contributing to Ercaspay-Js-SDK. These aren't rules, they are more like guidelines anyways. Use your best judgment and feel free to propose changes to this document in a pull request.

View Pull Requests

Pull Requests are the way concrete changes are made to the code, documentation, dependencies, and tools contained in this repository.

Setting up your local environment 🖥️

Step 1: Fork

Start by forking this repository. This is to allow you to make changes and then submit a pull request. By default you can't contribute to the repository if you aren't added as a collaborator.

Step 2: Branch

Create a new branch on the forked repository where you can make your changes and submit a pull request. Please note that your pull request must be tied to an issue. It must also be descriptive otherwise it will not get merged into the main repository. Also note that your branch name must be tied to your issue number.

Step 3: Code

Get started writing the codes or fixing the bugs as started in the issue you created or any issue you are assigned to. Again, you must be working with an issue before. Failure to do so will also result in your pull request being rejected.

Step 4: Commit

When you are done writing your codes. Please write descriptive commits, you can make research on how to write conventional commits https://www.conventionalcommits.org/en/v1.0.0/, these helps generate a changelog. Failure to do so will also result in your pull request being rejected even if it was assigned to an issue.

Step 5 Test

You should also run tests on your codes to avoid pushing bugs. Note that your pull request will not be merged if it solves an issues and then break an existing feature.

Step 6 Push

Okay, this is pretty straightforward. Once you're done testing, push your codes to your repo.

Step 7 Open Pull Request

You can submit your pull request to the main repository after pushing to your codes to your repository. There might be a Pull Request template to follow but nevertheless, give your Pull Request good label and description.

Step 8 Join The Discussion

Once you've opened your PR, you can join the discussion, make a post or tag us in the discussion. Just engage 😅. And please remember, Treat everyone with love