First off, thank you for considering contributing to OpenScreeps! Before you deep dive and help out with development, make sure to read the following sections in order to know what and how to work on something. If you need help with anything, feel free to create an issue on GitHub or contact us in #open-screeps on slack.
All members of the community are expected to follow the code of conduct.
There are several way to contribute to this project, the following section will show you how.
This section will help you writing code for the OpenScreeps project. It is assumed that you have basic knowledge of how git and GitHub work.
- Install dependencies:
npm install
- Make your changes to the module and edit the tests if required
- Verify the tests are still passing by executing
npm test
- Make sure the readme reflects your changes
- Install dependencies:
npm install
- Execute
npm run create
and follow the instructions - Create your module and write relevant ava cases
- Run the tests by executing
npm test
- Make sure the readme is up to date and contains a relevant example
- Follow Conventional Commits
- Use
npm run commit
to get some assistance creating the commit
- Fill in the required template
- Do not include issue numbers in the PR title
TODO
TODO
TODO
TODO