Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.13 KB

CONTRIBUTE.md

File metadata and controls

37 lines (28 loc) · 2.13 KB

Contributing Guidelines

First of all, thank you for considering to contribute to the Angular Wizard project. The community is important to us and we appreciate your time and effort to help pushing towards a better generic tree component.

Submitting a PR

As an attempt to make the process of contributing more pleasant for you and the reviewers, we've created a checklist. Please make sure your PR confirms to critera listed below.

  • Use a descriptive title using proper grammar (this is important because the same text will be used for the changelog)
  • Make sure the build passes grunt build
  • Do not include files from the dist/ directory (These are created when a new release is made. Adding them to every PR will result in merge conflicts for other PR's.)

Accepting a PR

  1. Manually review PR in the 'Files Changed' tab of the GitHub PR section
  2. Ensure Travis build passing
  3. Review Coveralls and Codacy reports.
    A fail does not necessarily mean a PR should be rejected, but it is a red flag that you should take a close look at the report.
  4. Merge the PR. If the PR is simple and good as-is you can merge it using GitHub's web UI. If the PR needs some amending, or you want to test the changes, perform a command line merge (the 'commandline instructions' link gives the commands).
  5. Test the PR locally and run the tests (grunt test)
  6. Make any additional changes you need (update README, update example site, etc)
  7. Push the changes

Creating a release

  1. Run the tests ($ grunt test)
  2. Update CHANGELOG.md with release notes for the changes in the this release
  3. Update version with grunt bump add the type flag otherwise a "patch" version change will be applied. e.g. grunt bump --type=minor
  4. Run $ grunt build and commit, this time including the new dist files.
  5. Tag the commit as a new release (like v2.18.0) (eg. $ git tag -a v0.0.2 -m "Release version 0.0.2")
  6. Push all the changes including tags (eg. $ git push --tags)
  7. Publish to npm with $ npm publish ./
  8. Add a new Release in GitHub

Our intention is to keep working on this document. Happy coding!