If you want your issue to be resolved quickly, please include in your issue:
- Gatsby version, node.js version, OS version
- The contents of your
gatsby-node.js
,gatsby-browser.js
, andpackage.json
.
You can install the latest master
version of Gatsby by following these
simple steps:
- Clone the repo, navigate to its directory.
- Execute
npm install
to install packages. - Execute
npm uninstall -g gatsby && npm link
- Use
git pull
to update to latest Gatsby.
Test suite can be run via npm test
.
This project uses FlowType for static type checking.
Note for Windows Users - Flow is not currently supported on Windows. Please do not let this prevent you from contributing. If you can use a VM for this part, great! Otherwise, feel free to open a PR and ask for assistance.
The usual contributing steps are:
- Fork the official repository.
- Clone your fork: git clone
git@github.com:<your-username>/gatsby.git
- Make sure tests are passing for you: npm install && npm test
- Create a topic branch: git checkout -b topics/new-feature-name
- Run
npm run watch
to watch code and compile your changes. - Clone one of the official repositories and "link" your fork of Gatsby
to it (run
npm link gatsby
). - Add tests and code for your changes.
- Once you‘re done, make sure all tests still pass: npm install && npm test
- Commit and push to your fork.
- Create an pull request from your branch.