diff --git a/README.md b/README.md index d269d397..460e1057 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,24 @@
- - Hono + + Hono

-English +English · -日本語 +日本語

-[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/yusukebe/hono/ci)](https://github.com/yusukebe/hono/actions) -[![GitHub](https://img.shields.io/github/license/yusukebe/hono)](https://github.com/yusukebe/hono/blob/master/LICENSE) +[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/honojs/hono/ci)](https://github.com/honojs/hono/actions) +[![GitHub](https://img.shields.io/github/license/honojs/hono)](https://github.com/honojs/hono/blob/master/LICENSE) [![npm](https://img.shields.io/npm/v/hono)](https://www.npmjs.com/package/hono) [![npm](https://img.shields.io/npm/dm/hono)](https://www.npmjs.com/package/hono) [![npm type definitions](https://img.shields.io/npm/types/hono)](https://www.npmjs.com/package/hono) -[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/yusukebe/hono)](https://github.com/yusukebe/hono/pulse) -[![GitHub last commit](https://img.shields.io/github/last-commit/yusukebe/hono)](https://github.com/yusukebe/hono/commits/master) +[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/honojs/hono)](https://github.com/honojs/hono/pulse) +[![GitHub last commit](https://img.shields.io/github/last-commit/honojs/hono)](https://github.com/honojs/hono/commits/master) Hono - _**[炎] means flame🔥 in Japanese**_ - is a small, simple, and ultrafast web framework for Cloudflare Workers and Service Worker based serverless such as Fastly Compute@Edge. @@ -66,15 +66,15 @@ Hono is fast. But not only fast. Built-in middleware make _"**Write Less, do more**"_ in reality. You can use a lot of middleware without writing code from scratch. Below are examples. -- [Basic Authentication](https://github.com/yusukebe/hono/tree/master/src/middleware/basic-auth/) -- [Cookie parsing / serializing](https://github.com/yusukebe/hono/tree/master/src/middleware/cookie/) -- [CORS](https://github.com/yusukebe/hono/tree/master/src/middleware/cors/) -- [ETag](https://github.com/yusukebe/hono/tree/master/src/middleware/etag/) -- [GraphQL Server](https://github.com/yusukebe/hono/tree/master/src/middleware/graphql-server/) -- [Logger](https://github.com/yusukebe/hono/tree/master/src/middleware/logger/) -- [Mustache template engine](https://github.com/yusukebe/hono/tree/master/src/middleware/mustache/) (Only for Cloudflare Workers) -- [JSON pretty printing](https://github.com/yusukebe/hono/tree/master/src/middleware/pretty-json/) -- [Serving static files](https://github.com/yusukebe/hono/tree/master/src/middleware/serve-static/) (Only for Cloudflare Workers) +- [Basic Authentication](https://github.com/honojs/hono/tree/master/src/middleware/basic-auth/) +- [Cookie parsing / serializing](https://github.com/honojs/hono/tree/master/src/middleware/cookie/) +- [CORS](https://github.com/honojs/hono/tree/master/src/middleware/cors/) +- [ETag](https://github.com/honojs/hono/tree/master/src/middleware/etag/) +- [GraphQL Server](https://github.com/honojs/hono/tree/master/src/middleware/graphql-server/) +- [Logger](https://github.com/honojs/hono/tree/master/src/middleware/logger/) +- [Mustache template engine](https://github.com/honojs/hono/tree/master/src/middleware/mustache/) (Only for Cloudflare Workers) +- [JSON pretty printing](https://github.com/honojs/hono/tree/master/src/middleware/pretty-json/) +- [Serving static files](https://github.com/honojs/hono/tree/master/src/middleware/serve-static/) (Only for Cloudflare Workers) You can enable logger and CORS middleware with just this code. @@ -236,7 +236,7 @@ app.use( ) ``` -Available built-in middleware is listed on [src/middleware](https://github.com/yusukebe/hono/tree/master/src/middleware). +Available built-in middleware is listed on [src/middleware](https://github.com/honojs/hono/tree/master/src/middleware). ### Custom Middleware @@ -471,7 +471,7 @@ Let's write your first code for Cloudflare Workers with Hono. **Wrangler 1.x** does not support importing middleware. We recommend two ways: 1. Use [Wragler 2.0 Beta](https://github.com/cloudflare/wrangler2). -2. Build without webpack 4.x. For example, you can use esbuild. See [the starter template](https://github.com/yusukebe/hono-minimal). +2. Build without webpack 4.x. For example, you can use esbuild. See [the starter template](https://github.com/honojs/hono-minimal). --- @@ -541,12 +541,12 @@ npx wrangler@beta publish index.js ## Starter template -You can start making your Cloudflare Workers application with [the starter template](https://github.com/yusukebe/hono-minimal). It is really minimal using TypeScript, esbuild, Miniflare, and Jest. +You can start making your Cloudflare Workers application with [the starter template](https://github.com/honojs/hono-minimal). It is really minimal using TypeScript, esbuild, Miniflare, and Jest. To generate a project skelton, run this command. ```sh -wrangler generate my-app https://github.com/yusukebe/hono-minimal +wrangler generate my-app https://github.com/honojs/hono-minimal ``` ## Related projects @@ -573,7 +573,7 @@ Contributions Welcome! You can contribute in the following ways. ## Contributors -Thanks to [all contributors](https://github.com/yusukebe/hono/graphs/contributors)! +Thanks to [all contributors](https://github.com/honojs/hono/graphs/contributors)! ## Author diff --git a/docs/README.ja.md b/docs/README.ja.md index 24e8c77b..aa2d301c 100644 --- a/docs/README.ja.md +++ b/docs/README.ja.md @@ -1,24 +1,24 @@
- - Hono + + Hono

-English +English · -日本語 +日本語

-[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/yusukebe/hono/ci)](https://github.com/yusukebe/hono/actions) -[![GitHub](https://img.shields.io/github/license/yusukebe/hono)](https://github.com/yusukebe/hono/blob/master/LICENSE) +[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/honojs/hono/ci)](https://github.com/honojs/hono/actions) +[![GitHub](https://img.shields.io/github/license/honojs/hono)](https://github.com/honojs/hono/blob/master/LICENSE) [![npm](https://img.shields.io/npm/v/hono)](https://www.npmjs.com/package/hono) [![npm](https://img.shields.io/npm/dm/hono)](https://www.npmjs.com/package/hono) [![npm type definitions](https://img.shields.io/npm/types/hono)](https://www.npmjs.com/package/hono) -[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/yusukebe/hono)](https://github.com/yusukebe/hono/pulse) -[![GitHub last commit](https://img.shields.io/github/last-commit/yusukebe/hono)](https://github.com/yusukebe/hono/commits/master) +[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/honojs/hono)](https://github.com/honojs/hono/pulse) +[![GitHub last commit](https://img.shields.io/github/last-commit/honojs/hono)](https://github.com/honojs/hono/commits/master) Hono - _日本語の\[炎\]に由来 🔥_ - はCloudflare WorkersやFastly Compute@Edgeなど、Service Workerベースのサーバーレス向けの小さくて、シンプルで、めちゃくちゃ速いWebフレームワークです。 @@ -68,15 +68,15 @@ Honoは速いけど、速いだけではありません。 たくさんのミドルウェアを1からコードを書くことなく、使えます。 例えば、以下のミドルウェアがあります。 -- [Basic認証](https://github.com/yusukebe/hono/tree/master/src/middleware/basic-auth/) -- [Cookieパース/シリアライゼーション](https://github.com/yusukebe/hono/tree/master/src/middleware/cookie/) -- [CORS](https://github.com/yusukebe/hono/tree/master/src/middleware/cors/) -- [ETag](https://github.com/yusukebe/hono/tree/master/src/middleware/etag/) -- [GraphQLサーバー](https://github.com/yusukebe/hono/tree/master/src/middleware/graphql-server/) -- [ロガー](https://github.com/yusukebe/hono/tree/master/src/middleware/logger/) -- [Mustacheを使ったテンプレート](https://github.com/yusukebe/hono/tree/master/src/middleware/mustache/) (Cloudflare Workersのみ) -- [JSON pretty](https://github.com/yusukebe/hono/tree/master/src/middleware/pretty-json/) -- [静的ファイルのサーブ](https://github.com/yusukebe/hono/tree/master/src/middleware/serve-static/) (Cloudflare Workersのみ) +- [Basic認証](https://github.com/honojs/hono/tree/master/src/middleware/basic-auth/) +- [Cookieパース/シリアライゼーション](https://github.com/honojs/hono/tree/master/src/middleware/cookie/) +- [CORS](https://github.com/honojs/hono/tree/master/src/middleware/cors/) +- [ETag](https://github.com/honojs/hono/tree/master/src/middleware/etag/) +- [GraphQLサーバー](https://github.com/honojs/hono/tree/master/src/middleware/graphql-server/) +- [ロガー](https://github.com/honojs/hono/tree/master/src/middleware/logger/) +- [Mustacheを使ったテンプレート](https://github.com/honojs/hono/tree/master/src/middleware/mustache/) (Cloudflare Workersのみ) +- [JSON pretty](https://github.com/honojs/hono/tree/master/src/middleware/pretty-json/) +- [静的ファイルのサーブ](https://github.com/honojs/hono/tree/master/src/middleware/serve-static/) (Cloudflare Workersのみ) たったこれだけのコードでロガーとCORSミドルウェアを使うことができます。 @@ -237,7 +237,7 @@ app.use( ) ``` -利用可能なビルトイン・ミドルウェアについては[src/middleware](https://github.com/yusukebe/hono/tree/master/src/middleware)を参照してください。 +利用可能なビルトイン・ミドルウェアについては[src/middleware](https://github.com/honojs/hono/tree/master/src/middleware)を参照してください。 ### カスタム・ミドルウェア @@ -472,7 +472,7 @@ Honoを使って、Cloudflare Workersのアプリケーションを書いてみ **Wrangler 1.x系** はミドルウェアのインポートに対応していません。2つの方法を推奨します。 1. [Wragler 2.0 Beta](https://github.com/cloudflare/wrangler2)を使う。 -2. webpack 4.x系を使わない。例えば[esbuild](https://esbuild.github.io)を利用できます。[スターターテンプレート](https://github.com/yusukebe/hono-minimal)を参考にしてみてください。 +2. webpack 4.x系を使わない。例えば[esbuild](https://esbuild.github.io)を利用できます。[スターターテンプレート](https://github.com/honojs/hono-minimal)を参考にしてみてください。 --- @@ -544,13 +544,13 @@ npx wrangler@beta publish index.js ## スターターテンプレート -Cloudflare Workersのアプリケーションを書き始めるのに[スターターテンプレート](https://github.com/yusukebe/hono-minimal)を使うことができます。 +Cloudflare Workersのアプリケーションを書き始めるのに[スターターテンプレート](https://github.com/honojs/hono-minimal)を使うことができます。 TypeScript、esbuild、Miniflareを使った最小限のものとなっています。 このテンプレートを使った雛形を生成するには、以下のコマンドを打ちます。 ```sh -wrangler generate my-app https://github.com/yusukebe/hono-minimal +wrangler generate my-app https://github.com/honojs/hono-minimal ``` ## 関連プロジェクト @@ -579,7 +579,7 @@ wrangler generate my-app https://github.com/yusukebe/hono-minimal ## コントリビューターの方々 -[全てのコントリビューター](https://github.com/yusukebe/hono/graphs/contributors)へ。ありがとう! +[全てのコントリビューター](https://github.com/honojs/hono/graphs/contributors)へ。ありがとう! ## 作者 diff --git a/examples/compute-at-edge/package.json b/examples/compute-at-edge/package.json index 96423d99..09af493e 100644 --- a/examples/compute-at-edge/package.json +++ b/examples/compute-at-edge/package.json @@ -4,11 +4,6 @@ "main": "index.js", "author": "yusuke@kamawada.com", "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/yusukebe/hono.git" - }, - "homepage": "https://github.com/yusukebe/hono", "scripts": { "dev": "fastly compute serve --watch", "prebuild": "node ./build.js", diff --git a/examples/jsx-ssr/src/components/footer.tsx b/examples/jsx-ssr/src/components/footer.tsx index 98f7bdae..a6ea691b 100644 --- a/examples/jsx-ssr/src/components/footer.tsx +++ b/examples/jsx-ssr/src/components/footer.tsx @@ -4,7 +4,7 @@ export const Footer = () => { return ( ) diff --git a/package.json b/package.json index d9ab790e..6af9b317 100644 --- a/package.json +++ b/package.json @@ -82,9 +82,9 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/yusukebe/hono.git" + "url": "https://github.com/honojs/hono.git" }, - "homepage": "https://github.com/yusukebe/hono", + "homepage": "https://github.com/honojs/hono", "keywords": [ "web", "app", diff --git a/src/middleware/mustache/README.md b/src/middleware/mustache/README.md index 95e9c135..9010cee9 100644 --- a/src/middleware/mustache/README.md +++ b/src/middleware/mustache/README.md @@ -68,4 +68,4 @@ footer.mustache: ## Example - + diff --git a/src/middleware/serve-static/README.md b/src/middleware/serve-static/README.md index 56ce3418..6340dbd0 100644 --- a/src/middleware/serve-static/README.md +++ b/src/middleware/serve-static/README.md @@ -39,4 +39,4 @@ Asset files: ## Example - +