hono-decks 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +3 -1
- package/README.md +3 -1
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -9,7 +9,7 @@ Hono と Cloudflare Workers 上で MDX のスライドを配信するための
|
|
|
9
9
|
既存のアプリに `hono-decks` をインストールし、構成に合わせて初期設定します。
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
npm install hono-decks
|
|
12
|
+
npm install hono-decks@latest
|
|
13
13
|
|
|
14
14
|
# Hono+Vite
|
|
15
15
|
npx hono-decks init --framework hono
|
|
@@ -22,6 +22,8 @@ npm run dev
|
|
|
22
22
|
npm run build
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
新規導入では`@latest`で現在の公開版を選びます。同じ環境を再現する場合は、動作確認したバージョンを明示してください。
|
|
26
|
+
|
|
25
27
|
どちらも、既存の Vite 設定を保持して自動コンパイルを登録し、
|
|
26
28
|
`hono-decks.config.ts`、`src/decks.ts`、サンプルの
|
|
27
29
|
`decks/welcome/deck.mdx` を作ります。生成ファイルがない状態からでも
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ hono-decks serves MDX slide decks from Hono applications and Cloudflare Workers.
|
|
|
9
9
|
Install hono-decks in an existing app and choose its integration:
|
|
10
10
|
|
|
11
11
|
~~~sh
|
|
12
|
-
npm install hono-decks
|
|
12
|
+
npm install hono-decks@latest
|
|
13
13
|
|
|
14
14
|
# Hono + Vite
|
|
15
15
|
npx hono-decks init --framework hono
|
|
@@ -22,6 +22,8 @@ npm run dev
|
|
|
22
22
|
npm run build
|
|
23
23
|
~~~
|
|
24
24
|
|
|
25
|
+
For a new app, `@latest` selects the current published release. To reproduce a setup, replace it with the exact version you have verified.
|
|
26
|
+
|
|
25
27
|
Both modes preserve the existing Vite config while adding automatic compilation,
|
|
26
28
|
create `hono-decks.config.ts`, `src/decks.ts`, and a sample
|
|
27
29
|
`decks/welcome/deck.mdx`. Generated code stays in Vite virtual modules and is not written to disk.
|