If you need help with something, you can drop a message in the official Gitter chat room. I (@sergiolepore) or another contributor will help you :)
- Update to the most recent master release if possible. I may have already fixed your bug.
- Search for similar issues. It's possible somebody has encountered this bug already.
- Provide a demo code, gist or very specific steps to reproduce the error. If I cannot reproduce it, I will close the ticket.
- Just wait until I verify the error and release a patch to correct it.
- Search issues for similar feature requests. It's possible somebody has already asked for this feature or provided a pull request that's awaiting to be merged.
- Provide a clear and detailed explanation of the feature you want and why it's important to add.
- If the feature is complex, consider writing some initial documentation for it. If I do end up accepting the feature it will need to be documented and this will also help me to understand it better.
- Attempt a Pull Request. If you're at all able, start writing some code :)
- Fork the main repository.
- Create a new branch from master. Give it a descriptive name, like
add-this-thing
. - Make sure your editor supports editorconfig.org config files.
- Install
gulp
andmocha
globally.npm i -g gulp
andnpm i -g mocha
. cd
into Cation directory and typenpm install
in your console. Then typegulp
. A file watcher will keep running in foreground.- The only two places where Cation lives are
src/
andtest/
. Do not edit anything insidedist/
. This directory contains the transpiled ES6 files to ES5, performed by Babel. - Write using ES6 syntax inside
src/
. Everytime you save a file, Babel will transpile everything to ES5 code. Then, Mocha will run all the test units. - Write using ES5 syntax inside
test/
. Everytime you save a file, Mocha will run all the test units. - Whenever you add/modify/delete anything but documentation, make sure the tests are not failing. If something you are writing is not covered by the existing tests, add a new test.
- Double check the test results.
- Commit your changes both manually made and those made by Babel. Use a descriptive message.
- Push your changes to your fork and submit a Pull Request. Provide some explanation of why you made the changes you made.
Check the CodeStyle.md document for more info.