polen 0.10.0-next.13 → 0.10.0-next.3

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 (725) hide show
  1. package/README.md +375 -49
  2. package/build/api/api.d.ts +0 -1
  3. package/build/api/api.d.ts.map +1 -1
  4. package/build/api/api.js +0 -1
  5. package/build/api/api.js.map +1 -1
  6. package/build/api/builder/builder.js +1 -1
  7. package/build/api/builder/builder.js.map +1 -1
  8. package/build/api/config/load.js +6 -6
  9. package/build/api/config/load.js.map +1 -1
  10. package/build/api/config-resolver/resolve.js +2 -2
  11. package/build/api/config-resolver/resolve.js.map +1 -1
  12. package/build/api/schema/data-sources/schema-directory/schema-directory.js +1 -1
  13. package/build/api/schema/data-sources/schema-directory/schema-directory.js.map +1 -1
  14. package/build/api/vite/plugins/branding/index.js +4 -4
  15. package/build/api/vite/plugins/branding/index.js.map +1 -1
  16. package/build/api/vite/plugins/build.d.ts.map +1 -1
  17. package/build/api/vite/plugins/build.js +2 -23
  18. package/build/api/vite/plugins/build.js.map +1 -1
  19. package/build/api/vite/plugins/core.d.ts +2 -2
  20. package/build/api/vite/plugins/core.d.ts.map +1 -1
  21. package/build/api/vite/plugins/core.js +4 -2
  22. package/build/api/vite/plugins/core.js.map +1 -1
  23. package/build/api/vite/plugins/pages.d.ts +14 -8
  24. package/build/api/vite/plugins/pages.d.ts.map +1 -1
  25. package/build/api/vite/plugins/pages.js +184 -111
  26. package/build/api/vite/plugins/pages.js.map +1 -1
  27. package/build/api/vite/plugins/serve.js +5 -5
  28. package/build/api/vite/plugins/serve.js.map +1 -1
  29. package/build/cli/_/self-contained-mode.js +5 -5
  30. package/build/cli/_/self-contained-mode.js.map +1 -1
  31. package/build/lib/file-router/file-router.d.ts +2 -0
  32. package/build/lib/file-router/file-router.d.ts.map +1 -1
  33. package/build/lib/file-router/file-router.js +2 -0
  34. package/build/lib/file-router/file-router.js.map +1 -1
  35. package/build/lib/file-router/route.d.ts +0 -2
  36. package/build/lib/file-router/route.d.ts.map +1 -1
  37. package/build/lib/file-router/route.js.map +1 -1
  38. package/build/lib/file-router/scan-tree.d.ts +20 -0
  39. package/build/lib/file-router/scan-tree.d.ts.map +1 -0
  40. package/build/lib/file-router/scan-tree.js +158 -0
  41. package/build/lib/file-router/scan-tree.js.map +1 -0
  42. package/build/lib/file-router/scan.d.ts.map +1 -1
  43. package/build/lib/file-router/scan.js +13 -22
  44. package/build/lib/file-router/scan.js.map +1 -1
  45. package/build/lib/file-router/sidebar/index.d.ts +3 -0
  46. package/build/lib/file-router/sidebar/index.d.ts.map +1 -0
  47. package/build/lib/file-router/sidebar/index.js +4 -0
  48. package/build/lib/file-router/sidebar/index.js.map +1 -0
  49. package/build/lib/file-router/sidebar/sidebar-tree.d.ts +9 -0
  50. package/build/lib/file-router/sidebar/sidebar-tree.d.ts.map +1 -0
  51. package/build/lib/file-router/sidebar/sidebar-tree.js +85 -0
  52. package/build/lib/file-router/sidebar/sidebar-tree.js.map +1 -0
  53. package/build/lib/file-router/sidebar/types.d.ts +17 -0
  54. package/build/lib/file-router/sidebar/types.d.ts.map +1 -0
  55. package/build/lib/file-router/sidebar/types.js.map +1 -0
  56. package/build/lib/helpers.d.ts.map +1 -1
  57. package/build/lib/helpers.js +3 -5
  58. package/build/lib/helpers.js.map +1 -1
  59. package/build/lib/kit-temp.d.ts +0 -54
  60. package/build/lib/kit-temp.d.ts.map +1 -1
  61. package/build/lib/kit-temp.js +14 -82
  62. package/build/lib/kit-temp.js.map +1 -1
  63. package/build/lib/tree/index.d.ts +3 -0
  64. package/build/lib/tree/index.d.ts.map +1 -0
  65. package/build/lib/tree/index.js +2 -0
  66. package/build/lib/tree/index.js.map +1 -0
  67. package/build/lib/tree/tree.d.ts +62 -0
  68. package/build/lib/tree/tree.d.ts.map +1 -0
  69. package/build/lib/tree/tree.js +134 -0
  70. package/build/lib/tree/tree.js.map +1 -0
  71. package/build/singletons/debug.d.ts +1 -1
  72. package/build/singletons/debug.d.ts.map +1 -1
  73. package/build/singletons/debug.js +1 -1
  74. package/build/singletons/debug.js.map +1 -1
  75. package/build/template/components/ArgumentAnnotation.jsx +16 -0
  76. package/build/template/components/ArgumentAnnotation.jsx.map +1 -0
  77. package/build/template/components/ArgumentList.jsx +16 -0
  78. package/build/template/components/ArgumentList.jsx.map +1 -0
  79. package/build/template/components/ArgumentListAnnotation.jsx +23 -0
  80. package/build/template/components/ArgumentListAnnotation.jsx.map +1 -0
  81. package/build/template/components/Changelog.jsx +68 -0
  82. package/build/template/components/Changelog.jsx.map +1 -0
  83. package/build/template/components/{CodeBlock.js → CodeBlock.jsx} +5 -4
  84. package/build/template/components/{CodeBlock.js.map → CodeBlock.jsx.map} +1 -1
  85. package/build/template/components/DeprecationReason.jsx +10 -0
  86. package/build/template/components/DeprecationReason.jsx.map +1 -0
  87. package/build/template/components/Description.jsx +10 -0
  88. package/build/template/components/Description.jsx.map +1 -0
  89. package/build/template/components/Field.jsx +22 -0
  90. package/build/template/components/Field.jsx.map +1 -0
  91. package/build/template/components/{FieldList.js → FieldList.jsx} +5 -4
  92. package/build/template/components/FieldList.jsx.map +1 -0
  93. package/build/template/components/{FieldListSection.js → FieldListSection.jsx} +6 -4
  94. package/build/template/components/FieldListSection.jsx.map +1 -0
  95. package/build/template/components/Link.d.ts +1 -1
  96. package/build/template/components/{Link.js → Link.jsx} +6 -5
  97. package/build/template/components/Link.jsx.map +1 -0
  98. package/build/template/components/Logo.jsx +29 -0
  99. package/build/template/components/Logo.jsx.map +1 -0
  100. package/build/template/components/{Markdown.js → Markdown.jsx} +2 -3
  101. package/build/template/components/Markdown.jsx.map +1 -0
  102. package/build/template/components/MissingSchema.d.ts +1 -1
  103. package/build/template/components/MissingSchema.d.ts.map +1 -1
  104. package/build/template/components/MissingSchema.jsx +4 -0
  105. package/build/template/components/MissingSchema.jsx.map +1 -0
  106. package/build/template/components/NamedType.jsx +17 -0
  107. package/build/template/components/NamedType.jsx.map +1 -0
  108. package/build/template/components/{RadixLink.js → RadixLink.jsx} +1 -1
  109. package/build/template/components/RadixLink.jsx.map +1 -0
  110. package/build/template/components/Texts/{MinorHeading.js → MinorHeading.jsx} +3 -4
  111. package/build/template/components/Texts/MinorHeading.jsx.map +1 -0
  112. package/build/template/components/Texts/texts.js +1 -1
  113. package/build/template/components/Texts/texts.js.map +1 -1
  114. package/build/template/components/{TypeAnnotation.js → TypeAnnotation.jsx} +18 -8
  115. package/build/template/components/TypeAnnotation.jsx.map +1 -0
  116. package/build/template/components/TypeFieldsLinkList.jsx +17 -0
  117. package/build/template/components/TypeFieldsLinkList.jsx.map +1 -0
  118. package/build/template/components/TypeIndex.jsx +27 -0
  119. package/build/template/components/TypeIndex.jsx.map +1 -0
  120. package/build/template/components/graphql/graphql.d.ts +2 -2
  121. package/build/template/components/graphql/graphql.jsx +3 -0
  122. package/build/template/components/graphql/graphql.jsx.map +1 -0
  123. package/build/template/components/graphql/index.d.ts +1 -1
  124. package/build/template/components/graphql/index.js +1 -1
  125. package/build/template/components/graphql/index.js.map +1 -1
  126. package/build/template/components/graphql/{type-kind-icon.js → type-kind-icon.jsx} +2 -3
  127. package/build/template/components/graphql/type-kind-icon.jsx.map +1 -0
  128. package/build/template/components/graphql/type-link.jsx +16 -0
  129. package/build/template/components/graphql/type-link.jsx.map +1 -0
  130. package/build/template/components/sidebar/Sidebar.d.ts +3 -3
  131. package/build/template/components/sidebar/Sidebar.d.ts.map +1 -1
  132. package/build/template/components/sidebar/Sidebar.jsx +15 -0
  133. package/build/template/components/sidebar/Sidebar.jsx.map +1 -0
  134. package/build/template/components/sidebar/SidebarItem.d.ts +3 -3
  135. package/build/template/components/sidebar/SidebarItem.d.ts.map +1 -1
  136. package/build/template/components/sidebar/{SidebarItem.js → SidebarItem.jsx} +33 -16
  137. package/build/template/components/sidebar/SidebarItem.jsx.map +1 -0
  138. package/build/template/components/sidebar/ToggleButton.d.ts +1 -1
  139. package/build/template/components/sidebar/ToggleButton.d.ts.map +1 -1
  140. package/build/template/components/sidebar/ToggleButton.jsx +6 -0
  141. package/build/template/components/sidebar/ToggleButton.jsx.map +1 -0
  142. package/build/template/entry.client.d.ts +0 -1
  143. package/build/template/entry.client.d.ts.map +1 -1
  144. package/build/template/{entry.client.js → entry.client.jsx} +6 -5
  145. package/build/template/entry.client.jsx.map +1 -0
  146. package/build/template/routes/changelog.d.ts +1 -1
  147. package/build/template/routes/{changelog.js → changelog.jsx} +4 -5
  148. package/build/template/routes/changelog.jsx.map +1 -0
  149. package/build/template/routes/{index.js → index.jsx} +2 -3
  150. package/build/template/routes/index.jsx.map +1 -0
  151. package/build/template/routes/reference.$type.$field.d.ts +1 -1
  152. package/build/template/routes/{reference.$type.$field.js → reference.$type.$field.jsx} +5 -6
  153. package/build/template/routes/reference.$type.$field.jsx.map +1 -0
  154. package/build/template/routes/reference.$type.d.ts +1 -1
  155. package/build/template/routes/{reference.$type.js → reference.$type.jsx} +5 -6
  156. package/build/template/routes/reference.$type.jsx.map +1 -0
  157. package/build/template/routes/reference.d.ts +2 -2
  158. package/build/template/routes/reference.d.ts.map +1 -1
  159. package/build/template/routes/{reference.js → reference.jsx} +12 -7
  160. package/build/template/routes/reference.jsx.map +1 -0
  161. package/build/template/routes/root.d.ts +2 -2
  162. package/build/template/routes/root.d.ts.map +1 -1
  163. package/build/template/routes/root.jsx +188 -0
  164. package/build/template/routes/root.jsx.map +1 -0
  165. package/build/template/routes.jsx +5 -0
  166. package/build/template/routes.jsx.map +1 -0
  167. package/build/template/server/app.js +1 -1
  168. package/build/template/server/app.js.map +1 -1
  169. package/build/template/server/{render-page.js → render-page.jsx} +4 -3
  170. package/build/template/server/render-page.jsx.map +1 -0
  171. package/build/template/server/ssg/generate.js +1 -1
  172. package/build/template/server/ssg/generate.js.map +1 -1
  173. package/build/template/server/ssg/get-route-paths.js +1 -1
  174. package/build/template/server/ssg/get-route-paths.js.map +1 -1
  175. package/build/template/server/view.js +1 -1
  176. package/build/template/server/view.js.map +1 -1
  177. package/package.json +8 -71
  178. package/src/api/api.ts +0 -1
  179. package/src/api/config/load.ts +5 -5
  180. package/src/api/config-resolver/resolve.ts +2 -2
  181. package/src/api/schema/data-sources/schema-directory/schema-directory.ts +1 -1
  182. package/src/api/singletons/markdown/markdown.test.ts +1 -1
  183. package/src/api/utils/asset-url/asset-url.test.ts +4 -4
  184. package/src/api/vite/plugins/branding/index.ts +4 -4
  185. package/src/api/vite/plugins/build.ts +1 -25
  186. package/src/api/vite/plugins/core.ts +8 -5
  187. package/src/api/vite/plugins/pages.ts +208 -132
  188. package/src/api/vite/plugins/serve.ts +5 -5
  189. package/src/cli/_/self-contained-mode.ts +5 -5
  190. package/src/lib/file-router/file-router.ts +2 -0
  191. package/src/lib/file-router/linter.test.ts +0 -2
  192. package/src/lib/file-router/route.ts +0 -2
  193. package/src/lib/file-router/scan-tree.test.ts +189 -0
  194. package/src/lib/file-router/scan-tree.ts +205 -0
  195. package/src/lib/file-router/scan.ts +14 -26
  196. package/src/lib/file-router/sidebar/index.ts +3 -0
  197. package/src/lib/file-router/sidebar/sidebar-tree.test.ts +123 -0
  198. package/src/lib/file-router/sidebar/sidebar-tree.ts +110 -0
  199. package/src/lib/file-router/sidebar/types.ts +19 -0
  200. package/src/lib/helpers.ts +3 -4
  201. package/src/lib/kit-temp.ts +14 -128
  202. package/src/lib/shiki/shiki.test.ts +1 -1
  203. package/src/lib/tree/index.ts +2 -0
  204. package/src/lib/tree/tree.test.ts +117 -0
  205. package/src/lib/tree/tree.ts +183 -0
  206. package/src/singletons/debug.ts +1 -1
  207. package/src/template/components/ArgumentAnnotation.tsx +1 -1
  208. package/src/template/components/ArgumentList.tsx +1 -1
  209. package/src/template/components/ArgumentListAnnotation.tsx +2 -2
  210. package/src/template/components/DeprecationReason.tsx +1 -1
  211. package/src/template/components/Description.tsx +1 -1
  212. package/src/template/components/Field.tsx +4 -4
  213. package/src/template/components/FieldList.tsx +1 -1
  214. package/src/template/components/FieldListSection.tsx +1 -1
  215. package/src/template/components/Link.tsx +3 -3
  216. package/src/template/components/NamedType.tsx +2 -2
  217. package/src/template/components/TypeAnnotation.tsx +1 -1
  218. package/src/template/components/TypeFieldsLinkList.tsx +1 -1
  219. package/src/template/components/TypeIndex.tsx +1 -1
  220. package/src/template/components/graphql/graphql.tsx +2 -2
  221. package/src/template/components/graphql/index.ts +1 -1
  222. package/src/template/components/graphql/type-link.tsx +2 -2
  223. package/src/template/components/sidebar/Sidebar.tsx +2 -2
  224. package/src/template/components/sidebar/SidebarItem.tsx +12 -12
  225. package/src/template/entry.client.tsx +2 -2
  226. package/src/template/routes/changelog.tsx +1 -1
  227. package/src/template/routes/reference.$type.$field.tsx +3 -3
  228. package/src/template/routes/reference.$type.tsx +3 -3
  229. package/src/template/routes/reference.tsx +10 -6
  230. package/src/template/routes/root.tsx +57 -220
  231. package/src/template/routes.tsx +1 -1
  232. package/src/template/server/app.ts +1 -1
  233. package/src/template/server/ssg/generate.ts +1 -1
  234. package/src/template/server/ssg/get-route-paths.ts +1 -1
  235. package/src/template/server/view.ts +1 -1
  236. package/src/template/styles/code-block.css +0 -32
  237. package/build/api/content/$$.d.ts +0 -7
  238. package/build/api/content/$$.d.ts.map +0 -1
  239. package/build/api/content/$$.js +0 -7
  240. package/build/api/content/$$.js.map +0 -1
  241. package/build/api/content/$.d.ts +0 -2
  242. package/build/api/content/$.d.ts.map +0 -1
  243. package/build/api/content/$.js +0 -2
  244. package/build/api/content/$.js.map +0 -1
  245. package/build/api/content/metadata.d.ts +0 -10
  246. package/build/api/content/metadata.d.ts.map +0 -1
  247. package/build/api/content/metadata.js +0 -9
  248. package/build/api/content/metadata.js.map +0 -1
  249. package/build/api/content/navbar.d.ts +0 -10
  250. package/build/api/content/navbar.d.ts.map +0 -1
  251. package/build/api/content/navbar.js +0 -45
  252. package/build/api/content/navbar.js.map +0 -1
  253. package/build/api/content/page.d.ts +0 -11
  254. package/build/api/content/page.d.ts.map +0 -1
  255. package/build/api/content/page.js +0 -2
  256. package/build/api/content/page.js.map +0 -1
  257. package/build/api/content/scan.d.ts +0 -19
  258. package/build/api/content/scan.d.ts.map +0 -1
  259. package/build/api/content/scan.js +0 -90
  260. package/build/api/content/scan.js.map +0 -1
  261. package/build/api/content/sidebar.d.ts +0 -104
  262. package/build/api/content/sidebar.d.ts.map +0 -1
  263. package/build/api/content/sidebar.js +0 -166
  264. package/build/api/content/sidebar.js.map +0 -1
  265. package/build/api/content/utils.d.ts +0 -5
  266. package/build/api/content/utils.d.ts.map +0 -1
  267. package/build/api/content/utils.js +0 -8
  268. package/build/api/content/utils.js.map +0 -1
  269. package/build/api/static/index.d.ts +0 -2
  270. package/build/api/static/index.d.ts.map +0 -1
  271. package/build/api/static/index.js +0 -2
  272. package/build/api/static/index.js.map +0 -1
  273. package/build/api/static/manifest.d.ts +0 -18
  274. package/build/api/static/manifest.d.ts.map +0 -1
  275. package/build/api/static/manifest.js +0 -13
  276. package/build/api/static/manifest.js.map +0 -1
  277. package/build/api/static/rebase.d.ts +0 -14
  278. package/build/api/static/rebase.d.ts.map +0 -1
  279. package/build/api/static/rebase.js +0 -110
  280. package/build/api/static/rebase.js.map +0 -1
  281. package/build/api/static/static.d.ts +0 -3
  282. package/build/api/static/static.d.ts.map +0 -1
  283. package/build/api/static/static.js +0 -3
  284. package/build/api/static/static.js.map +0 -1
  285. package/build/cli/commands/static/$default.d.ts +0 -3
  286. package/build/cli/commands/static/$default.d.ts.map +0 -1
  287. package/build/cli/commands/static/$default.js +0 -38
  288. package/build/cli/commands/static/$default.js.map +0 -1
  289. package/build/cli/commands/static/rebase.d.ts +0 -2
  290. package/build/cli/commands/static/rebase.d.ts.map +0 -1
  291. package/build/cli/commands/static/rebase.js +0 -26
  292. package/build/cli/commands/static/rebase.js.map +0 -1
  293. package/build/cli/commands/static.d.ts +0 -3
  294. package/build/cli/commands/static.d.ts.map +0 -1
  295. package/build/cli/commands/static.js +0 -5
  296. package/build/cli/commands/static.js.map +0 -1
  297. package/build/exports/components.d.ts +0 -5
  298. package/build/exports/components.d.ts.map +0 -1
  299. package/build/exports/components.js +0 -5
  300. package/build/exports/components.js.map +0 -1
  301. package/build/lib/demos/builder.d.ts +0 -83
  302. package/build/lib/demos/builder.d.ts.map +0 -1
  303. package/build/lib/demos/builder.js +0 -237
  304. package/build/lib/demos/builder.js.map +0 -1
  305. package/build/lib/demos/config-schema.d.ts +0 -243
  306. package/build/lib/demos/config-schema.d.ts.map +0 -1
  307. package/build/lib/demos/config-schema.js +0 -52
  308. package/build/lib/demos/config-schema.js.map +0 -1
  309. package/build/lib/demos/config.d.ts +0 -40
  310. package/build/lib/demos/config.d.ts.map +0 -1
  311. package/build/lib/demos/config.js +0 -180
  312. package/build/lib/demos/config.js.map +0 -1
  313. package/build/lib/demos/index.d.ts +0 -9
  314. package/build/lib/demos/index.d.ts.map +0 -1
  315. package/build/lib/demos/index.js +0 -8
  316. package/build/lib/demos/index.js.map +0 -1
  317. package/build/lib/demos/ui/components.d.ts +0 -33
  318. package/build/lib/demos/ui/components.d.ts.map +0 -1
  319. package/build/lib/demos/ui/components.js +0 -699
  320. package/build/lib/demos/ui/components.js.map +0 -1
  321. package/build/lib/demos/ui/data-collector.d.ts +0 -88
  322. package/build/lib/demos/ui/data-collector.d.ts.map +0 -1
  323. package/build/lib/demos/ui/data-collector.js +0 -174
  324. package/build/lib/demos/ui/data-collector.js.map +0 -1
  325. package/build/lib/demos/ui/landing-page-cli.d.ts +0 -3
  326. package/build/lib/demos/ui/landing-page-cli.d.ts.map +0 -1
  327. package/build/lib/demos/ui/landing-page-cli.js +0 -21
  328. package/build/lib/demos/ui/landing-page-cli.js.map +0 -1
  329. package/build/lib/demos/ui/landing-page.d.ts +0 -32
  330. package/build/lib/demos/ui/landing-page.d.ts.map +0 -1
  331. package/build/lib/demos/ui/landing-page.js +0 -83
  332. package/build/lib/demos/ui/landing-page.js.map +0 -1
  333. package/build/lib/demos/ui/page-renderer.d.ts +0 -26
  334. package/build/lib/demos/ui/page-renderer.d.ts.map +0 -1
  335. package/build/lib/demos/ui/page-renderer.js +0 -104
  336. package/build/lib/demos/ui/page-renderer.js.map +0 -1
  337. package/build/lib/demos/utils.d.ts +0 -14
  338. package/build/lib/demos/utils.d.ts.map +0 -1
  339. package/build/lib/demos/utils.js +0 -37
  340. package/build/lib/demos/utils.js.map +0 -1
  341. package/build/lib/deployment/$$.d.ts +0 -3
  342. package/build/lib/deployment/$$.d.ts.map +0 -1
  343. package/build/lib/deployment/$$.js +0 -3
  344. package/build/lib/deployment/$$.js.map +0 -1
  345. package/build/lib/deployment/$.d.ts +0 -2
  346. package/build/lib/deployment/$.d.ts.map +0 -1
  347. package/build/lib/deployment/$.js +0 -2
  348. package/build/lib/deployment/$.js.map +0 -1
  349. package/build/lib/deployment/metadata.d.ts +0 -32
  350. package/build/lib/deployment/metadata.d.ts.map +0 -1
  351. package/build/lib/deployment/metadata.js +0 -37
  352. package/build/lib/deployment/metadata.js.map +0 -1
  353. package/build/lib/deployment/path-manager.d.ts +0 -41
  354. package/build/lib/deployment/path-manager.d.ts.map +0 -1
  355. package/build/lib/deployment/path-manager.js +0 -157
  356. package/build/lib/deployment/path-manager.js.map +0 -1
  357. package/build/lib/github-actions/git-controller.d.ts +0 -50
  358. package/build/lib/github-actions/git-controller.d.ts.map +0 -1
  359. package/build/lib/github-actions/git-controller.js +0 -90
  360. package/build/lib/github-actions/git-controller.js.map +0 -1
  361. package/build/lib/github-actions/github-actions.d.ts +0 -7
  362. package/build/lib/github-actions/github-actions.d.ts.map +0 -1
  363. package/build/lib/github-actions/github-actions.js +0 -7
  364. package/build/lib/github-actions/github-actions.js.map +0 -1
  365. package/build/lib/github-actions/index.d.ts +0 -2
  366. package/build/lib/github-actions/index.d.ts.map +0 -1
  367. package/build/lib/github-actions/index.js +0 -2
  368. package/build/lib/github-actions/index.js.map +0 -1
  369. package/build/lib/github-actions/lib/get-pr-deployments.d.ts +0 -12
  370. package/build/lib/github-actions/lib/get-pr-deployments.d.ts.map +0 -1
  371. package/build/lib/github-actions/lib/get-pr-deployments.js +0 -51
  372. package/build/lib/github-actions/lib/get-pr-deployments.js.map +0 -1
  373. package/build/lib/github-actions/pr-controller.d.ts +0 -39
  374. package/build/lib/github-actions/pr-controller.d.ts.map +0 -1
  375. package/build/lib/github-actions/pr-controller.js +0 -122
  376. package/build/lib/github-actions/pr-controller.js.map +0 -1
  377. package/build/lib/github-actions/run-step-cli.d.ts +0 -9
  378. package/build/lib/github-actions/run-step-cli.d.ts.map +0 -1
  379. package/build/lib/github-actions/run-step-cli.js +0 -71
  380. package/build/lib/github-actions/run-step-cli.js.map +0 -1
  381. package/build/lib/github-actions/runner.d.ts +0 -17
  382. package/build/lib/github-actions/runner.d.ts.map +0 -1
  383. package/build/lib/github-actions/runner.js +0 -195
  384. package/build/lib/github-actions/runner.js.map +0 -1
  385. package/build/lib/github-actions/schemas/context.d.ts +0 -933
  386. package/build/lib/github-actions/schemas/context.d.ts.map +0 -1
  387. package/build/lib/github-actions/schemas/context.js +0 -407
  388. package/build/lib/github-actions/schemas/context.js.map +0 -1
  389. package/build/lib/github-actions/schemas/index.d.ts +0 -5
  390. package/build/lib/github-actions/schemas/index.d.ts.map +0 -1
  391. package/build/lib/github-actions/schemas/index.js +0 -5
  392. package/build/lib/github-actions/schemas/index.js.map +0 -1
  393. package/build/lib/github-actions/search-module.d.ts +0 -38
  394. package/build/lib/github-actions/search-module.d.ts.map +0 -1
  395. package/build/lib/github-actions/search-module.js +0 -40
  396. package/build/lib/github-actions/search-module.js.map +0 -1
  397. package/build/lib/github-actions/step.d.ts +0 -163
  398. package/build/lib/github-actions/step.d.ts.map +0 -1
  399. package/build/lib/github-actions/step.js +0 -121
  400. package/build/lib/github-actions/step.js.map +0 -1
  401. package/build/lib/graphql-document/$$.d.ts +0 -5
  402. package/build/lib/graphql-document/$$.d.ts.map +0 -1
  403. package/build/lib/graphql-document/$$.js +0 -5
  404. package/build/lib/graphql-document/$$.js.map +0 -1
  405. package/build/lib/graphql-document/$.d.ts +0 -2
  406. package/build/lib/graphql-document/$.d.ts.map +0 -1
  407. package/build/lib/graphql-document/$.js +0 -2
  408. package/build/lib/graphql-document/$.js.map +0 -1
  409. package/build/lib/graphql-document/analysis.d.ts +0 -44
  410. package/build/lib/graphql-document/analysis.d.ts.map +0 -1
  411. package/build/lib/graphql-document/analysis.js +0 -361
  412. package/build/lib/graphql-document/analysis.js.map +0 -1
  413. package/build/lib/graphql-document/components/CopyButton.d.ts +0 -19
  414. package/build/lib/graphql-document/components/CopyButton.d.ts.map +0 -1
  415. package/build/lib/graphql-document/components/CopyButton.js +0 -43
  416. package/build/lib/graphql-document/components/CopyButton.js.map +0 -1
  417. package/build/lib/graphql-document/components/GraphQLDocument.d.ts +0 -38
  418. package/build/lib/graphql-document/components/GraphQLDocument.d.ts.map +0 -1
  419. package/build/lib/graphql-document/components/GraphQLDocument.js +0 -130
  420. package/build/lib/graphql-document/components/GraphQLDocument.js.map +0 -1
  421. package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.d.ts +0 -7
  422. package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.d.ts.map +0 -1
  423. package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.js +0 -45
  424. package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.js.map +0 -1
  425. package/build/lib/graphql-document/components/GraphQLIdentifierPopover.d.ts +0 -33
  426. package/build/lib/graphql-document/components/GraphQLIdentifierPopover.d.ts.map +0 -1
  427. package/build/lib/graphql-document/components/GraphQLIdentifierPopover.js +0 -48
  428. package/build/lib/graphql-document/components/GraphQLIdentifierPopover.js.map +0 -1
  429. package/build/lib/graphql-document/components/IdentifierLink.d.ts +0 -39
  430. package/build/lib/graphql-document/components/IdentifierLink.d.ts.map +0 -1
  431. package/build/lib/graphql-document/components/IdentifierLink.js +0 -75
  432. package/build/lib/graphql-document/components/IdentifierLink.js.map +0 -1
  433. package/build/lib/graphql-document/components/graphql-document-styles.d.ts +0 -5
  434. package/build/lib/graphql-document/components/graphql-document-styles.d.ts.map +0 -1
  435. package/build/lib/graphql-document/components/graphql-document-styles.js +0 -167
  436. package/build/lib/graphql-document/components/graphql-document-styles.js.map +0 -1
  437. package/build/lib/graphql-document/components/index.d.ts +0 -6
  438. package/build/lib/graphql-document/components/index.d.ts.map +0 -1
  439. package/build/lib/graphql-document/components/index.js +0 -6
  440. package/build/lib/graphql-document/components/index.js.map +0 -1
  441. package/build/lib/graphql-document/example.d.ts +0 -25
  442. package/build/lib/graphql-document/example.d.ts.map +0 -1
  443. package/build/lib/graphql-document/example.js +0 -140
  444. package/build/lib/graphql-document/example.js.map +0 -1
  445. package/build/lib/graphql-document/graphql-document.d.ts +0 -35
  446. package/build/lib/graphql-document/graphql-document.d.ts.map +0 -1
  447. package/build/lib/graphql-document/graphql-document.js +0 -36
  448. package/build/lib/graphql-document/graphql-document.js.map +0 -1
  449. package/build/lib/graphql-document/hooks/use-tooltip-state.d.ts +0 -43
  450. package/build/lib/graphql-document/hooks/use-tooltip-state.d.ts.map +0 -1
  451. package/build/lib/graphql-document/hooks/use-tooltip-state.js +0 -132
  452. package/build/lib/graphql-document/hooks/use-tooltip-state.js.map +0 -1
  453. package/build/lib/graphql-document/positioning-simple.d.ts +0 -68
  454. package/build/lib/graphql-document/positioning-simple.d.ts.map +0 -1
  455. package/build/lib/graphql-document/positioning-simple.js +0 -197
  456. package/build/lib/graphql-document/positioning-simple.js.map +0 -1
  457. package/build/lib/graphql-document/schema-context.d.ts +0 -8
  458. package/build/lib/graphql-document/schema-context.d.ts.map +0 -1
  459. package/build/lib/graphql-document/schema-context.js +0 -11
  460. package/build/lib/graphql-document/schema-context.js.map +0 -1
  461. package/build/lib/graphql-document/schema-integration-example.d.ts +0 -27
  462. package/build/lib/graphql-document/schema-integration-example.d.ts.map +0 -1
  463. package/build/lib/graphql-document/schema-integration-example.js +0 -297
  464. package/build/lib/graphql-document/schema-integration-example.js.map +0 -1
  465. package/build/lib/graphql-document/schema-integration.d.ts +0 -135
  466. package/build/lib/graphql-document/schema-integration.d.ts.map +0 -1
  467. package/build/lib/graphql-document/schema-integration.js +0 -328
  468. package/build/lib/graphql-document/schema-integration.js.map +0 -1
  469. package/build/lib/graphql-document/types.d.ts +0 -117
  470. package/build/lib/graphql-document/types.d.ts.map +0 -1
  471. package/build/lib/graphql-document/types.js.map +0 -1
  472. package/build/lib/kit-temp.test-d.d.ts +0 -2
  473. package/build/lib/kit-temp.test-d.d.ts.map +0 -1
  474. package/build/lib/kit-temp.test-d.js +0 -75
  475. package/build/lib/kit-temp.test-d.js.map +0 -1
  476. package/build/lib/mask/$$.d.ts +0 -3
  477. package/build/lib/mask/$$.d.ts.map +0 -1
  478. package/build/lib/mask/$$.js +0 -3
  479. package/build/lib/mask/$$.js.map +0 -1
  480. package/build/lib/mask/$.d.ts +0 -2
  481. package/build/lib/mask/$.d.ts.map +0 -1
  482. package/build/lib/mask/$.js +0 -2
  483. package/build/lib/mask/$.js.map +0 -1
  484. package/build/lib/mask/apply.d.ts +0 -86
  485. package/build/lib/mask/apply.d.ts.map +0 -1
  486. package/build/lib/mask/apply.js +0 -86
  487. package/build/lib/mask/apply.js.map +0 -1
  488. package/build/lib/mask/mask.d.ts +0 -124
  489. package/build/lib/mask/mask.d.ts.map +0 -1
  490. package/build/lib/mask/mask.js +0 -137
  491. package/build/lib/mask/mask.js.map +0 -1
  492. package/build/lib/mask/mask.test-d.d.ts +0 -2
  493. package/build/lib/mask/mask.test-d.d.ts.map +0 -1
  494. package/build/lib/mask/mask.test-d.js +0 -102
  495. package/build/lib/mask/mask.test-d.js.map +0 -1
  496. package/build/lib/task/$$.d.ts +0 -3
  497. package/build/lib/task/$$.d.ts.map +0 -1
  498. package/build/lib/task/$$.js +0 -3
  499. package/build/lib/task/$$.js.map +0 -1
  500. package/build/lib/task/$.d.ts +0 -2
  501. package/build/lib/task/$.d.ts.map +0 -1
  502. package/build/lib/task/$.js +0 -2
  503. package/build/lib/task/$.js.map +0 -1
  504. package/build/lib/task/report.d.ts +0 -28
  505. package/build/lib/task/report.d.ts.map +0 -1
  506. package/build/lib/task/report.js +0 -33
  507. package/build/lib/task/report.js.map +0 -1
  508. package/build/lib/task/task.d.ts +0 -44
  509. package/build/lib/task/task.d.ts.map +0 -1
  510. package/build/lib/task/task.js +0 -63
  511. package/build/lib/task/task.js.map +0 -1
  512. package/build/lib/version-history/index.d.ts +0 -3
  513. package/build/lib/version-history/index.d.ts.map +0 -1
  514. package/build/lib/version-history/index.js +0 -2
  515. package/build/lib/version-history/index.js.map +0 -1
  516. package/build/lib/version-history/types.d.ts +0 -64
  517. package/build/lib/version-history/types.d.ts.map +0 -1
  518. package/build/lib/version-history/types.js +0 -5
  519. package/build/lib/version-history/types.js.map +0 -1
  520. package/build/lib/version-history/version-history.d.ts +0 -85
  521. package/build/lib/version-history/version-history.d.ts.map +0 -1
  522. package/build/lib/version-history/version-history.js +0 -248
  523. package/build/lib/version-history/version-history.js.map +0 -1
  524. package/build/sandbox.d.ts +0 -2
  525. package/build/sandbox.d.ts.map +0 -1
  526. package/build/sandbox.js +0 -18
  527. package/build/sandbox.js.map +0 -1
  528. package/build/template/components/ArgumentAnnotation.js +0 -10
  529. package/build/template/components/ArgumentAnnotation.js.map +0 -1
  530. package/build/template/components/ArgumentList.js +0 -9
  531. package/build/template/components/ArgumentList.js.map +0 -1
  532. package/build/template/components/ArgumentListAnnotation.js +0 -15
  533. package/build/template/components/ArgumentListAnnotation.js.map +0 -1
  534. package/build/template/components/Changelog.js +0 -44
  535. package/build/template/components/Changelog.js.map +0 -1
  536. package/build/template/components/CodeBlockEnhancer.d.ts +0 -2
  537. package/build/template/components/CodeBlockEnhancer.d.ts.map +0 -1
  538. package/build/template/components/CodeBlockEnhancer.js +0 -175
  539. package/build/template/components/CodeBlockEnhancer.js.map +0 -1
  540. package/build/template/components/DeprecationReason.js +0 -9
  541. package/build/template/components/DeprecationReason.js.map +0 -1
  542. package/build/template/components/Description.js +0 -9
  543. package/build/template/components/Description.js.map +0 -1
  544. package/build/template/components/Field.js +0 -14
  545. package/build/template/components/Field.js.map +0 -1
  546. package/build/template/components/FieldList.js.map +0 -1
  547. package/build/template/components/FieldListSection.js.map +0 -1
  548. package/build/template/components/HamburgerMenu.d.ts +0 -9
  549. package/build/template/components/HamburgerMenu.d.ts.map +0 -1
  550. package/build/template/components/HamburgerMenu.js +0 -30
  551. package/build/template/components/HamburgerMenu.js.map +0 -1
  552. package/build/template/components/Link.js.map +0 -1
  553. package/build/template/components/Logo.js +0 -20
  554. package/build/template/components/Logo.js.map +0 -1
  555. package/build/template/components/MDXComponents.d.ts +0 -11
  556. package/build/template/components/MDXComponents.d.ts.map +0 -1
  557. package/build/template/components/MDXComponents.js +0 -70
  558. package/build/template/components/MDXComponents.js.map +0 -1
  559. package/build/template/components/Markdown.js.map +0 -1
  560. package/build/template/components/MissingSchema.js +0 -5
  561. package/build/template/components/MissingSchema.js.map +0 -1
  562. package/build/template/components/NamedType.js +0 -12
  563. package/build/template/components/NamedType.js.map +0 -1
  564. package/build/template/components/NotFound.d.ts +0 -2
  565. package/build/template/components/NotFound.d.ts.map +0 -1
  566. package/build/template/components/NotFound.js +0 -7
  567. package/build/template/components/NotFound.js.map +0 -1
  568. package/build/template/components/RadixLink.js.map +0 -1
  569. package/build/template/components/TestComponent.d.ts +0 -5
  570. package/build/template/components/TestComponent.d.ts.map +0 -1
  571. package/build/template/components/TestComponent.js +0 -7
  572. package/build/template/components/TestComponent.js.map +0 -1
  573. package/build/template/components/Texts/MinorHeading.js.map +0 -1
  574. package/build/template/components/ThemeToggle.d.ts +0 -3
  575. package/build/template/components/ThemeToggle.d.ts.map +0 -1
  576. package/build/template/components/ThemeToggle.js +0 -9
  577. package/build/template/components/ThemeToggle.js.map +0 -1
  578. package/build/template/components/TypeAnnotation.js.map +0 -1
  579. package/build/template/components/TypeFieldsLinkList.js +0 -9
  580. package/build/template/components/TypeFieldsLinkList.js.map +0 -1
  581. package/build/template/components/TypeIndex.js +0 -17
  582. package/build/template/components/TypeIndex.js.map +0 -1
  583. package/build/template/components/content/$$.d.ts +0 -3
  584. package/build/template/components/content/$$.d.ts.map +0 -1
  585. package/build/template/components/content/$$.js +0 -3
  586. package/build/template/components/content/$$.js.map +0 -1
  587. package/build/template/components/content/GraphQLDocumentWithSchema.d.ts +0 -8
  588. package/build/template/components/content/GraphQLDocumentWithSchema.d.ts.map +0 -1
  589. package/build/template/components/content/GraphQLDocumentWithSchema.js +0 -16
  590. package/build/template/components/content/GraphQLDocumentWithSchema.js.map +0 -1
  591. package/build/template/components/content/GraphQLDocumentWrapper.d.ts +0 -7
  592. package/build/template/components/content/GraphQLDocumentWrapper.d.ts.map +0 -1
  593. package/build/template/components/content/GraphQLDocumentWrapper.js +0 -62
  594. package/build/template/components/content/GraphQLDocumentWrapper.js.map +0 -1
  595. package/build/template/components/graphql/graphql.js +0 -3
  596. package/build/template/components/graphql/graphql.js.map +0 -1
  597. package/build/template/components/graphql/type-kind-icon.js.map +0 -1
  598. package/build/template/components/graphql/type-link.js +0 -11
  599. package/build/template/components/graphql/type-link.js.map +0 -1
  600. package/build/template/components/sidebar/Sidebar.js +0 -11
  601. package/build/template/components/sidebar/Sidebar.js.map +0 -1
  602. package/build/template/components/sidebar/SidebarItem.js.map +0 -1
  603. package/build/template/components/sidebar/ToggleButton.js +0 -5
  604. package/build/template/components/sidebar/ToggleButton.js.map +0 -1
  605. package/build/template/contexts/ThemeContext.d.ts +0 -12
  606. package/build/template/contexts/ThemeContext.d.ts.map +0 -1
  607. package/build/template/contexts/ThemeContext.js +0 -40
  608. package/build/template/contexts/ThemeContext.js.map +0 -1
  609. package/build/template/entry.client.js.map +0 -1
  610. package/build/template/routes/changelog.js.map +0 -1
  611. package/build/template/routes/index.js.map +0 -1
  612. package/build/template/routes/reference.$type.$field.js.map +0 -1
  613. package/build/template/routes/reference.$type.js.map +0 -1
  614. package/build/template/routes/reference.js.map +0 -1
  615. package/build/template/routes/root.js +0 -286
  616. package/build/template/routes/root.js.map +0 -1
  617. package/build/template/routes.js +0 -5
  618. package/build/template/routes.js.map +0 -1
  619. package/build/template/server/render-page.js.map +0 -1
  620. package/src/api/content/$$.ts +0 -6
  621. package/src/api/content/$.test.ts +0 -72
  622. package/src/api/content/$.ts +0 -1
  623. package/src/api/content/metadata.ts +0 -11
  624. package/src/api/content/navbar.test.ts +0 -55
  625. package/src/api/content/navbar.ts +0 -61
  626. package/src/api/content/page.ts +0 -12
  627. package/src/api/content/scan.ts +0 -117
  628. package/src/api/content/sidebar.test.ts +0 -297
  629. package/src/api/content/sidebar.ts +0 -283
  630. package/src/api/content/utils.ts +0 -7
  631. package/src/api/static/index.ts +0 -1
  632. package/src/api/static/manifest.test.ts +0 -106
  633. package/src/api/static/manifest.ts +0 -16
  634. package/src/api/static/rebase.test.ts +0 -229
  635. package/src/api/static/rebase.ts +0 -140
  636. package/src/api/static/static.ts +0 -2
  637. package/src/cli/commands/static/$default.ts +0 -43
  638. package/src/cli/commands/static/rebase.ts +0 -37
  639. package/src/cli/commands/static.ts +0 -6
  640. package/src/exports/components.ts +0 -4
  641. package/src/lib/demos/builder.ts +0 -298
  642. package/src/lib/demos/config-schema.ts +0 -56
  643. package/src/lib/demos/config.test.ts +0 -193
  644. package/src/lib/demos/config.ts +0 -205
  645. package/src/lib/demos/index.ts +0 -9
  646. package/src/lib/demos/ui/components.ts +0 -739
  647. package/src/lib/demos/ui/data-collector.ts +0 -246
  648. package/src/lib/demos/ui/landing-page-cli.ts +0 -23
  649. package/src/lib/demos/ui/landing-page.ts +0 -126
  650. package/src/lib/demos/ui/page-renderer.ts +0 -124
  651. package/src/lib/demos/utils.ts +0 -43
  652. package/src/lib/deployment/$$.ts +0 -2
  653. package/src/lib/deployment/$.test.ts +0 -53
  654. package/src/lib/deployment/$.ts +0 -1
  655. package/src/lib/deployment/metadata.ts +0 -40
  656. package/src/lib/deployment/path-manager.ts +0 -186
  657. package/src/lib/github-actions/git-controller.ts +0 -151
  658. package/src/lib/github-actions/github-actions.ts +0 -6
  659. package/src/lib/github-actions/index.ts +0 -1
  660. package/src/lib/github-actions/lib/get-pr-deployments.ts +0 -76
  661. package/src/lib/github-actions/pr-controller.test.ts +0 -172
  662. package/src/lib/github-actions/pr-controller.ts +0 -183
  663. package/src/lib/github-actions/run-step-cli.ts +0 -84
  664. package/src/lib/github-actions/runner.test.ts +0 -192
  665. package/src/lib/github-actions/runner.ts +0 -226
  666. package/src/lib/github-actions/schemas/context.ts +0 -424
  667. package/src/lib/github-actions/schemas/index.ts +0 -5
  668. package/src/lib/github-actions/search-module.test.ts +0 -110
  669. package/src/lib/github-actions/search-module.ts +0 -76
  670. package/src/lib/github-actions/step.test.ts +0 -149
  671. package/src/lib/github-actions/step.ts +0 -232
  672. package/src/lib/graphql-document/$$.ts +0 -4
  673. package/src/lib/graphql-document/$.test.ts +0 -132
  674. package/src/lib/graphql-document/$.ts +0 -1
  675. package/src/lib/graphql-document/README.md +0 -102
  676. package/src/lib/graphql-document/analysis.ts +0 -415
  677. package/src/lib/graphql-document/components/CopyButton.tsx +0 -76
  678. package/src/lib/graphql-document/components/GraphQLDocument.tsx +0 -250
  679. package/src/lib/graphql-document/components/GraphQLDocument.unit.test.ts +0 -188
  680. package/src/lib/graphql-document/components/GraphQLDocumentWithSchema.tsx +0 -70
  681. package/src/lib/graphql-document/components/GraphQLIdentifierPopover.tsx +0 -197
  682. package/src/lib/graphql-document/components/IdentifierLink.tsx +0 -160
  683. package/src/lib/graphql-document/components/graphql-document-styles.ts +0 -167
  684. package/src/lib/graphql-document/components/index.ts +0 -5
  685. package/src/lib/graphql-document/demo.md +0 -155
  686. package/src/lib/graphql-document/example.ts +0 -163
  687. package/src/lib/graphql-document/graphql-document.ts +0 -37
  688. package/src/lib/graphql-document/hooks/use-tooltip-state.test.ts +0 -76
  689. package/src/lib/graphql-document/hooks/use-tooltip-state.ts +0 -191
  690. package/src/lib/graphql-document/positioning-simple.test.ts +0 -252
  691. package/src/lib/graphql-document/positioning-simple.ts +0 -271
  692. package/src/lib/graphql-document/schema-context.tsx +0 -20
  693. package/src/lib/graphql-document/schema-integration-example.ts +0 -341
  694. package/src/lib/graphql-document/schema-integration.test.ts +0 -365
  695. package/src/lib/graphql-document/schema-integration.ts +0 -497
  696. package/src/lib/graphql-document/types.ts +0 -129
  697. package/src/lib/kit-temp.test-d.ts +0 -115
  698. package/src/lib/kit-temp.test.ts +0 -127
  699. package/src/lib/mask/$$.ts +0 -2
  700. package/src/lib/mask/$.test.ts +0 -248
  701. package/src/lib/mask/$.ts +0 -1
  702. package/src/lib/mask/apply.ts +0 -134
  703. package/src/lib/mask/mask.test-d.ts +0 -144
  704. package/src/lib/mask/mask.ts +0 -244
  705. package/src/lib/task/$$.ts +0 -2
  706. package/src/lib/task/$.test.ts +0 -209
  707. package/src/lib/task/$.ts +0 -1
  708. package/src/lib/task/report.ts +0 -72
  709. package/src/lib/task/task.ts +0 -112
  710. package/src/lib/version-history/index.test.ts +0 -196
  711. package/src/lib/version-history/index.ts +0 -4
  712. package/src/lib/version-history/types.ts +0 -68
  713. package/src/lib/version-history/version-history.ts +0 -293
  714. package/src/sandbox.ts +0 -20
  715. package/src/template/components/CodeBlockEnhancer.tsx +0 -192
  716. package/src/template/components/HamburgerMenu.tsx +0 -96
  717. package/src/template/components/MDXComponents.tsx +0 -101
  718. package/src/template/components/NotFound.tsx +0 -28
  719. package/src/template/components/TestComponent.tsx +0 -6
  720. package/src/template/components/ThemeToggle.tsx +0 -21
  721. package/src/template/components/content/$$.ts +0 -2
  722. package/src/template/components/content/GraphQLDocumentWithSchema.tsx +0 -18
  723. package/src/template/components/content/GraphQLDocumentWrapper.tsx +0 -82
  724. package/src/template/contexts/ThemeContext.tsx +0 -60
  725. /package/build/lib/{graphql-document → file-router/sidebar}/types.js +0 -0
