Thank you for your interest in contributing to github-apiv4!! 🎉
- Fork and clone forked repository
git clone `forked repository url`
# git clone https://github.com/ioedeveloper/github-apiv4
cd github-apiv4
- Install dependencies
npm install
- Run dev mode
npm run dev
- Run github-apiv4 tests locally.
npm run test
All submissions, including submissions by project members, require review. GitHub Help.
- Coding style is fully defined in tslint.json
- Comments should be generally avoided. If the code would not be understood without comments, consider re-writing the code to make it self-explanatory.
To run code linter, use:
npm run lint
Commit messages should follow this format:
label(title): description
- label is one of the following:
fix
- github-apiv4 bug fixes.feat
- github-apiv4 features.docs
- changes to documentation.test
- changes to github-apiv4 tests.style
- changes to style (tslint.json).
- title is a brief summary of changes.
- description is optional, elaborate changes.
Example:
fix(Viewer Type): fix viewer type due to ... error.
To update documentation with changes made use:
npm run docs
For all dependencies (both installation and development):
- Do not add a dependency if the desired functionality is easily implementable.
- If adding a dependency, it should be extremely necessary to the development of the feature and all dependencies should be well-maintained and trustworthy.
- Every feature should have a corresponding test.
Github-Apiv4 tests are located in test/
- To run all tests:
npm run test