We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.
We have a sample commit-msg hook in scripts/commit-msg.sh. To set it up, run:
ln -s ../../scripts/commit-msg.sh commit-msg
This will run following checks on staged files before each commit:
tsc
to check TypeScript files- check if commit message is starting with one of the following: feat|chore|fix|docs|ci|style|test|pref
If you want to skip the hook, run git commit
with --no-verify
option.
bun i
- Copy the
wrangler.example.toml
file towrangler.toml
and fill in the necessary information - Copy the
client/.env.example
file toclient/.env
and fill in the necessary information - Start the development server
bun dev
- For more control over the development server, you can run the dev command in the client directory and the server directory separately:
# tty1
cd client
bun dev
# tty2
cd server
bun dev
-
Get at least one +1 on your PR before you push. For simple patches, it will only take a minute for someone to review it.
-
Don't force push small changes after making the PR ready for review. Doing so will force readers to re-read your entire PR, which will delay the review process.
-
Always keep the CI green.
-
Do not push, if the CI failed on your PR. Even if you think it's not your patch's fault. Help to fix the root cause if something else has broken the CI, before pushing.
Happy Hacking!
All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.