Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 2.08 KB

CONTRIBUTING.md

File metadata and controls

61 lines (43 loc) · 2.08 KB

Contributing to heroicons-lookup

👍🎉 First off, thanks for taking the time to contribute! 🎉👍

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Table of Contents

Setting Up the project locally

To install the project you need to have node and npm

  1. Fork the project, clone your fork:

    # Clone your fork
    git clone https://github.com/<your-username>/heroicons-lookup.git
    
    # Navigate to the newly cloned directory
    cd heroicons-lookup
  2. Your environment needs to be running node version >= 9.3.0 and npm version >= 5.5.0.

  3. from the root of the project: npm to install all dependencies

    • make sure you have latest npm version
  4. from the root of the project: npm start to run the cli.

Tip: Keep your main branch pointing at the original repository and make pull requests from branches on your fork. To do this, run:

git remote add upstream https://github.com/kefranabg/heroicons-lookup.git
git fetch upstream
git branch --set-upstream-to=upstream/main main

This will add the original repository as a "remote" called "upstream," then fetch the git information from that remote, then set your local main branch to use the upstream main branch whenever you run git pull. Then you can make all of your pull request branches based on this main branch. Whenever you want to update your version of main, do a regular git pull.

Submitting a Pull Request

Please go through existing issues and pull requests to check if somebody else is already working on it.

Also, make sure to run the tests and lint the code before you commit your changes.

npm run lint