CONTRIBUTING.md
This file
Path
docs/CONTRIBUTING.md
56 lines · 1.9 KiB · Markdown
Last changed by
docs: improve grammar in contributing documentation (#4581)Isha Singhbefore adoptiond3abeb1
History of this fileTake it
The walk stopped after 200 commits: lines older than 793ffda point at it.
chore: enable `skipLibCheck` to resolve TypeScript compilation issues (#4342)Yusuke Wadabefore adoption793ffda
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.chore: enable `skipLibCheck` to resolve TypeScript compilation issues (#4342)Yusuke Wadabefore adoption793ffda
lines 9–27why, 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.2021## Installing dependencies2223The `honojs/hono` project uses [Bun](https://bun.sh/) as its package manager. Developers should install Bun.2425After that, please install the dependency environment.2627```bashchore: update `bun install` commands to use `--frozen-lockfile` (#4398)3w36zj6before adoption2f489b3
line 28why, one step back28bun install --frozen-lockfilechore: enable `skipLibCheck` to resolve TypeScript compilation issues (#4342)Yusuke Wadabefore adoption793ffda
lines 29–37why, one step back29```3031## PRs3233Please ensure your PR passes tests with `bun run test`.3435## Third-party middleware3637Third-party middleware is not in the core.docs: grammar issue (#4508)WuMingDaobefore adoptiond3479a3
line 38why, one step back38It is allowed to depend on other libraries or work only in specific environments, such as Cloudflare Workers. For example:chore: enable `skipLibCheck` to resolve TypeScript compilation issues (#4342)Yusuke Wadabefore adoption793ffda
lines 39–47why, one step back3940- GraphQL Server middleware41- Firebase Auth middleware42- Sentry middleware4344You can make a third-party middleware by yourself.45It may be under the "honojs organization" and distributed in the `@honojs` namespace.4647The monorepo "[honojs/middleware](https://github.com/honojs/middleware)" manages these middleware.docs: grammar issue (#4508)WuMingDaobefore adoptiond3479a3
line 48why, one step back48If you want to do it, create an issue about your middleware.chore: enable `skipLibCheck` to resolve TypeScript compilation issues (#4342)Yusuke Wadabefore adoption793ffda
lines 49–52why, one step back4950## Local Development5152```bashdocs(CONTRIBUTING): use bun instead of yarn in local development setup (#4503)Taichi Ishikawabefore adoptiondf7ac8d
line 53why, one step back53git clone git@github.com:honojs/hono.git && cd hono/.devcontainer && bun install --frozen-lockfilechore: enable `skipLibCheck` to resolve TypeScript compilation issues (#4342)Yusuke Wadabefore adoption793ffda
lines 54–56why, one step back54docker compose up -d --build55docker compose exec hono bash56```