Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 1.11 KB

CONTRIBUTING.md

File metadata and controls

68 lines (45 loc) · 1.11 KB

Contributing

Contributions are very welcome. Best to start with creating an issue if it's something non-trivial.

Local dev

Install

git clone https://github.com/jorenbroekema/dark-theme-utils.git
cd dark-theme-utils

# Install dependencies
npm i

# Create a branch for your changes
git checkout -b fix/some-bug

Compile

Compile TS code

npm run compile

Or in watch-mode

npm run compile:watch

Run Demo

npm run demo

Or in watch-mode

npm run demo:watch

Check your code for linting/formatting issues

# fixes things that don't need user intervention
npm run format

# check there are no issues
npm run lint

Contributing your changes

Fork this repository, https://github.com/jorenbroekema/dark-theme-utils click on fork (at the top right).

# add fork to your remotes
git remote add fork https://github.com/<your-user>/dark-theme-utils.git

# push new branch to your fork
git push -u fork fix/some-bug

Keeping origin remote as the main remote makes it easy to keep in sync, your fork is just the "publishing target" of your branch.