electron-vite/CONTRIBUTING.md

23 lines
1.2 KiB
Markdown
Raw Normal View History

2022-03-17 09:21:02 +01:00
# Contributing
Thanks for being interested in contributing to this project!
## Repo Setup
Clone this repo to your local machine and install the dependencies.
```bash
pnpm install
```
**NOTE**: The package manager used to install and link dependencies must be pnpm.
## Pull Request
2022-07-03 09:31:37 +02:00
- Checkout a topic branch from a base branch, e.g. fix-bug, and merge back against that branch.
2022-03-17 09:21:02 +01:00
- It's OK to have multiple small commits as you work on the PR - GitHub can automatically squash them before merging.
- To check that your contributions match the project coding style make sure `pnpm lint` && `pnpm typecheck` passes. To build project run: `pnpm build`.
- Commit messages must follow the [commit message convention](./.github/commit-convention.md). Commit messages are automatically validated before commit (by invoking [Git Hooks](https://git-scm.com/docs/githooks) via [simple-git-hooks](https://github.com/toplenboren/simple-git-hooks)).
2022-07-03 09:31:37 +02:00
- Commit messages preferably in English.
2022-03-17 09:21:02 +01:00
- No need to worry about code style as long as you have installed the dev dependencies - modified files are automatically formatted with Prettier on commit (by invoking [Git Hooks](https://git-scm.com/docs/githooks) via [simple-git-hooks](https://github.com/toplenboren/simple-git-hooks)).