Hello, we're glad to see you're considering contributing to the project! To ensure that work on Bedrock.js goes as smoothly as possible, we have some guidelines which all external contributors are required to follow. These are a set of basic rules which attempt to ensure that everyone is on the same page.
The follow steps should be followed (in order) when creating a pull request:
- Fork the repo to your account
- Clone your forked repo to your device (ignore this step if you plan to make changes directly on GitHub)
- Open the project (
cd Bedrock.js
) and install dependencies (yarn
ornpm i
, see below) - Make the neccessary changes to the codebase
commit
andpush
your changes to your repo (again, ignore if you're making changes on GitHub)- Create a pull request from your repo into the official Bedrock.js repo
After following these steps correctly, your pull request will be reviewed and, if all goes according to plan, merged into master
.
All external packages for this project are loaded from NPM. While it is not a requirement, we strongly recommend using yarn
to install packages rather than the default npm
.
The reason for this is simple; yarn
is not only quite a lot faster than npm
most of the time (thanks to lot's of caching), but it is just generally nicer to use.