hono-decks 1.0.4 → 1.2.0
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 +221 -3
- package/README.md +241 -3
- package/dist/adapters/hono-markdown.d.ts +39 -0
- package/dist/adapters/hono-markdown.js +47 -0
- package/dist/advanced.d.ts +8 -1
- package/dist/advanced.js +165 -118
- package/dist/bin.js +356 -86
- package/dist/cli.js +356 -86
- package/dist/file-transaction-NjDxX6Gt.js +80 -0
- package/dist/honox.d.ts +21 -0
- package/dist/honox.js +47 -0
- package/dist/init-vite-EA_L4k2H.js +441 -0
- package/dist/mod.d.ts +8 -1
- package/dist/mod.js +7 -2
- package/dist/node.d.ts +121 -98
- package/dist/node.js +474 -157
- package/dist/vite.d.ts +4 -2
- package/dist/vite.js +441 -53
- package/package.json +15 -2
- package/skills/hono-decks/references/getting-started.md +40 -1
- package/skills/hono-decks/references/integrating.md +12 -0
- package/skills/hono-decks/references/styling.md +10 -0
- package/vite-env.d.ts +7 -0
package/dist/vite.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Plugin } from "vite";
|
|
1
|
+
import { Plugin, UserConfigExport } from "vite";
|
|
2
2
|
//#region src/vite.d.ts
|
|
3
3
|
/** Options for the Hono Decks Vite integration. */
|
|
4
4
|
interface HonoDecksViteOptions {
|
|
@@ -15,5 +15,7 @@ interface HonoDecksViteOptions {
|
|
|
15
15
|
* separate `hono-decks compile --watch` process is required.
|
|
16
16
|
*/
|
|
17
17
|
declare function honoDecks(options?: HonoDecksViteOptions): Plugin;
|
|
18
|
+
/** Add deck compilation to an existing object, promise, or config function. */
|
|
19
|
+
declare function withHonoDecks(config: UserConfigExport, options?: HonoDecksViteOptions): UserConfigExport;
|
|
18
20
|
//#endregion
|
|
19
|
-
export { HonoDecksViteOptions, honoDecks };
|
|
21
|
+
export { HonoDecksViteOptions, honoDecks, withHonoDecks };
|