Collaborator-Guide.md
This file
Path
Collaborator-Guide.md
50 lines · 1.9 KiB · Markdown
Last changed by
Merge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2
History of this fileTake it
Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
lines 1–8why, one step back12## Website Issues34Open issues for the expressjs.com website in https://github.com/expressjs/expressjs.com.56## PRs and Code contributions78* Tests must pass.Merge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2
line 9why, one step back9* Follow the [JavaScript Standard Style](http://standardjs.com/) and `npm run lint`.Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
lines 10–13why, one step back10* If you fix a bug, add a test.1112## Branches13Merge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
lines 14–15why, one step back14Use the `master` branch for bug fixes or minor work that is intended for the15current release stream.Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
line 16why, one step back16Merge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
lines 17–19why, one step back17Use the correspondingly named branch, e.g. `5.0`, for anything intended for18a future release of Express.19Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
lines 20–21why, one step back20## Steps for contributing21Merge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
lines 22–29why, one step back221. [Create an issue](https://github.com/expressjs/express/issues/new) for the23 bug you want to fix or the feature that you want to add.242. Create your own [fork](https://github.com/expressjs/express) on github, then25 checkout your fork.263. Write your code in your local copy. It's good practice to create a branch for27 each new issue you work on, although not compulsory.284. To run the test suite, first install the dependencies by running `npm install`,29 then run `npm test`.Merge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2
lines 30–32why, one step back305. Ensure your code is linted by running `npm run lint` -- fix any issue you31 see listed.326. If the tests pass, you can commit your changes to your fork and then createMerge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
lines 33–34why, one step back33 a pull request from there. Make sure to reference your issue from the pull34 request comments by including the issue number e.g. `#123`.Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
lines 35–37why, one step back3536## Issues which are questions37Merge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
lines 38–40why, one step back38We will typically close any vague issues or questions that are specific to some39app you are writing. Please double check the docs and other references before40being trigger happy with posting a question issue.Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
lines 41–48why, one step back4142Things that will help get your question issue looked at:4344* Full and runnable JS code.45* Clear description of the problem or unexpected behavior.46* Clear description of the expected result.47* Steps you have taken to debug it yourself.48Merge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
lines 49–50why, one step back49If you post a question and do not outline the above items or make it easy for50us to understand and reproduce your issue, it will be closed.