hono-decks 1.2.0 → 1.2.1

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 CHANGED
@@ -69,8 +69,9 @@ npm run dev
69
69
  npm run build
70
70
  ```
71
71
 
72
- この連携には `void-plugin-hono-jsx@^0.5.0` の standalone compiler/client export
73
- が必要です。`--install` は対応範囲のアダプターを選びます。
72
+ この連携には standalone compiler/client export を持つアダプターが必要です。
73
+ 新規インストールの既定値は `void-plugin-hono-jsx@^0.6.0` です。
74
+ `--install` は、インストール済みの互換アダプターを維持します。
74
75
  `--install` を省略する場合は、Markdown 用の任意 peer も必要です:
75
76
  `markdown-exit@^1.3.0 yaml@^2.9.1 markdown-it-container@^4.0.0 shiki@^4.5.0 @shikijs/transformers@^4.5.0`。
76
77
  動作確認した組み合わせは Void 1.1.11、Vite 8.3.4、Hono 4.13.13 です。
package/README.md CHANGED
@@ -68,9 +68,9 @@ npm run dev
68
68
  npm run build
69
69
  ~~~
70
70
 
71
- This integration requires `void-plugin-hono-jsx@^0.5.0` or a compatible adapter
72
- with the `/markdown/compiler` and `/markdown/client` exports. `--install` selects
73
- the supported adapter range. Without `--install`, also install the optional Markdown peers:
71
+ This integration requires an adapter with the `/markdown/compiler` and
72
+ `/markdown/client` exports. New installations default to `void-plugin-hono-jsx@^0.6.0`;
73
+ `--install` preserves an already installed compatible adapter. Without `--install`, also install the optional Markdown peers:
74
74
  `markdown-exit@^1.3.0 yaml@^2.9.1 markdown-it-container@^4.0.0 shiki@^4.5.0 @shikijs/transformers@^4.5.0`.
75
75
  The verified host versions are Void 1.1.11, Vite 8.3.4, and Hono 4.13.13.
76
76
 
@@ -465,7 +465,7 @@ At this level, the application owns the mount path, source policy, and option me
465
465
  ## Void Hono Markdown
466
466
 
467
467
  Set `build.markdown: "void"` in `hono-decks.config.ts` to opt into `.md` decks
468
- alongside MDX. This requires `void-plugin-hono-jsx@^0.5.0` with its standalone compiler and client exports.
468
+ alongside MDX. This requires `void-plugin-hono-jsx@^0.6.0` with its standalone compiler and client exports.
469
469
  See the [Void consumer fixture](https://github.com/ts-76/hono-decks/tree/main/fixtures/void-markdown)
470
470
  for package verification, Void middleware hosting, supported syntax and limitations.
471
471
 
package/dist/bin.js CHANGED
@@ -2350,7 +2350,7 @@ async function runInitCommand(input, args, stdout, stderr) {
2350
2350
  return { exitCode: 1 };
2351
2351
  }
2352
2352
  if (parsed.options.framework) try {
2353
- const { initializeVite } = await import("./init-vite-EA_L4k2H.js");
2353
+ const { initializeVite } = await import("./init-vite-F2gLT72s.js");
2354
2354
  const sampleSlug = await initializeVite(input.cwd, parsed.options.framework, parsed.options.configFile, parsed.options.entry, parsed.options.install ? { adapter: parsed.options.adapter } : void 0);
2355
2355
  stdout(`Initialized ${parsed.options.framework} decks at /slides/${sampleSlug}. Run your usual dev or build command; no manual compile is needed.`);
2356
2356
  return { exitCode: 0 };
package/dist/cli.js CHANGED
@@ -2349,7 +2349,7 @@ async function runInitCommand(input, args, stdout, stderr) {
2349
2349
  return { exitCode: 1 };
2350
2350
  }
2351
2351
  if (parsed.options.framework) try {
2352
- const { initializeVite } = await import("./init-vite-EA_L4k2H.js");
2352
+ const { initializeVite } = await import("./init-vite-F2gLT72s.js");
2353
2353
  const sampleSlug = await initializeVite(input.cwd, parsed.options.framework, parsed.options.configFile, parsed.options.entry, parsed.options.install ? { adapter: parsed.options.adapter } : void 0);
2354
2354
  stdout(`Initialized ${parsed.options.framework} decks at /slides/${sampleSlug}. Run your usual dev or build command; no manual compile is needed.`);
2355
2355
  return { exitCode: 0 };
@@ -81,7 +81,7 @@ async function installVoidDependencies(cwd, options = {}) {
81
81
  specs.push(`hono-decks@${requested}`);
82
82
  }
83
83
  if (options.adapter || missing("void-plugin-hono-jsx/markdown/compiler")) {
84
- let adapter = options.adapter ?? "void-plugin-hono-jsx@^0.5.0";
84
+ let adapter = options.adapter ?? "void-plugin-hono-jsx@^0.6.0";
85
85
  if (/^\d+\./.test(adapter)) adapter = "void-plugin-hono-jsx@" + adapter;
86
86
  else if (modernYarn && (adapter.endsWith(".tgz") || adapter.startsWith("file:"))) adapter = "void-plugin-hono-jsx@file:" + resolve(cwd, adapter.replace(/^file:/, ""));
87
87
  specs.push(adapter);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hono-decks",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Slide decks for Hono and Cloudflare Workers",
5
5
  "keywords": [
6
6
  "cloudflare-workers",
@@ -22,7 +22,7 @@ for manual integration and non-Vite applications.
22
22
 
23
23
  For an existing Void app, use `npx hono-decks init --framework void` after
24
24
  installing the compatible packages and Markdown peers described in the README.
25
- Use `void-plugin-hono-jsx@^0.4.0` for its standalone compiler and client exports. Init connects the existing Vite config, creates the routing
25
+ Use `void-plugin-hono-jsx@^0.6.0` for its standalone compiler and client exports. Init connects the existing Vite config, creates the routing
26
26
  middleware and a sample `.md` deck at `/slides/welcome`, and uses virtual modules without generated
27
27
  files. Use the app's normal `dev` and `build` scripts without changes or a manual
28
28
  compile. Existing `.mdx` files remain supported. Unsupported configs or existing