@hanzo/docs-create-app 16.0.50

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.
Files changed (204) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/dist/auto-install-CenyMuK7.js +33 -0
  4. package/dist/auto-install-CenyMuK7.js.map +1 -0
  5. package/dist/bin.d.ts +1 -0
  6. package/dist/bin.js +165 -0
  7. package/dist/bin.js.map +1 -0
  8. package/dist/constants-BkYWkLHa.d.ts +22 -0
  9. package/dist/constants-BkYWkLHa.d.ts.map +1 -0
  10. package/dist/constants-CbNzssp2.js +957 -0
  11. package/dist/constants-CbNzssp2.js.map +1 -0
  12. package/dist/index.d.ts +49 -0
  13. package/dist/index.d.ts.map +1 -0
  14. package/dist/index.js +60 -0
  15. package/dist/index.js.map +1 -0
  16. package/dist/plugins/biome.base.d.ts +40 -0
  17. package/dist/plugins/biome.base.d.ts.map +1 -0
  18. package/dist/plugins/biome.base.js +38 -0
  19. package/dist/plugins/biome.base.js.map +1 -0
  20. package/dist/plugins/biome.d.ts +7 -0
  21. package/dist/plugins/biome.d.ts.map +1 -0
  22. package/dist/plugins/biome.js +33 -0
  23. package/dist/plugins/biome.js.map +1 -0
  24. package/dist/plugins/biome.next.d.ts +41 -0
  25. package/dist/plugins/biome.next.d.ts.map +1 -0
  26. package/dist/plugins/biome.next.js +44 -0
  27. package/dist/plugins/biome.next.js.map +1 -0
  28. package/dist/plugins/eslint.d.ts +7 -0
  29. package/dist/plugins/eslint.d.ts.map +1 -0
  30. package/dist/plugins/eslint.js +47 -0
  31. package/dist/plugins/eslint.js.map +1 -0
  32. package/dist/plugins/next-use-src.d.ts +10 -0
  33. package/dist/plugins/next-use-src.d.ts.map +1 -0
  34. package/dist/plugins/next-use-src.js +37 -0
  35. package/dist/plugins/next-use-src.js.map +1 -0
  36. package/dist/plugins/orama-cloud.d.ts +7 -0
  37. package/dist/plugins/orama-cloud.d.ts.map +1 -0
  38. package/dist/plugins/orama-cloud.js +296 -0
  39. package/dist/plugins/orama-cloud.js.map +1 -0
  40. package/package.json +63 -0
  41. package/template/+next+fuma-docs-mdx/app/(home)/layout.tsx +6 -0
  42. package/template/+next+fuma-docs-mdx/app/(home)/page.tsx +16 -0
  43. package/template/+next+fuma-docs-mdx/app/api/search/route.ts +7 -0
  44. package/template/+next+fuma-docs-mdx/app/docs/[[...slug]]/page.tsx +57 -0
  45. package/template/+next+fuma-docs-mdx/app/docs/layout.tsx +11 -0
  46. package/template/+next+fuma-docs-mdx/app/global.css +3 -0
  47. package/template/+next+fuma-docs-mdx/app/layout.tsx +17 -0
  48. package/template/+next+fuma-docs-mdx/app/llms-full.txt/route.ts +10 -0
  49. package/template/+next+fuma-docs-mdx/app/llms.mdx/docs/[[...slug]]/route.ts +20 -0
  50. package/template/+next+fuma-docs-mdx/app/llms.txt/route.ts +13 -0
  51. package/template/+next+fuma-docs-mdx/app/og/docs/[...slug]/route.tsx +27 -0
  52. package/template/+next+fuma-docs-mdx/components/ai/page-actions.tsx +240 -0
  53. package/template/+next+fuma-docs-mdx/content/docs/index.mdx +13 -0
  54. package/template/+next+fuma-docs-mdx/content/docs/test.mdx +17 -0
  55. package/template/+next+fuma-docs-mdx/example.gitignore +26 -0
  56. package/template/+next+fuma-docs-mdx/lib/cn.ts +1 -0
  57. package/template/+next+fuma-docs-mdx/lib/layout.shared.tsx +17 -0
  58. package/template/+next+fuma-docs-mdx/lib/source.ts +27 -0
  59. package/template/+next+fuma-docs-mdx/mdx-components.tsx +9 -0
  60. package/template/+next+fuma-docs-mdx/next.config.mjs +18 -0
  61. package/template/+next+fuma-docs-mdx/package.json +31 -0
  62. package/template/+next+fuma-docs-mdx/postcss.config.mjs +7 -0
  63. package/template/+next+fuma-docs-mdx/source.config.ts +23 -0
  64. package/template/+next+fuma-docs-mdx/tsconfig.json +36 -0
  65. package/template/+next+fuma-docs-mdx+static/README.md +45 -0
  66. package/template/+next+fuma-docs-mdx+static/app/(home)/layout.tsx +6 -0
  67. package/template/+next+fuma-docs-mdx+static/app/(home)/page.tsx +16 -0
  68. package/template/+next+fuma-docs-mdx+static/app/api/search/route.ts +9 -0
  69. package/template/+next+fuma-docs-mdx+static/app/docs/[[...slug]]/page.tsx +47 -0
  70. package/template/+next+fuma-docs-mdx+static/app/docs/layout.tsx +11 -0
  71. package/template/+next+fuma-docs-mdx+static/app/global.css +3 -0
  72. package/template/+next+fuma-docs-mdx+static/app/layout.tsx +17 -0
  73. package/template/+next+fuma-docs-mdx+static/app/llms-full.txt/route.ts +10 -0
  74. package/template/+next+fuma-docs-mdx+static/app/og/docs/[...slug]/route.tsx +27 -0
  75. package/template/+next+fuma-docs-mdx+static/components/provider.tsx +8 -0
  76. package/template/+next+fuma-docs-mdx+static/components/search.tsx +46 -0
  77. package/template/+next+fuma-docs-mdx+static/content/docs/index.mdx +13 -0
  78. package/template/+next+fuma-docs-mdx+static/content/docs/test.mdx +17 -0
  79. package/template/+next+fuma-docs-mdx+static/example.gitignore +26 -0
  80. package/template/+next+fuma-docs-mdx+static/lib/layout.shared.tsx +9 -0
  81. package/template/+next+fuma-docs-mdx+static/lib/source.ts +26 -0
  82. package/template/+next+fuma-docs-mdx+static/mdx-components.tsx +9 -0
  83. package/template/+next+fuma-docs-mdx+static/next.config.mjs +11 -0
  84. package/template/+next+fuma-docs-mdx+static/package.json +32 -0
  85. package/template/+next+fuma-docs-mdx+static/postcss.config.mjs +7 -0
  86. package/template/+next+fuma-docs-mdx+static/source.config.ts +23 -0
  87. package/template/+next+fuma-docs-mdx+static/tsconfig.json +36 -0
  88. package/template/+next+hanzo-docs-mdx/README.md +43 -0
  89. package/template/+next+hanzo-docs-mdx/app/(home)/layout.tsx +6 -0
  90. package/template/+next+hanzo-docs-mdx/app/(home)/page.tsx +16 -0
  91. package/template/+next+hanzo-docs-mdx/app/api/search/route.ts +7 -0
  92. package/template/+next+hanzo-docs-mdx/app/docs/[[...slug]]/page.tsx +61 -0
  93. package/template/+next+hanzo-docs-mdx/app/docs/layout.tsx +11 -0
  94. package/template/+next+hanzo-docs-mdx/app/global.css +3 -0
  95. package/template/+next+hanzo-docs-mdx/app/layout.tsx +17 -0
  96. package/template/+next+hanzo-docs-mdx/app/llms-full.txt/route.ts +10 -0
  97. package/template/+next+hanzo-docs-mdx/app/og/docs/[...slug]/route.tsx +27 -0
  98. package/template/+next+hanzo-docs-mdx/content/docs/index.mdx +13 -0
  99. package/template/+next+hanzo-docs-mdx/content/docs/test.mdx +17 -0
  100. package/template/+next+hanzo-docs-mdx/example.gitignore +26 -0
  101. package/template/+next+hanzo-docs-mdx/lib/cn.ts +1 -0
  102. package/template/+next+hanzo-docs-mdx/lib/layout.shared.tsx +9 -0
  103. package/template/+next+hanzo-docs-mdx/lib/source.ts +27 -0
  104. package/template/+next+hanzo-docs-mdx/mdx-components.tsx +9 -0
  105. package/template/+next+hanzo-docs-mdx/next.config.mjs +18 -0
  106. package/template/+next+hanzo-docs-mdx/package.json +31 -0
  107. package/template/+next+hanzo-docs-mdx/postcss.config.mjs +5 -0
  108. package/template/+next+hanzo-docs-mdx/source.config.ts +23 -0
  109. package/template/+next+hanzo-docs-mdx/tsconfig.json +36 -0
  110. package/template/+orama-cloud/@app/components/search.tsx +54 -0
  111. package/template/+orama-cloud/@app/lib/export-static-indexes.ts +14 -0
  112. package/template/+orama-cloud/@root/.env.example +6 -0
  113. package/template/react-router/README.md +12 -0
  114. package/template/react-router/app/app.css +3 -0
  115. package/template/react-router/app/docs/page.tsx +51 -0
  116. package/template/react-router/app/docs/search.ts +12 -0
  117. package/template/react-router/app/lib/layout.shared.tsx +9 -0
  118. package/template/react-router/app/lib/source.ts +7 -0
  119. package/template/react-router/app/root.tsx +73 -0
  120. package/template/react-router/app/routes/home.tsx +30 -0
  121. package/template/react-router/app/routes.ts +7 -0
  122. package/template/react-router/content/docs/index.mdx +32 -0
  123. package/template/react-router/content/docs/meta.json +3 -0
  124. package/template/react-router/content/docs/test.mdx +24 -0
  125. package/template/react-router/example.gitignore +7 -0
  126. package/template/react-router/package.json +35 -0
  127. package/template/react-router/public/favicon.ico +0 -0
  128. package/template/react-router/react-router.config.ts +23 -0
  129. package/template/react-router/source.config.ts +7 -0
  130. package/template/react-router/tsconfig.json +23 -0
  131. package/template/react-router/vite.config.ts +17 -0
  132. package/template/react-router-spa/README.md +12 -0
  133. package/template/react-router-spa/app/app.css +3 -0
  134. package/template/react-router-spa/app/components/search.tsx +45 -0
  135. package/template/react-router-spa/app/docs/page.tsx +53 -0
  136. package/template/react-router-spa/app/docs/search.ts +10 -0
  137. package/template/react-router-spa/app/lib/layout.shared.tsx +9 -0
  138. package/template/react-router-spa/app/lib/source.ts +7 -0
  139. package/template/react-router-spa/app/root.tsx +74 -0
  140. package/template/react-router-spa/app/routes/home.tsx +30 -0
  141. package/template/react-router-spa/app/routes.ts +7 -0
  142. package/template/react-router-spa/content/docs/index.mdx +32 -0
  143. package/template/react-router-spa/content/docs/test.mdx +24 -0
  144. package/template/react-router-spa/example.gitignore +7 -0
  145. package/template/react-router-spa/package.json +36 -0
  146. package/template/react-router-spa/public/favicon.ico +0 -0
  147. package/template/react-router-spa/react-router.config.ts +23 -0
  148. package/template/react-router-spa/serve.json +3 -0
  149. package/template/react-router-spa/source.config.ts +7 -0
  150. package/template/react-router-spa/tsconfig.json +23 -0
  151. package/template/react-router-spa/vite.config.ts +17 -0
  152. package/template/tanstack-start/README.md +12 -0
  153. package/template/tanstack-start/content/docs/index.mdx +31 -0
  154. package/template/tanstack-start/content/docs/test.mdx +12 -0
  155. package/template/tanstack-start/example.gitignore +18 -0
  156. package/template/tanstack-start/package.json +38 -0
  157. package/template/tanstack-start/source.config.ts +7 -0
  158. package/template/tanstack-start/src/components/not-found.tsx +28 -0
  159. package/template/tanstack-start/src/lib/layout.shared.tsx +9 -0
  160. package/template/tanstack-start/src/lib/source.ts +9 -0
  161. package/template/tanstack-start/src/router.tsx +12 -0
  162. package/template/tanstack-start/src/routes/__root.tsx +45 -0
  163. package/template/tanstack-start/src/routes/api/search.ts +16 -0
  164. package/template/tanstack-start/src/routes/docs/$.tsx +72 -0
  165. package/template/tanstack-start/src/routes/index.tsx +26 -0
  166. package/template/tanstack-start/src/styles/app.css +3 -0
  167. package/template/tanstack-start/tsconfig.json +24 -0
  168. package/template/tanstack-start/vite.config.ts +33 -0
  169. package/template/tanstack-start-spa/README.md +12 -0
  170. package/template/tanstack-start-spa/content/docs/index.mdx +31 -0
  171. package/template/tanstack-start-spa/content/docs/test.mdx +12 -0
  172. package/template/tanstack-start-spa/example.gitignore +18 -0
  173. package/template/tanstack-start-spa/package.json +41 -0
  174. package/template/tanstack-start-spa/source.config.ts +7 -0
  175. package/template/tanstack-start-spa/src/components/not-found.tsx +28 -0
  176. package/template/tanstack-start-spa/src/components/search.tsx +46 -0
  177. package/template/tanstack-start-spa/src/lib/layout.shared.tsx +9 -0
  178. package/template/tanstack-start-spa/src/lib/source.ts +9 -0
  179. package/template/tanstack-start-spa/src/router.tsx +12 -0
  180. package/template/tanstack-start-spa/src/routes/__root.tsx +46 -0
  181. package/template/tanstack-start-spa/src/routes/api/search.ts +16 -0
  182. package/template/tanstack-start-spa/src/routes/docs/$.tsx +74 -0
  183. package/template/tanstack-start-spa/src/routes/index.tsx +26 -0
  184. package/template/tanstack-start-spa/src/styles/app.css +3 -0
  185. package/template/tanstack-start-spa/tsconfig.json +24 -0
  186. package/template/tanstack-start-spa/vite.config.ts +42 -0
  187. package/template/waku/README.md +11 -0
  188. package/template/waku/content/docs/index.mdx +31 -0
  189. package/template/waku/content/docs/test.mdx +12 -0
  190. package/template/waku/example.gitignore +6 -0
  191. package/template/waku/package.json +33 -0
  192. package/template/waku/source.config.ts +7 -0
  193. package/template/waku/src/components/provider.tsx +7 -0
  194. package/template/waku/src/lib/layout.shared.tsx +9 -0
  195. package/template/waku/src/lib/source.ts +9 -0
  196. package/template/waku/src/pages/(home)/_layout.tsx +7 -0
  197. package/template/waku/src/pages/(home)/index.tsx +21 -0
  198. package/template/waku/src/pages/_api/api/search.ts +4 -0
  199. package/template/waku/src/pages/_root.tsx +20 -0
  200. package/template/waku/src/pages/docs/[...slugs].tsx +45 -0
  201. package/template/waku/src/pages/docs/_layout.tsx +12 -0
  202. package/template/waku/src/styles/globals.css +9 -0
  203. package/template/waku/tsconfig.json +25 -0
  204. package/template/waku/waku.config.ts +17 -0
