Contributing to openapi-box
September 17, 2023 ยท View on GitHub
Issue Contributions
When opening new issues or commenting on existing issues on this repository please make sure discussions are related to concrete technical issues.
Try to be friendly (we are not animals :monkey: or bad people :rage4:) and explain correctly how we can reproduce your issue.
Code Contributions
This document will guide you through the contribution process.
Step 1: Fork
Fork the project on GitHub and check out your copy locally.
$ git clone git@github.com:username/openapi-box.git
$ cd openapi-box
$ npm install
$ git remote add upstream git://github.com/geut/openapi-box.git
Step 2: Branch
Create a feature branch and start hacking:
$ git checkout -b my-feature-branch -t origin/main
Step 3: Test
Bug fixes and features should come with tests. We use jest to do that.
$ npm test
Step 4: Lint
Make sure the linter is happy and that all tests pass. Please, do not submit patches that fail either check.
We use standard
Step 5: Commit
Make sure git knows your name and email address:
$ git config --global user.name "Bruce Wayne"
$ git config --global user.email "bruce@batman.com"
Writing good commit logs is important. A commit log should describe what changed and why.
Step 6: Changelog
If your changes are really important for the project probably the users want to know about it.
We use chan to maintain a well readable changelog for our users.
Step 7: Push
$ git push origin my-feature-branch