Co-authored-by: Mikhail Bashkirov <mikhail.bashkirov@ing.com> Co-authored-by: Thijs Louisse <thijs.louisse@ing.com> Co-authored-by: Joren Broekema <joren.broekema@ing.com> Co-authored-by: Gerjan van Geest <gerjan.van.geest@ing.com> Co-authored-by: Erik Kroes <erik.kroes@ing.com> Co-authored-by: Lars den Bakker <lars.den.bakker@ing.com>
48 lines
1 KiB
Markdown
48 lines
1 KiB
Markdown
# Contributing
|
|
|
|
Check out ways to contribute to Lion Web Components:
|
|
|
|
## Existing components: we love pull requests ♥
|
|
Help out the whole lion community by sending your merge requests and issues.
|
|
Check out how to set it up:
|
|
|
|
Setup:
|
|
```bash
|
|
# Clone the repo:
|
|
git clone https://github.com/ing-bank/lion.git
|
|
cd lion
|
|
|
|
# Install dependencies
|
|
yarn install
|
|
|
|
# Create a branch for your changes
|
|
git checkout -b fix/buttonSize
|
|
```
|
|
|
|
Make sure everything works as expected:
|
|
```bash
|
|
# Linting
|
|
npm run lint
|
|
|
|
# Tests
|
|
npm run test
|
|
|
|
# Storybook Demo
|
|
npm run storybook
|
|
```
|
|
|
|
Create a Pull Request:
|
|
- At https://github.com/ing-bank/lion click on fork (at the right top)
|
|
```bash
|
|
# add fork to your remotes
|
|
git remote add fork git@github.com:<your-user>/lion.git
|
|
|
|
# push new branch to your fork
|
|
git push -u fork fix/buttonSize
|
|
```
|
|
- Go to your fork and create a Pull Request :)
|
|
|
|
Some things that will increase the chance that your merge request is accepted:
|
|
|
|
* Write tests.
|
|
* Write a [good commit message](https://www.conventionalcommits.org/).
|