@@ -0,0 +1,957 @@
1
+ import fs from "node:fs/promises";
2
+ import path, { join } from "node:path";
3
+ import { x } from "tinyexec";
4
+ import { fileURLToPath } from "node:url";
5
+
6
+ //#region \0rolldown/runtime.js
7
+ var __defProp = Object.defineProperty;
8
+ var __exportAll = (all, no_symbols) => {
9
+ let target = {};
10
+ for (var name in all) {
11
+ __defProp(target, name, {
12
+ get: all[name],
13
+ enumerable: true
14
+ });
15
+ }
16
+ if (!no_symbols) {
17
+ __defProp(target, Symbol.toStringTag, { value: "Module" });
18
+ }
19
+ return target;
20
+ };
21
+
22
+ //#endregion
23
+ //#region src/utils.ts
24
+ async function writeFile(file, content) {
25
+ await fs.mkdir(path.dirname(file), { recursive: true });
26
+ await fs.writeFile(file, content);
27
+ }
28
+ async function copy(from, to, options = {}) {
29
+ const { rename = (s) => s, filterDir = () => true, filter = () => true } = options;
30
+ const stats = await fs.stat(from);
31
+ if (stats.isDirectory() && filterDir(from)) {
32
+ const files = await fs.readdir(from);
33
+ await Promise.all(files.map((file) => copy(path.join(from, file), path.join(to, file), options)));
34
+ }
35
+ if (stats.isFile() && filter(from)) {
36
+ to = rename(to);
37
+ await fs.mkdir(path.dirname(to), { recursive: true });
38
+ await fs.copyFile(from, to);
39
+ }
40
+ }
41
+ async function isInGitRepository(cwd) {
42
+ const { exitCode } = await x("git", ["rev-parse", "--is-inside-work-tree"], { nodeOptions: { cwd } });
43
+ return exitCode === 0;
44
+ }
45
+ async function isDefaultBranchSet(cwd) {
46
+ const { exitCode } = await x("git", ["config", "init.defaultBranch"], { nodeOptions: { cwd } });
47
+ return exitCode === 0;
48
+ }
49
+ async function tryGitInit(cwd) {
50
+ const { exitCode } = await x("git", ["--version"]);
51
+ if (exitCode !== 0) return false;
52
+ if (await isInGitRepository(cwd)) return false;
53
+ try {
54
+ await x("git", ["init"], {
55
+ throwOnError: true,
56
+ nodeOptions: { cwd }
57
+ });
58
+ if (!await isDefaultBranchSet(cwd)) await x("git", [
59
+ "checkout",
60
+ "-b",
61
+ "main"
62
+ ], {
63
+ throwOnError: true,
64
+ nodeOptions: { cwd }
65
+ });
66
+ await x("git", ["add", "-A"], {
67
+ throwOnError: true,
68
+ nodeOptions: { cwd }
69
+ });
70
+ await x("git", [
71
+ "commit",
72
+ "-m",
73
+ "Initial commit from Create Hanzo Docs App"
74
+ ], {
75
+ throwOnError: true,
76
+ nodeOptions: { cwd }
77
+ });
78
+ return true;
79
+ } catch {
80
+ await fs.rm(join(cwd, ".git"), {
81
+ recursive: true,
82
+ force: true
83
+ });
84
+ return false;
85
+ }
86
+ }
87
+ function pick(obj, keys) {
88
+ const result = {};
89
+ for (const key of keys) if (key in obj) result[key] = obj[key];
90
+ return result;
91
+ }
92
+
93
+ //#endregion
94
+ //#region ../create-app-versions/package.json
95
+ var dependencies$4 = {
96
+ "@biomejs/biome": "^2.3.14",
97
+ "@orama/core": "^1.2.17",
98
+ "eslint": "^10.0.0",
99
+ "@hanzo/docs-core": "workspace:*",
100
+ "@hanzo/docs-mdx": "workspace:*",
101
+ "@hanzo/docs-base-ui": "workspace:*"
102
+ };
103
+
104
+ //#endregion
105
+ //#region ../core/package.json
106
+ var package_exports$3 = /* @__PURE__ */ __exportAll({
107
+ author: () => author$3,
108
+ default: () => package_default$3,
109
+ dependencies: () => dependencies$3,
110
+ description: () => description$3,
111
+ devDependencies: () => devDependencies$3,
112
+ exports: () => exports$3,
113
+ files: () => files$3,
114
+ homepage: () => homepage$3,
115
+ keywords: () => keywords$3,
116
+ license: () => license$3,
117
+ name: () => name$3,
118
+ peerDependencies: () => peerDependencies$3,
119
+ peerDependenciesMeta: () => peerDependenciesMeta$3,
120
+ publishConfig: () => publishConfig$3,
121
+ repository: () => repository$3,
122
+ scripts: () => scripts$3,
123
+ type: () => type$3,
124
+ version: () => version$3
125
+ });
126
+ var name$3 = "@hanzo/docs-core";
127
+ var version$3 = "16.5.3";
128
+ var description$3 = "The React.js library for building a documentation website";
129
+ var keywords$3 = ["Docs", "Hanzo Docs"];
130
+ var homepage$3 = "https://hanzoai.github.io/docs";
131
+ var license$3 = "MIT";
132
+ var author$3 = "Hanzo AI";
133
+ var repository$3 = "github:hanzoai/docs";
134
+ var files$3 = ["dist/*"];
135
+ var type$3 = "module";
136
+ var exports$3 = {
137
+ "./breadcrumb": {
138
+ "types": "./dist/breadcrumb.d.ts",
139
+ "import": "./dist/breadcrumb.js"
140
+ },
141
+ "./toc": {
142
+ "types": "./dist/toc.d.ts",
143
+ "import": "./dist/toc.js"
144
+ },
145
+ "./content": {
146
+ "types": "./dist/content/index.d.ts",
147
+ "import": "./dist/content/index.js"
148
+ },
149
+ "./content/*": {
150
+ "types": "./dist/content/*.d.ts",
151
+ "import": "./dist/content/*.js"
152
+ },
153
+ "./negotiation": {
154
+ "types": "./dist/negotiation/index.d.ts",
155
+ "import": "./dist/negotiation/index.js"
156
+ },
157
+ "./page-tree": {
158
+ "types": "./dist/page-tree/index.d.ts",
159
+ "import": "./dist/page-tree/index.js"
160
+ },
161
+ "./search": {
162
+ "types": "./dist/search/index.d.ts",
163
+ "import": "./dist/search/index.js"
164
+ },
165
+ "./search/*": {
166
+ "types": "./dist/search/*.d.ts",
167
+ "import": "./dist/search/*.js"
168
+ },
169
+ "./source": {
170
+ "types": "./dist/source/index.d.ts",
171
+ "import": "./dist/source/index.js"
172
+ },
173
+ "./source/client": {
174
+ "types": "./dist/source/client/index.d.ts",
175
+ "import": "./dist/source/client/index.js"
176
+ },
177
+ "./source/schema": {
178
+ "types": "./dist/source/schema.d.ts",
179
+ "import": "./dist/source/schema.js"
180
+ },
181
+ "./source/*": {
182
+ "types": "./dist/source/plugins/*.d.ts",
183
+ "import": "./dist/source/plugins/*.js"
184
+ },
185
+ "./utils/*": {
186
+ "types": "./dist/utils/*.d.ts",
187
+ "import": "./dist/utils/*.js"
188
+ },
189
+ "./link": {
190
+ "types": "./dist/link.d.ts",
191
+ "import": "./dist/link.js"
192
+ },
193
+ "./dynamic-link": {
194
+ "types": "./dist/dynamic-link.d.ts",
195
+ "import": "./dist/dynamic-link.js"
196
+ },
197
+ "./mdx-plugins": {
198
+ "types": "./dist/mdx-plugins/index.d.ts",
199
+ "import": "./dist/mdx-plugins/index.js"
200
+ },
201
+ "./mdx-plugins/*": {
202
+ "types": "./dist/mdx-plugins/*.d.ts",
203
+ "import": "./dist/mdx-plugins/*.js"
204
+ },
205
+ "./i18n": {
206
+ "types": "./dist/i18n/index.d.ts",
207
+ "import": "./dist/i18n/index.js"
208
+ },
209
+ "./i18n/middleware": {
210
+ "types": "./dist/i18n/middleware.d.ts",
211
+ "import": "./dist/i18n/middleware.js"
212
+ },
213
+ "./highlight": {
214
+ "types": "./dist/highlight/index.d.ts",
215
+ "import": "./dist/highlight/index.js"
216
+ },
217
+ "./highlight/core": {
218
+ "types": "./dist/highlight/core/index.d.ts",
219
+ "import": "./dist/highlight/core/index.js"
220
+ },
221
+ "./highlight/*": {
222
+ "types": "./dist/highlight/*.d.ts",
223
+ "import": "./dist/highlight/*.js"
224
+ },
225
+ "./framework": {
226
+ "types": "./dist/framework/index.d.ts",
227
+ "import": "./dist/framework/index.js"
228
+ },
229
+ "./framework/*": {
230
+ "types": "./dist/framework/*.d.ts",
231
+ "import": "./dist/framework/*.js"
232
+ }
233
+ };
234
+ var publishConfig$3 = { "access": "public" };
235
+ var scripts$3 = {
236
+ "build": "tsdown",
237
+ "clean": "rimraf dist",
238
+ "dev": "tsdown --watch",
239
+ "lint": "eslint .",
240
+ "types:check": "tsc --noEmit"
241
+ };
242
+ var dependencies$3 = {
243
+ "@formatjs/intl-localematcher": "^0.8.1",
244
+ "@orama/orama": "^3.1.18",
245
+ "@shikijs/rehype": "^3.22.0",
246
+ "@shikijs/transformers": "^3.22.0",
247
+ "estree-util-value-to-estree": "^3.5.0",
248
+ "github-slugger": "^2.0.0",
249
+ "hast-util-to-estree": "^3.1.3",
250
+ "hast-util-to-jsx-runtime": "^2.3.6",
251
+ "image-size": "^2.0.2",
252
+ "negotiator": "^1.0.0",
253
+ "npm-to-yarn": "^3.0.1",
254
+ "path-to-regexp": "^8.3.0",
255
+ "remark": "^15.0.1",
256
+ "remark-gfm": "^4.0.1",
257
+ "remark-rehype": "^11.1.2",
258
+ "scroll-into-view-if-needed": "^3.1.0",
259
+ "shiki": "^3.22.0",
260
+ "tinyglobby": "^0.2.15",
261
+ "unified": "^11.0.5",
262
+ "unist-util-visit": "^5.1.0",
263
+ "vfile": "^6.0.3"
264
+ };
265
+ var devDependencies$3 = {
266
+ "@mdx-js/mdx": "^3.1.1",
267
+ "@mixedbread/sdk": "^0.50.1",
268
+ "@orama/core": "^1.2.17",
269
+ "@oramacloud/client": "^2.1.4",
270
+ "@tanstack/react-router": "1.158.4",
271
+ "@types/estree-jsx": "^1.0.5",
272
+ "@types/hast": "^3.0.4",
273
+ "@types/mdast": "^4.0.4",
274
+ "@types/negotiator": "^0.6.4",
275
+ "@types/node": "25.2.1",
276
+ "@types/react": "^19.2.13",
277
+ "@types/react-dom": "^19.2.3",
278
+ "algoliasearch": "5.48.0",
279
+ "eslint-config-custom": "workspace:*",
280
+ "lucide-react": "^0.563.0",
281
+ "mdast-util-mdx-jsx": "^3.2.0",
282
+ "mdast-util-mdxjs-esm": "^2.0.1",
283
+ "next": "16.1.6",
284
+ "react-router": "^7.13.0",
285
+ "remark-directive": "^4.0.0",
286
+ "remark-mdx": "^3.1.1",
287
+ "remove-markdown": "^0.6.3",
288
+ "tsconfig": "workspace:*",
289
+ "tsdown": "^0.20.3",
290
+ "typescript": "^5.9.3",
291
+ "waku": "1.0.0-alpha.3",
292
+ "zod": "^4.3.6"
293
+ };
294
+ var peerDependencies$3 = {
295
+ "@mdx-js/mdx": "*",
296
+ "@mixedbread/sdk": "^0.46.0",
297
+ "@orama/core": "1.x.x",
298
+ "@oramacloud/client": "2.x.x",
299
+ "@tanstack/react-router": "1.x.x",
300
+ "@types/estree-jsx": "*",
301
+ "@types/hast": "*",
302
+ "@types/mdast": "*",
303
+ "@types/react": "*",
304
+ "algoliasearch": "5.x.x",
305
+ "lucide-react": "*",
306
+ "mdast-util-mdx-jsx": "*",
307
+ "next": "16.x.x",
308
+ "react": "^19.2.0",
309
+ "react-dom": "^19.2.0",
310
+ "react-router": "7.x.x",
311
+ "waku": "^0.26.0 || ^0.27.0 || ^1.0.0",
312
+ "zod": "4.x.x"
313
+ };
314
+ var peerDependenciesMeta$3 = {
315
+ "mdast-util-mdx-jsx": { "optional": true },
316
+ "@mdx-js/mdx": { "optional": true },
317
+ "@types/estree-jsx": { "optional": true },
318
+ "@types/hast": { "optional": true },
319
+ "@types/mdast": { "optional": true },
320
+ "@mixedbread/sdk": { "optional": true },
321
+ "@types/react": { "optional": true },
322
+ "@orama/core": { "optional": true },
323
+ "@oramacloud/client": { "optional": true },
324
+ "algoliasearch": { "optional": true },
325
+ "next": { "optional": true },
326
+ "react": { "optional": true },
327
+ "react-dom": { "optional": true },
328
+ "react-router": { "optional": true },
329
+ "waku": { "optional": true },
330
+ "@tanstack/react-router": { "optional": true },
331
+ "lucide-react": { "optional": true },
332
+ "zod": { "optional": true }
333
+ };
334
+ var package_default$3 = {
335
+ name: name$3,
336
+ version: version$3,
337
+ description: description$3,
338
+ keywords: keywords$3,
339
+ homepage: homepage$3,
340
+ license: license$3,
341
+ author: author$3,
342
+ repository: repository$3,
343
+ files: files$3,
344
+ type: type$3,
345
+ exports: exports$3,
346
+ publishConfig: publishConfig$3,
347
+ scripts: scripts$3,
348
+ dependencies: dependencies$3,
349
+ devDependencies: devDependencies$3,
350
+ peerDependencies: peerDependencies$3,
351
+ peerDependenciesMeta: peerDependenciesMeta$3
352
+ };
353
+
354
+ //#endregion
355
+ //#region ../mdx/package.json
356
+ var package_exports$2 = /* @__PURE__ */ __exportAll({
357
+ author: () => author$2,
358
+ bin: () => bin,
359
+ default: () => package_default$2,
360
+ dependencies: () => dependencies$2,
361
+ description: () => description$2,
362
+ devDependencies: () => devDependencies$2,
363
+ exports: () => exports$2,
364
+ files: () => files$2,
365
+ homepage: () => homepage$2,
366
+ keywords: () => keywords$2,
367
+ license: () => license$2,
368
+ main: () => main,
369
+ name: () => name$2,
370
+ peerDependencies: () => peerDependencies$2,
371
+ peerDependenciesMeta: () => peerDependenciesMeta$2,
372
+ publishConfig: () => publishConfig$2,
373
+ repository: () => repository$2,
374
+ scripts: () => scripts$2,
375
+ type: () => type$2,
376
+ types: () => types,
377
+ version: () => version$2
378
+ });
379
+ var name$2 = "@hanzo/docs-mdx";
380
+ var version$2 = "14.2.8";
381
+ var description$2 = "The built-in source for Hanzo Docs";
382
+ var keywords$2 = ["Docs", "NextJs"];
383
+ var homepage$2 = "https://hanzoai.github.io/docs";
384
+ var license$2 = "MIT";
385
+ var author$2 = "Hanzo AI";
386
+ var repository$2 = "github:hanzoai/docs";
387
+ var bin = "./dist/bin.js";
388
+ var files$2 = [
389
+ "loader-mdx.cjs",
390
+ "loader-meta.cjs",
391
+ "dist/*"
392
+ ];
393
+ var type$2 = "module";
394
+ var main = "./dist/index.js";
395
+ var types = "./dist/index.d.ts";
396
+ var exports$2 = {
397
+ "./loader-mdx": "./loader-mdx.cjs",
398
+ "./loader-meta": "./loader-meta.cjs",
399
+ "./config": {
400
+ "types": "./dist/config/index.d.ts",
401
+ "import": "./dist/config/index.js"
402
+ },
403
+ "./next": {
404
+ "types": "./dist/next/index.d.ts",
405
+ "import": "./dist/next/index.js",
406
+ "require": "./dist/next/index.cjs"
407
+ },
408
+ "./vite": {
409
+ "types": "./dist/vite/index.d.ts",
410
+ "import": "./dist/vite/index.js"
411
+ },
412
+ ".": {
413
+ "types": "./dist/index.d.ts",
414
+ "import": "./dist/index.js"
415
+ },
416
+ "./runtime/*": {
417
+ "types": "./dist/runtime/*.d.ts",
418
+ "import": "./dist/runtime/*.js"
419
+ },
420
+ "./node/loader": {
421
+ "types": "./dist/node/loader.d.ts",
422
+ "import": "./dist/node/loader.js"
423
+ },
424
+ "./bun": {
425
+ "types": "./dist/bun/index.d.ts",
426
+ "import": "./dist/bun/index.js"
427
+ },
428
+ "./plugins/*": {
429
+ "types": "./dist/plugins/*.d.ts",
430
+ "import": "./dist/plugins/*.js"
431
+ }
432
+ };
433
+ var publishConfig$2 = { "access": "public" };
434
+ var scripts$2 = {
435
+ "build": "tsdown",
436
+ "clean": "rimraf dist",
437
+ "dev": "tsdown --watch",
438
+ "lint": "eslint .",
439
+ "types:check": "tsc --noEmit"
440
+ };
441
+ var dependencies$2 = {
442
+ "@mdx-js/mdx": "^3.1.1",
443
+ "@standard-schema/spec": "^1.1.0",
444
+ "chokidar": "^5.0.0",
445
+ "esbuild": "^0.27.3",
446
+ "estree-util-value-to-estree": "^3.5.0",
447
+ "js-yaml": "^4.1.1",
448
+ "mdast-util-to-markdown": "^2.1.2",
449
+ "picocolors": "^1.1.1",
450
+ "picomatch": "^4.0.3",
451
+ "remark-mdx": "^3.1.1",
452
+ "tinyexec": "^1.0.2",
453
+ "tinyglobby": "^0.2.15",
454
+ "unified": "^11.0.5",
455
+ "unist-util-remove-position": "^5.0.0",
456
+ "unist-util-visit": "^5.1.0",
457
+ "vfile": "^6.0.3",
458
+ "zod": "^4.3.6"
459
+ };
460
+ var devDependencies$2 = {
461
+ "@hanzo/docs-mdx-remote": "workspace:*",
462
+ "@types/bun": "^1.3.8",
463
+ "@types/js-yaml": "^4.0.9",
464
+ "@types/mdast": "^4.0.4",
465
+ "@types/mdx": "^2.0.13",
466
+ "@types/node": "^25.2.1",
467
+ "@types/picomatch": "^4.0.2",
468
+ "@types/react": "^19.2.13",
469
+ "eslint-config-custom": "workspace:*",
470
+ "@hanzo/docs-core": "workspace:*",
471
+ "mdast-util-directive": "^3.1.0",
472
+ "mdast-util-mdx-jsx": "^3.2.0",
473
+ "next": "16.1.6",
474
+ "react": "^19.2.4",
475
+ "remark": "^15.0.1",
476
+ "remark-directive": "^4.0.0",
477
+ "remark-stringify": "^11.0.0",
478
+ "rollup": "^4.57.1",
479
+ "tsconfig": "workspace:*",
480
+ "tsdown": "^0.20.3",
481
+ "vite": "^7.3.1",
482
+ "webpack": "^5.105.0"
483
+ };
484
+ var peerDependencies$2 = {
485
+ "@hanzo/docs-mdx-remote": "^1.4.0",
486
+ "@types/mdast": "*",
487
+ "@types/mdx": "*",
488
+ "@types/react": "*",
489
+ "@hanzo/docs-core": "^15.0.0 || ^16.0.0",
490
+ "mdast-util-directive": "*",
491
+ "mdast-util-mdx-jsx": "*",
492
+ "next": "^15.3.0 || ^16.0.0",
493
+ "react": "*",
494
+ "vite": "6.x.x || 7.x.x"
495
+ };
496
+ var peerDependenciesMeta$2 = {
497
+ "mdast-util-directive": { "optional": true },
498
+ "@types/mdast": { "optional": true },
499
+ "@types/mdx": { "optional": true },
500
+ "mdast-util-mdx-jsx": { "optional": true },
501
+ "react": { "optional": true },
502
+ "@types/react": { "optional": true },
503
+ "next": { "optional": true },
504
+ "vite": { "optional": true },
505
+ "@hanzo/docs-mdx-remote": { "optional": true }
506
+ };
507
+ var package_default$2 = {
508
+ name: name$2,
509
+ version: version$2,
510
+ description: description$2,
511
+ keywords: keywords$2,
512
+ homepage: homepage$2,
513
+ license: license$2,
514
+ author: author$2,
515
+ repository: repository$2,
516
+ bin,
517
+ files: files$2,
518
+ type: type$2,
519
+ main,
520
+ types,
521
+ exports: exports$2,
522
+ publishConfig: publishConfig$2,
523
+ scripts: scripts$2,
524
+ dependencies: dependencies$2,
525
+ devDependencies: devDependencies$2,
526
+ peerDependencies: peerDependencies$2,
527
+ peerDependenciesMeta: peerDependenciesMeta$2
528
+ };
529
+
530
+ //#endregion
531
+ //#region ../radix-ui/package.json
532
+ var package_exports$1 = /* @__PURE__ */ __exportAll({
533
+ author: () => author$1,
534
+ default: () => package_default$1,
535
+ dependencies: () => dependencies$1,
536
+ description: () => description$1,
537
+ devDependencies: () => devDependencies$1,
538
+ exports: () => exports$1,
539
+ files: () => files$1,
540
+ homepage: () => homepage$1,
541
+ keywords: () => keywords$1,
542
+ license: () => license$1,
543
+ name: () => name$1,
544
+ peerDependencies: () => peerDependencies$1,
545
+ peerDependenciesMeta: () => peerDependenciesMeta$1,
546
+ publishConfig: () => publishConfig$1,
547
+ repository: () => repository$1,
548
+ scripts: () => scripts$1,
549
+ type: () => type$1,
550
+ version: () => version$1
551
+ });
552
+ var name$1 = "@hanzo/docs-ui";
553
+ var version$1 = "16.5.3";
554
+ var description$1 = "The Radix UI version of Hanzo Docs UI";
555
+ var keywords$1 = ["Docs", "Hanzo Docs"];
556
+ var homepage$1 = "https://hanzoai.github.io/docs";
557
+ var license$1 = "MIT";
558
+ var author$1 = "Hanzo AI";
559
+ var repository$1 = "github:hanzoai/docs";
560
+ var files$1 = ["css/*", "dist/*"];
561
+ var type$1 = "module";
562
+ var exports$1 = {
563
+ "./style.css": "./dist/style.css",
564
+ "./css/*": "./css/*",
565
+ "./image-zoom.css": "./dist/image-zoom.css",
566
+ "./components/tabs.unstyled": {
567
+ "types": "./dist/components/ui/tabs.d.ts",
568
+ "import": "./dist/components/ui/tabs.js"
569
+ },
570
+ "./components/*": {
571
+ "types": "./dist/components/*.d.ts",
572
+ "import": "./dist/components/*.js",
573
+ "default": "./dist/components/*.js"
574
+ },
575
+ "./i18n": {
576
+ "types": "./dist/i18n.d.ts",
577
+ "import": "./dist/i18n.js"
578
+ },
579
+ "./layouts/home": {
580
+ "types": "./dist/layouts/home/index.d.ts",
581
+ "import": "./dist/layouts/home/index.js"
582
+ },
583
+ "./layouts/home/navbar": {
584
+ "types": "./dist/layouts/home/navbar.d.ts",
585
+ "import": "./dist/layouts/home/navbar.js"
586
+ },
587
+ "./layouts/docs": {
588
+ "types": "./dist/layouts/docs/index.d.ts",
589
+ "import": "./dist/layouts/docs/index.js"
590
+ },
591
+ "./layouts/docs/page": {
592
+ "types": "./dist/layouts/docs/page/index.d.ts",
593
+ "import": "./dist/layouts/docs/page/index.js"
594
+ },
595
+ "./layouts/flux": {
596
+ "types": "./dist/layouts/flux/index.d.ts",
597
+ "import": "./dist/layouts/flux/index.js"
598
+ },
599
+ "./layouts/flux/page": {
600
+ "types": "./dist/layouts/flux/page/index.d.ts",
601
+ "import": "./dist/layouts/flux/page/index.js"
602
+ },
603
+ "./layouts/notebook": {
604
+ "types": "./dist/layouts/notebook/index.d.ts",
605
+ "import": "./dist/layouts/notebook/index.js"
606
+ },
607
+ "./layouts/notebook/page": {
608
+ "types": "./dist/layouts/notebook/page/index.d.ts",
609
+ "import": "./dist/layouts/notebook/page/index.js"
610
+ },
611
+ "./layouts/shared": {
612
+ "types": "./dist/layouts/shared/index.d.ts",
613
+ "import": "./dist/layouts/shared/index.js"
614
+ },
615
+ "./page": {
616
+ "types": "./dist/page.d.ts",
617
+ "import": "./dist/page.js"
618
+ },
619
+ "./provider/*": {
620
+ "types": "./dist/provider/*.d.ts",
621
+ "import": "./dist/provider/*.js"
622
+ },
623
+ "./contexts/*": {
624
+ "types": "./dist/contexts/*.d.ts",
625
+ "import": "./dist/contexts/*.js"
626
+ },
627
+ "./mdx": {
628
+ "types": "./dist/mdx.d.ts",
629
+ "node": "./dist/mdx.server.js",
630
+ "import": "./dist/mdx.js"
631
+ },
632
+ "./og": {
633
+ "types": "./dist/og.d.ts",
634
+ "import": "./dist/og.js"
635
+ },
636
+ "./utils/get-sidebar-tabs": {
637
+ "types": "./dist/components/sidebar/tabs/index.d.ts",
638
+ "import": "./dist/components/sidebar/tabs/index.js"
639
+ },
640
+ "./utils/*": {
641
+ "types": "./dist/utils/*.d.ts",
642
+ "import": "./dist/utils/*.js"
643
+ }
644
+ };
645
+ var publishConfig$1 = { "access": "public" };
646
+ var scripts$1 = {
647
+ "build": "pnpm build:layout && pnpm build:tailwind",
648
+ "build:layout": "tsdown --config-loader unrun",
649
+ "build:tailwind": "tailwindcss -i css/style.css -o ./dist/style.css && tailwindcss -i src/components/image-zoom.css -o dist/components/image-zoom.css",
650
+ "clean": "rimraf dist",
651
+ "dev": "concurrently \"tsdown --watch\" \"tailwindcss -i css/style.css -o ./dist/style.css -w\" \"tailwindcss -i src/components/image-zoom.css -o dist/components/image-zoom.css -w\"",
652
+ "lint": "eslint .",
653
+ "types:check": "tsc --noEmit"
654
+ };
655
+ var dependencies$1 = {
656
+ "@hanzo/docs-tailwind": "workspace:*",
657
+ "@radix-ui/react-accordion": "^1.2.12",
658
+ "@radix-ui/react-collapsible": "^1.1.12",
659
+ "@radix-ui/react-dialog": "^1.1.15",
660
+ "@radix-ui/react-direction": "^1.1.1",
661
+ "@radix-ui/react-navigation-menu": "^1.2.14",
662
+ "@radix-ui/react-popover": "^1.1.15",
663
+ "@radix-ui/react-presence": "^1.1.5",
664
+ "@radix-ui/react-scroll-area": "^1.2.10",
665
+ "@radix-ui/react-slot": "^1.2.4",
666
+ "@radix-ui/react-tabs": "^1.1.13",
667
+ "class-variance-authority": "^0.7.1",
668
+ "lucide-react": "^0.563.0",
669
+ "motion": "^12.33.0",
670
+ "next-themes": "^0.4.6",
671
+ "react-medium-image-zoom": "^5.4.0",
672
+ "react-remove-scroll": "^2.7.2",
673
+ "scroll-into-view-if-needed": "^3.1.0",
674
+ "tailwind-merge": "^3.4.0"
675
+ };
676
+ var devDependencies$1 = {
677
+ "@hanzo/docs-cli": "workspace:*",
678
+ "@tailwindcss/cli": "^4.1.18",
679
+ "@types/node": "^25.2.1",
680
+ "@types/react": "^19.2.13",
681
+ "@types/react-dom": "^19.2.3",
682
+ "eslint-config-custom": "workspace:*",
683
+ "@hanzo/docs-core": "workspace:*",
684
+ "tailwindcss": "^4.1.18",
685
+ "tsconfig": "workspace:*",
686
+ "tsdown": "^0.20.3"
687
+ };
688
+ var peerDependencies$1 = {
689
+ "@types/react": "*",
690
+ "@hanzo/docs-core": "workspace:*",
691
+ "next": "16.x.x",
692
+ "react": "^19.2.0",
693
+ "react-dom": "^19.2.0",
694
+ "tailwindcss": "^4.0.0"
695
+ };
696
+ var peerDependenciesMeta$1 = {
697
+ "next": { "optional": true },
698
+ "@types/react": { "optional": true },
699
+ "tailwindcss": { "optional": true }
700
+ };
701
+ var package_default$1 = {
702
+ name: name$1,
703
+ version: version$1,
704
+ description: description$1,
705
+ keywords: keywords$1,
706
+ homepage: homepage$1,
707
+ license: license$1,
708
+ author: author$1,
709
+ repository: repository$1,
710
+ files: files$1,
711
+ type: type$1,
712
+ exports: exports$1,
713
+ publishConfig: publishConfig$1,
714
+ scripts: scripts$1,
715
+ dependencies: dependencies$1,
716
+ devDependencies: devDependencies$1,
717
+ peerDependencies: peerDependencies$1,
718
+ peerDependenciesMeta: peerDependenciesMeta$1
719
+ };
720
+
721
+ //#endregion
722
+ //#region ../base-ui/package.json
723
+ var package_exports = /* @__PURE__ */ __exportAll({
724
+ author: () => author,
725
+ default: () => package_default,
726
+ dependencies: () => dependencies,
727
+ description: () => description,
728
+ devDependencies: () => devDependencies,
729
+ exports: () => exports,
730
+ files: () => files,
731
+ homepage: () => homepage,
732
+ keywords: () => keywords,
733
+ license: () => license,
734
+ name: () => name,
735
+ peerDependencies: () => peerDependencies,
736
+ peerDependenciesMeta: () => peerDependenciesMeta,
737
+ publishConfig: () => publishConfig,
738
+ repository: () => repository,
739
+ scripts: () => scripts,
740
+ type: () => type,
741
+ version: () => version
742
+ });
743
+ var name = "@hanzo/docs-base-ui";
744
+ var version = "16.5.3";
745
+ var description = "The Base UI version of Hanzo Docs UI";
746
+ var keywords = ["Docs", "Hanzo Docs"];
747
+ var homepage = "https://hanzoai.github.io/docs";
748
+ var license = "MIT";
749
+ var author = "Hanzo AI";
750
+ var repository = "github:hanzoai/docs";
751
+ var files = ["css/*", "dist/*"];
752
+ var type = "module";
753
+ var exports = {
754
+ "./style.css": "./dist/style.css",
755
+ "./css/*": "./css/*",
756
+ "./image-zoom.css": "./dist/image-zoom.css",
757
+ "./components/*": {
758
+ "types": "./dist/components/*.d.ts",
759
+ "import": "./dist/components/*.js",
760
+ "default": "./dist/components/*.js"
761
+ },
762
+ "./i18n": {
763
+ "types": "./dist/i18n.d.ts",
764
+ "import": "./dist/i18n.js"
765
+ },
766
+ "./layouts/home": {
767
+ "types": "./dist/layouts/home/index.d.ts",
768
+ "import": "./dist/layouts/home/index.js"
769
+ },
770
+ "./layouts/home/navbar": {
771
+ "types": "./dist/layouts/home/navbar.d.ts",
772
+ "import": "./dist/layouts/home/navbar.js"
773
+ },
774
+ "./layouts/docs": {
775
+ "types": "./dist/layouts/docs/index.d.ts",
776
+ "import": "./dist/layouts/docs/index.js"
777
+ },
778
+ "./layouts/docs/page": {
779
+ "types": "./dist/layouts/docs/page/index.d.ts",
780
+ "import": "./dist/layouts/docs/page/index.js"
781
+ },
782
+ "./layouts/flux": {
783
+ "types": "./dist/layouts/flux/index.d.ts",
784
+ "import": "./dist/layouts/flux/index.js"
785
+ },
786
+ "./layouts/flux/page": {
787
+ "types": "./dist/layouts/flux/page/index.d.ts",
788
+ "import": "./dist/layouts/flux/page/index.js"
789
+ },
790
+ "./layouts/notebook": {
791
+ "types": "./dist/layouts/notebook/index.d.ts",
792
+ "import": "./dist/layouts/notebook/index.js"
793
+ },
794
+ "./layouts/notebook/page": {
795
+ "types": "./dist/layouts/notebook/page/index.d.ts",
796
+ "import": "./dist/layouts/notebook/page/index.js"
797
+ },
798
+ "./layouts/shared": {
799
+ "types": "./dist/layouts/shared/index.d.ts",
800
+ "import": "./dist/layouts/shared/index.js"
801
+ },
802
+ "./page": {
803
+ "types": "./dist/page.d.ts",
804
+ "import": "./dist/page.js"
805
+ },
806
+ "./provider/*": {
807
+ "types": "./dist/provider/*.d.ts",
808
+ "import": "./dist/provider/*.js"
809
+ },
810
+ "./contexts/*": {
811
+ "types": "./dist/contexts/*.d.ts",
812
+ "import": "./dist/contexts/*.js"
813
+ },
814
+ "./mdx": {
815
+ "types": "./dist/mdx.d.ts",
816
+ "node": "./dist/mdx.server.js",
817
+ "import": "./dist/mdx.js"
818
+ },
819
+ "./og": {
820
+ "types": "./dist/og.d.ts",
821
+ "import": "./dist/og.js"
822
+ },
823
+ "./utils/*": {
824
+ "types": "./dist/utils/*.d.ts",
825
+ "import": "./dist/utils/*.js"
826
+ }
827
+ };
828
+ var publishConfig = { "access": "public" };
829
+ var scripts = {
830
+ "build": "pnpm build:layout && pnpm build:tailwind",
831
+ "build:layout": "tsdown --config-loader unrun",
832
+ "build:tailwind": "tailwindcss -i css/style.css -o ./dist/style.css && tailwindcss -i src/components/image-zoom.css -o dist/components/image-zoom.css",
833
+ "clean": "rimraf dist",
834
+ "dev": "concurrently \"tsdown --watch\" \"tailwindcss -i css/style.css -o ./dist/style.css -w\" \"tailwindcss -i src/components/image-zoom.css -o dist/components/image-zoom.css -w\"",
835
+ "lint": "eslint .",
836
+ "types:check": "tsc --noEmit"
837
+ };
838
+ var dependencies = {
839
+ "@base-ui/react": "^1.1.0",
840
+ "@hanzo/docs-tailwind": "workspace:*",
841
+ "class-variance-authority": "^0.7.1",
842
+ "lucide-react": "^0.563.0",
843
+ "motion": "^12.33.0",
844
+ "next-themes": "^0.4.6",
845
+ "react-medium-image-zoom": "^5.4.0",
846
+ "react-remove-scroll": "^2.7.2",
847
+ "scroll-into-view-if-needed": "^3.1.0",
848
+ "tailwind-merge": "^3.4.0"
849
+ };
850
+ var devDependencies = {
851
+ "@hanzo/docs-cli": "workspace:*",
852
+ "@tailwindcss/cli": "^4.1.18",
853
+ "@types/node": "^25.2.1",
854
+ "@types/react": "^19.2.13",
855
+ "@types/react-dom": "^19.2.3",
856
+ "eslint-config-custom": "workspace:*",
857
+ "@hanzo/docs-core": "workspace:*",
858
+ "tailwindcss": "^4.1.18",
859
+ "tsconfig": "workspace:*",
860
+ "tsdown": "^0.20.3"
861
+ };
862
+ var peerDependencies = {
863
+ "@types/react": "*",
864
+ "@hanzo/docs-core": "workspace:*",
865
+ "next": "16.x.x",
866
+ "react": "^19.2.0",
867
+ "react-dom": "^19.2.0",
868
+ "tailwindcss": "^4.0.0"
869
+ };
870
+ var peerDependenciesMeta = {
871
+ "next": { "optional": true },
872
+ "@types/react": { "optional": true },
873
+ "tailwindcss": { "optional": true }
874
+ };
875
+ var package_default = {
876
+ name,
877
+ version,
878
+ description,
879
+ keywords,
880
+ homepage,
881
+ license,
882
+ author,
883
+ repository,
884
+ files,
885
+ type,
886
+ exports,
887
+ publishConfig,
888
+ scripts,
889
+ dependencies,
890
+ devDependencies,
891
+ peerDependencies,
892
+ peerDependenciesMeta
893
+ };
894
+
895
+ //#endregion
896
+ //#region src/constants.ts
897
+ const sourceDir = fileURLToPath(new URL(`../`, import.meta.url).href);
898
+ const isCI = Boolean(process.env.CI);
899
+ const templates = [
900
+ {
901
+ value: "+next+fuma-docs-mdx",
902
+ label: "Next.js: Hanzo Docs MDX",
903
+ hint: "recommended",
904
+ appDir: "",
905
+ rootProviderPath: "app/layout.tsx"
906
+ },
907
+ {
908
+ value: "+next+fuma-docs-mdx+static",
909
+ label: "Next.js Static: Hanzo Docs MDX",
910
+ appDir: "",
911
+ rootProviderPath: "components/provider.tsx"
912
+ },
913
+ {
914
+ value: "waku",
915
+ label: "Waku: Hanzo Docs MDX",
916
+ appDir: "src",
917
+ rootProviderPath: "components/provider.tsx"
918
+ },
919
+ {
920
+ value: "react-router",
921
+ label: "React Router: Hanzo Docs MDX (not RSC)",
922
+ appDir: "app",
923
+ rootProviderPath: "root.tsx"
924
+ },
925
+ {
926
+ value: "react-router-spa",
927
+ label: "React Router SPA: Hanzo Docs MDX (not RSC)",
928
+ hint: "SPA mode allows you to host the site statically, compatible with a CDN.",
929
+ appDir: "app",
930
+ rootProviderPath: "root.tsx"
931
+ },
932
+ {
933
+ value: "tanstack-start",
934
+ label: "Tanstack Start: Hanzo Docs MDX (not RSC)",
935
+ appDir: "src",
936
+ rootProviderPath: "routes/__root.tsx"
937
+ },
938
+ {
939
+ value: "tanstack-start-spa",
940
+ label: "Tanstack Start SPA: Hanzo Docs MDX (not RSC)",
941
+ hint: "SPA mode allows you to host the site statically, compatible with a CDN.",
942
+ appDir: "src",
943
+ rootProviderPath: "routes/__root.tsx"
944
+ }
945
+ ];
946
+ const workspaces = [
947
+ package_exports$3,
948
+ package_exports$2,
949
+ package_exports$1,
950
+ package_exports
951
+ ];
952
+ const depVersions = dependencies$4;
953
+ for (const workspace of workspaces) depVersions[workspace.name] = workspace.version;
954
+
955
+ //#endregion
956
+ export { copy as a, writeFile as c, templates as i, isCI as n, pick as o, sourceDir as r, tryGitInit as s, depVersions as t };
957
+ //# sourceMappingURL=constants-CbNzssp2.js.map