Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.7 KB

CONTRIBUTING.md

File metadata and controls

41 lines (32 loc) · 1.7 KB

Contributing Guide

First, support is handled via the Slack Channel and the Mailing List. Ask your questions there.

When submitting issues on GitHub, please include as much detail as possible to make debugging quick and easy.

  • good - Your versions of Angular, JSData, etc, relevant console logs/error, code examples that revealed the issue
  • better - A plnkr, fiddle, or bin that demonstrates the issue
  • best - A Pull Request that fixes the issue, including test coverage for the issue and the fix

Github Issues.

Submitting Pull Requests

  1. Contribute to the issue/discussion that is the reason you'll be developing in the first place
  2. Fork js-data
  3. git clone [email protected]:<you>/js-data.git
  4. cd js-data; npm install; bower install;
  5. Write your code, including relevant documentation and tests
  6. Run npm test (build and test)
  7. Your code will be linted and checked for formatting, the tests will be run
  8. The dist/ folder & files will be generated, do NOT commit dist/*! They will be committed when a release is cut.
  9. Submit your PR and we'll review!
  10. Thanks!

Have write access?

To cut a release:

  1. Checkout master
  2. Bump version in package.json appropriately
  3. Run npm test
  4. Update CHANGELOG.md appropriately
  5. Commit and push changes, including the dist/ folder
  6. Make a GitHub release
  • set tag name to version
  • set release name to version
  • set release body to changelog entry for the version
  • attach the files in the dist/ folder
  1. git fetch origin
  2. npm publish .