Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Latest commit

 

History

History
45 lines (40 loc) · 1.17 KB

CONTRIBUTING.md

File metadata and controls

45 lines (40 loc) · 1.17 KB

Contributing

  1. Check out the issues
  2. Fork this repository
  3. Clone your fork
  4. Add the upstream project (this one) as a git remote:
    $ git remote add upstream [email protected]:rpearce/simple-uniqueid.git
    $ git fetch upstream
    $ git rebase upstream/master
    
  5. Check out a feature branch
    $ git checkout -b my-feature
    
  6. Make your changes
  7. Push your branch to your GitHub repo
    $ git push origin my-feature
    
  8. Create a pull request from your branch to this repo's master branch
  9. When all is merged, pull down the upstream changes to your master
    $ git fetch upstream
    $ git merge upstream/master
    
  10. Delete your feature branch (locally and then on GitHub)
    $ git branch -D my-feature
    $ git push origin :my-feature
    

Testing

Tests are located in the test/ folder. Here's how to run them:

$ yarn test

To test in watch mode:

$ yarn test --watch