We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
Make sure you have npm
version 7+ installed since this will automatically install peer dependencies.
The .vscode
directory contains and extensions.json file which has 3 recommended extensions in it. Please install them.
This project makes heavy use of typescript, so if you aren't familiar with it yet please check it out.
All the code for the views is located in the src/renderer
directory and electron specific setups are done in the src/electron
directory.
Pull requests are the best way to propose changes to the codebase. We actively welcome your pull requests:
- Fork the repo and create your branch from
master
. - Run
npm install
(this might take some time on the first run since it needs to download the electron binaries). npm start
will startup the project locally.- If you're done making your changes:
npm run electron:build
, this will create a production executable. - Run the recently built executable and verify that everything is still working as expected. (it is located in the newly generated
dist_electron
directory) - If everything is fine, increase the version number in
package.json
. Take a look at https://semver.org/ if you are not sure how to version your changes. - Make sure your code lints.
- Issue that pull request!
In short, when you submit code changes, your submissions are understood to be under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.
Report bugs using Github's issues
We use GitHub issues to track public bugs. Report a bug by opening a new issue; it's that easy!
Great Bug Reports tend to have:
- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can.
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
People love thorough bug reports. I'm not even kidding.
By contributing, you agree that your contributions will be licensed under its MIT License.
{
"printWidth": 100,
"singleQuote": true,
"useTabs": false,
"endOfLine": "lf",
"tabWidth": 2,
"trailingComma": "all",
"semi": true
}
- We configured commit hooks which will be run once you commit your code (done via husky)
This document was adapted from the open-source contribution guidelines for Facebook's Draft