-
Fork the project and clone your fork.
-
Create a local feature branch:
$ git checkout -b <branch>
-
If adding a function
R.foo
, define it insource/foo.js
, export it fromsource/index.js
, and include unit tests intest/foo.js
. It is not necessary to include the@since
annotation for new functions as it will be set during the release process of the following release. If adding an internal function_foo
, define it insource/internal/_foo.js
. -
Make one or more atomic commits. Each commit should have a descriptive commit message, wrapped at 72 characters. Do not commit changes to
dist/ramda.js
. -
Run
npm test
(ormake test lint
) and address any errors. It will install needed dependencies locally. Preferably, fix commits in place usinggit rebase
orgit commit --amend
to make the changes easier to review and to keep the history tidy. -
Push to your fork:
$ git push origin <branch>
-
Open a pull request.