package/README.md CHANGED
@@ -2,33 +2,34 @@
2
2
 
3
3
  A framework for delightful GraphQL developer portals
4
4
 
5
- ## What is Polen?
5
+ ## Installation
6
6
 
7
- Polen transforms your GraphQL schema into a beautiful, interactive developer portal with zero configuration. It automatically generates:
7
+ ```sh
8
+ npm add polen
9
+ ```
8
10
 
9
- - 📖 **Schema Reference** - Interactive documentation for all types, fields, and operations
10
- - 📝 **Changelog** - Track schema evolution over time
11
- - 📄 **Custom Pages** - Add guides, tutorials, and API documentation with Markdown/MDX
12
- - 🎨 **Beautiful UI** - Modern, responsive design out of the box
13
- - 🚀 **Instant Deploy** - Static site generation for easy hosting anywhere
11
+ ## Quickstart
14
12
 
15
- ## Quick Start
13
+ 1. Have a `schema.graphql` GraphQL schema file in your project directory.
16
14
 
17
- ```sh
18
- # Install Polen
19
- npm add polen
15
+ ```graphql
16
+ type Query {
17
+ hello: String
18
+ }
19
+ ```
20
20
 
21
- # Create a GraphQL schema file
22
- echo "type Query { hello: String }" > schema.graphql
21
+ 2. Build your developer portal.
23
22
 
24
- # Build your developer portal
25
- npx polen build
23
+ ```sh
24
+ npx polen build
25
+ ```
26
26
 
27
- # Preview locally
28
- node build/app.js
29
- ```
27
+ 3. You now have a deployable developer portal. Try it locally
28
+ (http://localhost:3001):
30
29
 
31
- Visit http://localhost:3001 to see your developer portal!
30
+ ```sh
31
+ node build/app.js
32
+ ```
32
33
 
33
34
  ## Live Demos
34
35
 
@@ -41,49 +42,374 @@ Featured examples:
41
42
  - **[Pokemon GraphQL API](https://the-guild-org.github.io/polen/latest/pokemon/)** - Explore a fun GraphQL API with rich schema documentation
42
43
  - **GitHub GraphQL API** (Coming soon) - Browse GitHub's extensive GraphQL API documentation
43
44
 
44
- ## Documentation
45
+ ### Demo Versions
46
+
47
+ Our demos are available at different stability levels, matching npm's dist tags:
48
+
49
+ - **Stable Release** (`latest`): [/polen/latest/pokemon](https://the-guild-org.github.io/polen/latest/pokemon/)
50
+ - The most recent stable version (e.g., `1.0.0`)
51
+ - Same as `npm install polen`
45
52
 
46
- - **[Getting Started](./docs/getting-started.md)** - Installation and quick start guide
47
- - **[Schema Configuration](./docs/guide/schema.md)** - Configure your GraphQL schema
48
- - **[Custom Pages](./docs/guide/pages.md)** - Add documentation with Markdown and MDX
49
- - **[Build & Deploy](./docs/guide/build.md)** - Build configuration and deployment options
50
- - **[CLI Reference](./docs/cli/index.md)** - All available commands
51
- - **[Package API](./docs/api/package.md)** - Programmatic usage
53
+ - **Pre-release** (`next`): [/polen/next/pokemon](https://the-guild-org.github.io/polen/next/pokemon/)
54
+ - The latest pre-release version (e.g., `1.1.0-beta.1`)
55
+ - Same as `npm install polen@next`
52
56
 
53
- ### Features
57
+ - **Tagged Versions**: Access any specific release
58
+ - e.g., [/polen/1.0.0/pokemon](https://the-guild-org.github.io/polen/1.0.0/pokemon/)
59
+ - Same as `npm install polen@1.0.0`
54
60
 
55
- - **[Static Rebase](./docs/features/static-rebase.md)** - Update base paths without rebuilding
56
- - **[Syntax Highlighting](./docs/features/syntax-highlighting.md)** - Beautiful code blocks with language support
61
+ > [!TIP]
62
+ > The correspondence between demo URLs and npm versions makes it easy to test features before upgrading. If you're using `polen@1.0.0`, visit `/polen/1.0.0/pokemon` to see exactly how your docs will look!
57
63
 
58
64
  ## Examples
59
65
 
60
- Find complete example projects in the [examples](./examples) directory:
66
+ Find the source code for these demos and more in the [examples](./examples) directory.
67
+
68
+ ## Guide
69
+
70
+ ### Schema Reference
71
+
72
+ If you [provide Polen with a schema](#providing-a-schema), Polen will
73
+ automatically render reference documentation for it.
74
+
75
+ If you provide multiple versions of your schema then the reference is based on
76
+ the schema with the latest date.
77
+
78
+ ### Schema Changelog
79
+
80
+ Polen can render a changelog for your schema.
81
+
82
+ This feature is automatically enabled when you provide multiple versions of your
83
+ schema. Refer to [Provide a Schema](#providing-a-schema) for details on how to
84
+ do that.
85
+
86
+ ### Schema Augmentations
87
+
88
+ #### Descriptions
89
+
90
+ You can append/prepend/replace descriptions of types and fields in your schema.
91
+
92
+ Any Markdown syntax in your content will be automatically rendered.
93
+
94
+ ```ts
95
+ import { Polen } from 'polen'
96
+
97
+ export default Polen.defineConfig({
98
+ templateVariables: {
99
+ title: `Pokemon Developer Portal`,
100
+ },
101
+ schemaAugmentations: [
102
+ {
103
+ type: `description`,
104
+ on: {
105
+ type: `TargetType`,
106
+ name: `Query`,
107
+ },
108
+ placement: `over`,
109
+ content:
110
+ `**Content from [Polen](https://github.com/the-guild-org/polen)**.`,
111
+ },
112
+ ],
113
+ })
114
+ ```
115
+
116
+ ### Providing a Schema
117
+
118
+ You can provide a GraphQL schema to Polen in various ways.
119
+
120
+ #### File
121
+
122
+ Have a single `schema.graphql` SDL file in your project directory. Example:
123
+
124
+ ```
125
+ schema.graphql
126
+ ```
127
+
128
+ #### Directory
129
+
130
+ Have a `schema` directory in your project directory with multiple versions of
131
+ your schema as SDL files named using format: `YYYY-MM-DD.graphql`. Example:
132
+
133
+ ```
134
+ schema/
135
+ 2023-01-13.graphql
136
+ 2020-09-26.graphql
137
+ ```
138
+
139
+ This approach allows Polen to render a changelog for your schema. Refer to
140
+ [Changelog](#changelog).
141
+
142
+ #### Memory
143
+
144
+ You can provide a schema to Polen in memory via configuration.
145
+
146
+ You have control to provide one or multiple schemas, with or without dates.
147
+
148
+ If no dates are given then the current time is assumed.
149
+
150
+ If you provide multiple versions then Polen can render a changelog for you.
151
+ Refer to [Changelog](#changelog).
152
+
153
+ Basic example:
154
+
155
+ ```ts
156
+ // polen.config.ts
157
+ import { Polen } from 'polen'
158
+
159
+ export default Polen.defineConfig({
160
+ schema: {
161
+ useDataSources: `memory`,
162
+ dataSources: {
163
+ memory: {
164
+ versions: [
165
+ {
166
+ date: new Date('2023-01-13'),
167
+ value: `type Query { hello: String }`,
168
+ },
169
+ ],
170
+ },
171
+ },
172
+ },
173
+ })
174
+ ```
175
+
176
+ ### Pages
177
+
178
+ You can add pages to your developer portal by adding markdown (`.md`) or MDX (`.mdx`) files to a
179
+ `pages` directory.
180
+
181
+ #### Routing
182
+
183
+ - A file becomes a page.
184
+ - The relative (to `pages` directory) file path becomes the web path.
185
+ - _Navigation Bar_
186
+ - Top level pages are listed in the navigation bar.
187
+ - _Index Pages_
188
+ - A file named `index` is an index page.
189
+ - The file name is elided in the route. For example `foo/index.md` becomes
190
+ route `/foo` .
191
+ - Details:
192
+ - If both `foo/index.md` and `foo.md` exist, then the former is used, latter
193
+ ignored, and a warning is raised.
194
+
195
+ Example:
196
+
197
+ | File | Route | Navigation Bar Title |
198
+ | --------------------- | ---------- | -------------------- |
199
+ | `pages/foo.md` | `/foo` | `Foo` |
200
+ | `pages/foo.mdx` | `/foo` | `Foo` |
201
+ | `pages/foo/index.md` | `/foo` | `Foo` |
202
+ | `pages/foo/index.mdx` | `/foo` | `Foo` |
203
+ | `pages/foo/bar.md` | `/foo/bar` | `Foo` |
204
+ | `pages/foo/bar.mdx` | `/foo/bar` | `Foo` |
205
+
206
+ #### Page Ordering
207
+
208
+ You can control the order of pages in the sidebar by prefixing file names with numbers followed by `_` or `-`. The numeric prefix affects only the sidebar ordering - it does not appear in the page URL or title.
209
+
210
+ - _Syntax_
211
+ - Format: `<number>_<name>.md` or `<number>-<name>.md`
212
+ - Examples: `01_intro.md`, `10_getting-started.md`, `20-configuration.md`
213
+ - _Ordering_
214
+ - Pages with numeric prefixes appear before pages without prefixes
215
+ - Pages are sorted by their numeric value (not alphabetically)
216
+ - Pages without prefixes are sorted alphabetically after numbered pages
217
+ - _Collisions_
218
+ - If multiple files have the same name after removing the prefix (e.g., `10_about.md` and `20_about.md`), the file with the higher number is used
219
+ - A warning is shown for collision conflicts
220
+
221
+ Example:
222
+
223
+ | File | Route | Sidebar Title | Order |
224
+ | ----------------------------- | ------------------ | ----------------- | ----- |
225
+ | `pages/10_getting-started.md` | `/getting-started` | `Getting Started` | 1st |
226
+ | `pages/20_configuration.md` | `/configuration` | `Configuration` | 2nd |
227
+ | `pages/30_advanced.md` | `/advanced` | `Advanced` | 3rd |
228
+ | `pages/api-reference.md` | `/api-reference` | `Api Reference` | 4th |
229
+ | `pages/troubleshooting.md` | `/troubleshooting` | `Troubleshooting` | 5th |
230
+
231
+ #### Markdown
232
+
233
+ Markdown files (`.md`) are supported using [remark](https://remark.js.org/). This is the same underlying engine as [MDX](https://mdxjs.com/) thus you can rely on consistent behavior between your `.md` and `.mdx` files.
234
+
235
+ Polen supports:
236
+
237
+ - [CommonMark](https://commonmark.org/).
238
+ - [GitHub Flavored Markdown](https://github.github.com/gfm/).
239
+
240
+ In the future you will be able to extend Polen in your project with additional [Remark plugins](https://github.com/remarkjs/remark/blob/main/doc/plugins.md#list-of-plugins). Track this feature in [#64](https://github.com/the-guild-org/polen/issues/64).
61
241
 
62
- - `pokemon` - Fun Pokemon API documentation
63
- - `github` - GitHub GraphQL API (coming soon)
64
- - `minimal` - Minimal setup example
242
+ If you're new to Markdown, here are some great resources to get started:
65
243
 
66
- ## Why Polen?
244
+ - **[CommonMark Tutorial](https://commonmark.org/help/)** - Interactive 10-minute tutorial
245
+ - **[Markdown Guide](https://www.markdownguide.org/)** - Comprehensive reference and cheat sheets
246
+ - **[GitHub's Markdown Guide](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)** - Practical guide with examples
67
247
 
68
- - **Zero Configuration** - Works out of the box with just a GraphQL schema
69
- - **Developer Focused** - Built specifically for GraphQL API documentation
70
- - **Modern Stack** - React, TypeScript, and Vite for fast builds
71
- - **Flexible** - Customize everything from branding to page structure
72
- - **Static or Server** - Deploy as static files or run as a Node.js server
248
+ Syntax features available to you include:
73
249
 
74
- ## Contributing
250
+ **Via CommonMark:**
75
251
 
76
- We welcome contributions! See [DEVELOPMENT.md](./DEVELOPMENT.md) for:
252
+ - Headers, paragraphs, and line breaks
253
+ - Bold, italic, and code formatting
254
+ - Lists (ordered and unordered)
255
+ - Links and images
256
+ - Code blocks with syntax highlighting
257
+ - Blockquotes
258
+ - Horizontal rules
259
+
260
+ **Via GitHub Flavored Markdown:**
261
+
262
+ - Tables
263
+ - Task lists
264
+ - Strikethrough text
265
+ - Autolinks
266
+
267
+ #### MDX
268
+
269
+ MDX begins where [Markdown](#markdown) ends. So everything stated there such as regarding supported Markdown flavours applies here too.
270
+
271
+ MDX files (`.mdx`) allow you to use JSX/React components within your markdown content. This enables
272
+ interactive documentation with live examples, custom components, and more.
273
+
274
+ Example MDX page:
275
+
276
+ ```mdx
277
+ # Interactive Documentation
278
+
279
+ import { Button } from "@radix-ui/themes";
280
+
281
+ This page demonstrates MDX features.
282
+
283
+ <Button onClick={() => alert("Hello from MDX!")}>Click me!</Button>
284
+
285
+ ## Code Examples
286
+
287
+ You can mix markdown with React components for powerful documentation:
288
+
289
+ export const CodeExample = ({ language, code }) => (
290
+ <pre>
291
+ <code className={`language-${language}`}>{code}</code>
292
+ </pre>
293
+ );
294
+
295
+ <CodeExample
296
+ language="graphql"
297
+ code={`
298
+ query GetUser($id: ID!) {
299
+ user(id: $id) {
300
+ name
301
+ email
302
+ }
303
+ }
304
+ `}
305
+ />
306
+ ```
307
+
308
+ ### Build
309
+
310
+ When you build you may choose between SSG and SSR. The default is SSG.
311
+
312
+ #### SSG
313
+
314
+ ```sh
315
+ npx polen build --type ssg
316
+ ```
317
+
318
+ Deploy the contents of the `./build` directory on your favourite static site provider.
319
+
320
+ #### SSR
321
+
322
+ In the future Polen will have features that motivate using a server, but for now there is no particular benefit. Use `SSG` instead.
323
+
324
+ #### Base Path Configuration
325
+
326
+ Polen supports deploying to subdirectories through the `build.base` configuration option. This is useful for:
327
+
328
+ - GitHub Pages project sites (e.g., `/my-project/`)
329
+ - PR preview deployments (e.g., `/pr-123/`)
330
+ - Hosting multiple Polen sites on one domain
331
+
332
+ ```ts
333
+ // polen.config.ts
334
+ import { Polen } from 'polen'
335
+
336
+ export default Polen.defineConfig({
337
+ build: {
338
+ base: '/my-project/', // Must start and end with /
339
+ },
340
+ })
341
+ ```
342
+
343
+ When configured, Polen will output differently:
344
+
345
+ - For SSG architecture:
346
+ - Generate static files that work in the subdirectory
347
+ - For SSR architecture:
348
+ - A server that serves static assets from the correct path
349
+
350
+ You can also set the base path via CLI:
351
+
352
+ ```bash
353
+ npx polen build --base /my-project/
354
+ npx polen dev --base /my-project/
355
+ ```
356
+
357
+ The CLI flag takes precedence over the config file setting.
358
+
359
+ #### Custom Logo
360
+
361
+ You can provide a custom logo for your developer portal by placing a `logo.svg` file in your project's `public` directory:
362
+
363
+ ```
364
+ public/
365
+ logo.svg
366
+ ```
367
+
368
+ Polen will automatically use this logo in the navigation bar instead of the default Polen logo.
369
+
370
+ ### Package
371
+
372
+ #### ESM
373
+
374
+ Polen is an ESM only package. If you are using CJS, then you need
375
+ [NodeJS version `>=22.0.0` to `require` it](https://nodejs.org/api/modules.html#loading-ecmascript-modules-using-require).
376
+
377
+ #### Exports
378
+
379
+ You can import a `Polen` namespace from `polen`. You can import its bare exports
380
+ from `polen/polen`.
381
+
382
+ ```ts
383
+ import { Polen } from 'polen'
384
+ import { defineConfig } from 'polen/polen'
385
+
386
+ console.log(Polen.defineConfig === defineConfig) // true
387
+ ```
388
+
389
+ ### Instant Schema Explorer
390
+
391
+ Polen comes with a light-weight command to instantly view any GraphQL schema.
392
+
393
+ Example:
394
+
395
+ ```sh
396
+ npx polen open --name github
397
+ ```
398
+
399
+ See docs for more details
400
+
401
+ ```sh
402
+ npx polen open --help
403
+ ```
77
404
 
78
- - Development setup
79
- - Architecture overview
80
- - Testing guidelines
81
- - Contribution process
405
+ ## Other
82
406
 
83
- ## Changelog
407
+ ### Changelog
84
408
 
85
- See [releases](https://github.com/the-guild-org/polen/releases) for a detailed changelog.
409
+ Refer to
410
+ [releases on this repo](https://github.com/the-guild-org/polen/releases).
86
411
 
87
- ## License
412
+ ### Development
88
413
 
89
- MIT © [The Guild](https://the-guild.dev)
414
+ If you are working on Polen itself, then refer to
415
+ [DEVELOPMENT.md](./DEVELOPMENT.md) for details about workflow, testing, etc.
@@ -1,5 +1,4 @@
1
1
  export * from './builder/index.ts';
2
2
  export * from './config-resolver/index.ts';
3
3
  export * from './config/index.ts';
4
- export * from './static/index.ts';
5
4
  //# sourceMappingURL=api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA"}
package/build/api/api.js CHANGED
@@ -1,5 +1,4 @@
1
1
  export * from "./builder/index.js";
2
2
  export * from "./config-resolver/index.js";
3
3
  export * from "./config/index.js";
4
- export * from "./static/index.js";
5
4
  //# sourceMappingURL=api.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA"}
@@ -33,7 +33,7 @@ export const build = async (buildConfigInput) => {
33
33
  await builder.buildApp();
34
34
  if (buildConfig.architecture === `ssg`) {
35
35
  consola.info(`Generating static site...`);
36
- await import(__rewriteRelativeImportExtension(viteUserConfig._polen.paths.project.absolute.build.serverEntrypoint));
36
+ await import(__rewriteRelativeImportExtension(viteUserConfig._polen.paths.project.absolute.build.serverEntrypoint, true));
37
37
  // Clean up server file which should now be done being used for SSG geneation.
38
38
  await Fs.remove(viteUserConfig._polen.paths.project.absolute.build.serverEntrypoint);
39
39
  // todo: there is also some kind of prompt js asset that we probably need to clean up or review...
@@ -1 +1 @@
1
- {"version":3,"file":"builder.js","sourceRoot":"","sources":["../../../src/api/builder/builder.ts"],"names":[],"mappings":";;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QAAQ,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC,CAAA;QAC9F,0BAA0B;QAC1B,OAAO,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAA;IAClD,CAAC;AACH,CAAC,CAAA"}
@@ -8,7 +8,7 @@ var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExte
8
8
  };
9
9
  import { assertOptionalPathAbsolute, pickFirstPathExisting } from '#lib/kit-temp';
10
10
  import { packagePaths } from '#package-paths';
11
- import { debugPolen } from '#singletons/debug';
11
+ import { debug } from '#singletons/debug';
12
12
  import { Path } from '@wollybeard/kit';
13
13
  import * as Module from 'node:module';
14
14
  export const fileNameBases = [`polen.config`, `.polen.config`];
@@ -18,7 +18,7 @@ export const fileNameExtensions = [...fileNameExtensionsTypeScript, ...fileNameE
18
18
  export const fileNames = fileNameBases.flatMap(base => fileNameExtensions.map(ext => `${base}${ext}`));
19
19
  let isSelfContainedModeRegistered = false;
20
20
  export const load = async (options) => {
21
- const debug = debugPolen.sub(`load`);
21
+ const _debug = debug.sub(`load`);
22
22
  assertOptionalPathAbsolute(options.dir);
23
23
  //
24
24
  // ━━ Enable Self-Contained Mode
@@ -31,7 +31,7 @@ export const load = async (options) => {
31
31
  const initializeData = {
32
32
  projectDirPathExp: options.dir,
33
33
  };
34
- debug(`register node module hooks`, { data: initializeData });
34
+ _debug(`register node module hooks`, { data: initializeData });
35
35
  // TODO: would be simpler to use sync hooks
36
36
  // https://nodejs.org/api/module.html#synchronous-hooks-accepted-by-moduleregisterhooks
37
37
  // Requires NodeJS 22.15+ -- which is not working with PW until its next release.
@@ -59,9 +59,9 @@ export const load = async (options) => {
59
59
  }
60
60
  else {
61
61
  // eslint-disable-next-line
62
- module = await import(__rewriteRelativeImportExtension(filePath));
62
+ module = await import(__rewriteRelativeImportExtension(filePath, true));
63
63
  }
64
- debug(`imported config module`);
64
+ _debug(`imported config module`);
65
65
  // // Use dynamic import with file URL to support Windows
66
66
  // const configUrl = pathToFileURL(configPath).href
67
67
  // todo: report errors nicely if this fails
@@ -82,7 +82,7 @@ export const load = async (options) => {
82
82
  configInput.advanced ??= {};
83
83
  configInput.advanced.isSelfContainedMode = true;
84
84
  }
85
- debug(`loaded config input`, configInput);
85
+ _debug(`loaded config input`, configInput);
86
86
  return configInput;
87
87
  };
88
88
  //# sourceMappingURL=load.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"load.js","sourceRoot":"","sources":["../../../src/api/config/load.ts"],"names":[],"mappings":";;;;;;;;AACA,OAAO,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAGrC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,cAAc,EAAE,eAAe,CAAC,CAAA;AAC9D,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;AAC1E,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAA;AAC3D,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,GAAG,4BAA4B,EAAE,GAAG,4BAA4B,CAAC,CAAA;AACpG,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAkB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,GAAG,GAAG,EAAE,CAAC,CAAC,CAAA;AAMtG,IAAI,6BAA6B,GAAG,KAAK,CAAA;AAEzC,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,EAAE,OAAoB,EAAwB,EAAE;IACvE,MAAM,KAAK,GAAG,UAAU,C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I,KAAK,CACb,6BAA6B,QAAQ,qFAAqF,CAC3H,CAAA;QACH,CAAC;QACD,WAAW,GAAG,mBAAmB,CAAA;IACnC,CAAC;IAED,EAAE;IACF,8CAA8C;IAC9C,EAAE;IACF,8EAA8E;IAC9E,oEAAoE;IAEpE,IAAI,0BAA0B,EAAE,CAAC;QAC/B,WAAW,CAAC,QAAQ,KAAK,EAAE,CAAA;QAC3B,WAAW,CAAC,QAAQ,CAAC,mBAAmB,GAAG,IAAI,CAAA;IACjD,CAAC;IAED,MAAM,CAAC,qBAAqB,EAAE,WAAW,CAAC,CAAA;IAE1C,OAAO,WAAW,CAAA;AACpB,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { debugPolen } from '#singletons/debug';
1
+ import { debug } from '#singletons/debug';
2
2
  import { normalizeInput } from "../config/configurator.js";
3
3
  import { load } from "../config/load.js";
4
4
  import { mergeInputs } from "../config/merge.js";
@@ -7,7 +7,7 @@ export const fromFile = async (options) => {
7
7
  const configInput = await load(options);
8
8
  const configInputMerged = mergeInputs(configInput, options.overrides);
9
9
  const config = await fromMemory(configInputMerged, options.dir);
10
- debugPolen(`resolved config`, config);
10
+ debug(`resolved config`, config);
11
11
  return config;
12
12
  };
13
13
  export const fromMemory = async (input,
@@ -1 +1 @@
1
- {"version":3,"file":"resolve.js","sourceRoot":"","sources":["../../../src/api/config-resolver/resolve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAoB,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC5E,OAAO,EAAE,IAAI,EAAoB,MAAM,mBAAmB,CAAA;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,gBAAgB,EAAgC,MAAM,WAAW,CAAA;AAM1E,MAAM,CAAC,MAAM,QAAQ,GAAG,KAAK,EAAE,OAA+B,EAAoC,EAAE;IAClG,MAAM,WAAW,GAAG,MAAM,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D,KAAK,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAA;IAChC,OAAO,MAAM,CAAA;AACf,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,EAC7B,KAAkB;AAClB;;;;GAIG;AACH,eAAwB,EACxB,EAAE;IACF,MAAM,gBAAgB,GAAG,MAAM,cAAc,CAAC,KAAK,EAAE,eAAe,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC,CAAA;IACtF,MAAM,cAAc,GAAG,gBAAgB,CAAC,gBAAgB,CAAC,CAAA;IACzD,OAAO,cAAc,CAAA;AACvB,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { Grafaid } from '#lib/grafaid/index';
2
2
  import { GraphqlChange } from '#lib/graphql-change/index';
3
- import { debugPolen } from '#singletons/debug';
3
+ import { debug as debugPolen } from '#singletons/debug';
4
4
  import { Arr, Path } from '@wollybeard/kit';
5
5
  import { glob } from 'tinyglobby';
6
6
  import { FileNameExpression } from "./file-name-expression/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"schema-directory.js","sourceRoot":"","sources":["../../../../../src/api/schema/data-sources/schema-directory/schema-directory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAEjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAEpE,2EAA2E;AAC3E,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,qCAAqC,CAAC,CAAA;AAEnE,MAAM,YAAY,GAAG;IACnB,eAAe,EAAE,UAAU;CAC5B,CAAA;AAWD,MAAM,CAAC,MAAM,e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AkB,CAAC,QAAQ,EAAE,CAAC,CAAA;QAE9F,OAAO;YACL,GAAG,kBAAkB;YACrB,MAAM,EAAE,UAAU,CAAC,OAAO;SAC3B,CAAA;IACH,CAAC,CAAC,CAAC,CAAA;IACH,KAAK,CAAC,cAAc,CAAC,CAAA;IAErB,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAA;IAE5D,MAAM,UAAU,GAAG,MAAM,OAAO,CAAC,GAAG,CAClC,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAuC,EAAE;QAC9E,MAAM,OAAO,GAAG,OAAO,CAAA;QACvB,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;QAEpC,MAAM,MAAM,GAAG,QAAQ,EAAE,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,KAAK,CAAA;QACvD,MAAM,KAAK,GAAG,OAAO,CAAC,MAAM,CAAA;QAE5B,MAAM,OAAO,GAAG,MAAM,aAAa,CAAC,aAAa,CAAC;YAChD,MAAM;YACN,KAAK;SACN,CAAC,CAAA;QAEF,OAAO;YACL,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,MAAM;YACN,KAAK;YACL,OAAO;SACR,CAAA;IACH,CAAC,CAAC,CACH,CAAA;IAED,UAAU,CAAC,OAAO,EAAE,CAAA;IAEpB,MAAM,MAAM,GAAW;QACrB,QAAQ,EAAE,UAAU;KACrB,CAAA;IAED,KAAK,CAAC,iBAAiB,CAAC,CAAA;IAExB,OAAO,MAAM,CAAA;AACf,CAAC,CAAA"}
1
+ {"version":3,"file":"schema-directory.js","sourceRoot":"","sources":["../../../../../src/api/schema/data-sources/schema-directory/schema-directory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO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AM,aAAa,CAAC,aAAa,CAAC;YAChD,MAAM;YACN,KAAK;SACN,CAAC,CAAA;QAEF,OAAO;YACL,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,MAAM;YACN,KAAK;YACL,OAAO;SACR,CAAA;IACH,CAAC,CAAC,CACH,CAAA;IAED,UAAU,CAAC,OAAO,EAAE,CAAA;IAEpB,MAAM,MAAM,GAAW;QACrB,QAAQ,EAAE,UAAU;KACrB,CAAA;IAED,KAAK,CAAC,iBAAiB,CAAC,CAAA;IAExB,OAAO,MAAM,CAAA;AACf,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { polenVirtual } from '#api/vite/vi';
2
2
  import { getMutationType, MutationType } from '#lib/mutation-type';
3
- import { debugPolen } from '#singletons/debug';
3
+ import { debug } from '#singletons/debug';
4
4
  import { Fs } from '@wollybeard/kit';
5
5
  const viLogo = polenVirtual(['project', 'assets', 'logo.svg']);
6
6
  const generateDefaultLogo = async () => {
@@ -9,8 +9,8 @@ const generateDefaultLogo = async () => {
9
9
  </svg>`;
10
10
  };
11
11
  export function Branding(config) {
12
- const debug = debugPolen.sub('vite-plugin:branding');
13
- debug('initialized');
12
+ const _debug = debug.sub('vite-plugin:branding');
13
+ _debug('initialized');
14
14
  return {
15
15
  name: 'polen:branding',
16
16
  enforce: 'pre',
@@ -23,7 +23,7 @@ export function Branding(config) {
23
23
  changedFile: file,
24
24
  moduleId: viLogo.resolved,
25
25
  server,
26
- debug: debug,
26
+ debug: _debug,
27
27
  });
28
28
  },
29
29
  resolveId(id) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/vite/plugins/branding/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,OAAO,EAAsB,eAAe,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EA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C5C,MAAM,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAA;IACzD,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAA;IAE9B,8BAA8B;IAC9B,IAAI,CAAC,aAAa,IAAI,CAAC,SAAS,EAAE,CAAC;QACjC,KAAK,CAAC,0DAA0D,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAA;QACxF,OAAM;IACR,CAAC;IAED,MAAM,YAAY,GAAG,eAAe,CAAC;QACnC,MAAM,EAAE,aAAa;QACrB,KAAK,EAAE,SAAS;KACA,CAAC,CAAA;IAEnB,KAAK,CAAC,QAAQ,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAA;IAEpD,QAAQ,YAAY,EAAE,CAAC;QACrB,KAAK,YAAY,CAAC,MAAM;YACtB,4CAA4C;YAC5C,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC;gBACb,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,GAAG;aACV,CAAC,CAAA;YACF,MAAK;QAEP,KAAK,YAAY,CAAC,MAAM,CAAC;QACzB,KAAK,YAAY,CAAC,MAAM;YACtB,4BAA4B;YAC5B,MAAM,CAAC,WAAW,CAAC,gBAAgB,CAAC,MAAO,CAAC,CAAA;YAC5C,4CAA4C;YAC5C,OAAO,EAAE,CAAA;IACb,CAAC;AACH,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../src/api/vite/plugins/build.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAOtC,eAAO,MAAM,KAAK,GAAI,QAAQ,MAAM,CAAC,MAAM,KAAG,IAAI,CAAC,MAAM,EA2GxD,CAAA"}
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../src/api/vite/plugins/build.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAMtC,eAAO,MAAM,KAAK,GAAI,QAAQ,MAAM,CAAC,MAAM,KAAG,IAAI,CAAC,MAAM,EA2GxD,CAAA"}