CONTRIBUTING.md
This file
Path
docs/CONTRIBUTING.md
62 lines · 2.2 KiB · Markdown
Last changed by
docs(contribution): simplifyAI Usage Policy (#4972)Yusuke Wadabefore adoption9051d3e
History of this fileTake it
The walk stopped after 200 commits: lines older than 3a550d2 point at it.
4.10.4Yusuke Wadabefore adoption3a550d2
lines 1–6why, one step back1# Contribution Guide23Contributions Welcome! We will be glad for your help.4You can contribute in the following ways.56- Create an Issue - Propose a new feature. Report a bug.docs: improve grammar in contributing documentation (#4581)Isha Singhbefore adoptiond3abeb1
lines 7–8why, one step back7- Pull Request - Fix a bug or typo. Refactor the code.8- Create third-party middleware - See instructions below.4.10.4Yusuke Wadabefore adoption3a550d2
lines 9–20why, one step back9- Share - Share your thoughts on the Blog, X, and others.10- Make your application - Please try to use Hono.1112Note:13This project is started by Yusuke Wada ([@yusukebe](https://github.com/yusukebe)) for the hobby proposal.14It was just for fun. For now, this stance has not been changed basically.15I want to write the code as I like.16So, if you propose great ideas, but I do not appropriate them, the idea may not be accepted.1718Although, don't worry!19Hono is tested well, polished by the contributors, and used by many developers. And I'll try my best to make Hono cool and hot, beautiful, and ultrafast.20docs(contribution): add AI Usage Policy (#4970)Yusuke Wadabefore adoption0265a54
lines 21–24why, one step back21## AI Usage Policy2223You may use AI to contribute, but it must never waste a maintainer's time or make their work unpleasant.24docs(contribution): simplifyAI Usage Policy (#4972)Yusuke Wadabefore adoption9051d3e
line 25why, one step back25To enforce this, and regardless of whether AI was actually used, a maintainer may close your PR without notice and block your account.docs(contribution): add AI Usage Policy (#4970)Yusuke Wadabefore adoption0265a54
line 26why, one step back264.10.4Yusuke Wadabefore adoption3a550d2
lines 27–43why, one step back27## Installing dependencies2829The `honojs/hono` project uses [Bun](https://bun.sh/) as its package manager. Developers should install Bun.3031After that, please install the dependency environment.3233```bash34bun install --frozen-lockfile35```3637## PRs3839Please ensure your PR passes tests with `bun run test`.4041## Third-party middleware4243Third-party middleware is not in the core.docs: grammar issue (#4508)WuMingDaobefore adoptiond3479a3
line 44why, one step back44It is allowed to depend on other libraries or work only in specific environments, such as Cloudflare Workers. For example:4.10.4Yusuke Wadabefore adoption3a550d2
lines 45–53why, one step back4546- GraphQL Server middleware47- Firebase Auth middleware48- Sentry middleware4950You can make a third-party middleware by yourself.51It may be under the "honojs organization" and distributed in the `@honojs` namespace.5253The monorepo "[honojs/middleware](https://github.com/honojs/middleware)" manages these middleware.docs: grammar issue (#4508)WuMingDaobefore adoptiond3479a3
line 54why, one step back54If you want to do it, create an issue about your middleware.4.10.4Yusuke Wadabefore adoption3a550d2
lines 55–58why, one step back5556## Local Development5758```bashdocs(CONTRIBUTING): use bun instead of yarn in local development setup (#4503)Taichi Ishikawabefore adoptiondf7ac8d
line 59why, one step back59git clone git@github.com:honojs/hono.git && cd hono/.devcontainer && bun install --frozen-lockfile4.10.4Yusuke Wadabefore adoption3a550d2
lines 60–62why, one step back60docker compose up -d --build61docker compose exec hono bash62```