@hesed/webui 0.1.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/README.md +2 -2
  2. package/dist/commands/webui.d.ts +8 -0
  3. package/dist/commands/webui.js +12 -0
  4. package/dist/lib/introspect.js +23 -10
  5. package/dist/lib/server.d.ts +7 -1
  6. package/dist/lib/server.js +5 -3
  7. package/dist/web/BUILD_ID +1 -0
  8. package/{web/.next → dist/web}/app-path-routes-manifest.json +1 -0
  9. package/dist/web/build-manifest.json +20 -0
  10. package/dist/web/cache/.previewinfo +1 -0
  11. package/dist/web/cache/.rscinfo +1 -0
  12. package/dist/web/cache/.tsbuildinfo +1 -0
  13. package/dist/web/cache/config.json +7 -0
  14. package/dist/web/diagnostics/framework.json +1 -0
  15. package/dist/web/diagnostics/route-bundle-stats.json +27 -0
  16. package/dist/web/fallback-build-manifest.json +13 -0
  17. package/{web/.next → dist/web}/images-manifest.json +13 -3
  18. package/dist/web/next-minimal-server.js.nft.json +1 -0
  19. package/dist/web/next-server.js.nft.json +1 -0
  20. package/{web/.next → dist/web}/prerender-manifest.json +27 -3
  21. package/dist/web/required-server-files.js +333 -0
  22. package/{web/.next → dist/web}/required-server-files.json +103 -90
  23. package/{web/.next → dist/web}/routes-manifest.json +12 -2
  24. package/dist/web/server/app/_global-error/page/app-paths-manifest.json +3 -0
  25. package/dist/web/server/app/_global-error/page/build-manifest.json +16 -0
  26. package/dist/web/server/app/_global-error/page/next-font-manifest.json +6 -0
  27. package/dist/web/server/app/_global-error/page/server-reference-manifest.json +4 -0
  28. package/dist/web/server/app/_global-error/page.js +9 -0
  29. package/dist/web/server/app/_global-error/page.js.map +5 -0
  30. package/dist/web/server/app/_global-error/page.js.nft.json +1 -0
  31. package/dist/web/server/app/_global-error/page_client-reference-manifest.js +3 -0
  32. package/dist/web/server/app/_global-error.html +1 -0
  33. package/dist/web/server/app/_global-error.meta +15 -0
  34. package/dist/web/server/app/_global-error.rsc +14 -0
  35. package/dist/web/server/app/_global-error.segments/__PAGE__.segment.rsc +5 -0
  36. package/dist/web/server/app/_global-error.segments/_full.segment.rsc +14 -0
  37. package/dist/web/server/app/_global-error.segments/_head.segment.rsc +5 -0
  38. package/dist/web/server/app/_global-error.segments/_index.segment.rsc +5 -0
  39. package/dist/web/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  40. package/dist/web/server/app/_not-found/page/app-paths-manifest.json +3 -0
  41. package/dist/web/server/app/_not-found/page/build-manifest.json +16 -0
  42. package/dist/web/server/app/_not-found/page/next-font-manifest.json +6 -0
  43. package/dist/web/server/app/_not-found/page/server-reference-manifest.json +4 -0
  44. package/dist/web/server/app/_not-found/page.js +12 -0
  45. package/dist/web/server/app/_not-found/page.js.map +5 -0
  46. package/dist/web/server/app/_not-found/page.js.nft.json +1 -0
  47. package/dist/web/server/app/_not-found/page_client-reference-manifest.js +3 -0
  48. package/dist/web/server/app/_not-found.html +1 -0
  49. package/{web/.next → dist/web}/server/app/_not-found.meta +9 -1
  50. package/dist/web/server/app/_not-found.rsc +16 -0
  51. package/dist/web/server/app/_not-found.segments/_full.segment.rsc +16 -0
  52. package/dist/web/server/app/_not-found.segments/_head.segment.rsc +5 -0
  53. package/dist/web/server/app/_not-found.segments/_index.segment.rsc +6 -0
  54. package/dist/web/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
  55. package/dist/web/server/app/_not-found.segments/_not-found.segment.rsc +5 -0
  56. package/dist/web/server/app/_not-found.segments/_tree.segment.rsc +2 -0
  57. package/dist/web/server/app/index.html +1 -0
  58. package/dist/web/server/app/index.meta +14 -0
  59. package/dist/web/server/app/index.rsc +18 -0
  60. package/dist/web/server/app/index.segments/__PAGE__.segment.rsc +9 -0
  61. package/dist/web/server/app/index.segments/_full.segment.rsc +18 -0
  62. package/dist/web/server/app/index.segments/_head.segment.rsc +5 -0
  63. package/dist/web/server/app/index.segments/_index.segment.rsc +6 -0
  64. package/dist/web/server/app/index.segments/_tree.segment.rsc +2 -0
  65. package/dist/web/server/app/page/app-paths-manifest.json +3 -0
  66. package/dist/web/server/app/page/build-manifest.json +16 -0
  67. package/dist/web/server/app/page/next-font-manifest.json +6 -0
  68. package/dist/web/server/app/page/react-loadable-manifest.json +1 -0
  69. package/dist/web/server/app/page/server-reference-manifest.json +4 -0
  70. package/dist/web/server/app/page.js +13 -0
  71. package/dist/web/server/app/page.js.map +5 -0
  72. package/dist/web/server/app/page.js.nft.json +1 -0
  73. package/dist/web/server/app/page_client-reference-manifest.js +3 -0
  74. package/{web/.next → dist/web}/server/app-paths-manifest.json +1 -0
  75. package/dist/web/server/chunks/ssr/[root-of-the-server]__0100oqz._.js +19 -0
  76. package/dist/web/server/chunks/ssr/[root-of-the-server]__0100oqz._.js.map +1 -0
  77. package/dist/web/server/chunks/ssr/[root-of-the-server]__03bqxv9._.js +33 -0
  78. package/dist/web/server/chunks/ssr/[root-of-the-server]__03bqxv9._.js.map +1 -0
  79. package/dist/web/server/chunks/ssr/[root-of-the-server]__10hrvcf._.js +3 -0
  80. package/dist/web/server/chunks/ssr/[root-of-the-server]__10hrvcf._.js.map +1 -0
  81. package/dist/web/server/chunks/ssr/[root-of-the-server]__10riywf._.js +3 -0
  82. package/dist/web/server/chunks/ssr/[root-of-the-server]__10riywf._.js.map +1 -0
  83. package/dist/web/server/chunks/ssr/[root-of-the-server]__17sw5v1._.js +3 -0
  84. package/dist/web/server/chunks/ssr/[root-of-the-server]__17sw5v1._.js.map +1 -0
  85. package/dist/web/server/chunks/ssr/[root-of-the-server]__1my83lt._.js +33 -0
  86. package/dist/web/server/chunks/ssr/[root-of-the-server]__1my83lt._.js.map +1 -0
  87. package/dist/web/server/chunks/ssr/[root-of-the-server]__1ujipwi._.js +3 -0
  88. package/dist/web/server/chunks/ssr/[root-of-the-server]__1ujipwi._.js.map +1 -0
  89. package/dist/web/server/chunks/ssr/[turbopack]_runtime.js +903 -0
  90. package/dist/web/server/chunks/ssr/[turbopack]_runtime.js.map +11 -0
  91. package/dist/web/server/chunks/ssr/node_modules_0h91jdk._.js +33 -0
  92. package/dist/web/server/chunks/ssr/node_modules_0h91jdk._.js.map +1 -0
  93. package/dist/web/server/chunks/ssr/node_modules_next_dist_1vgd_ru._.js +6 -0
  94. package/dist/web/server/chunks/ssr/node_modules_next_dist_1vgd_ru._.js.map +1 -0
  95. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js +3 -0
  96. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js.map +1 -0
  97. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js +3 -0
  98. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js.map +1 -0
  99. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0-o-goa.js +3 -0
  100. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0-o-goa.js.map +1 -0
  101. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js +3 -0
  102. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js.map +1 -0
  103. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13nn6g7.js +4 -0
  104. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13nn6g7.js.map +1 -0
  105. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z.js +4 -0
  106. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z.js.map +1 -0
  107. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1o7-715.js +4 -0
  108. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1o7-715.js.map +1 -0
  109. package/dist/web/server/chunks/ssr/web_0iag39l._.js +3 -0
  110. package/dist/web/server/chunks/ssr/web_0iag39l._.js.map +1 -0
  111. package/dist/web/server/chunks/ssr/web__next-internal_server_app__global-error_page_actions_0crg1np.js +3 -0
  112. package/dist/web/server/chunks/ssr/web__next-internal_server_app__global-error_page_actions_0crg1np.js.map +1 -0
  113. package/dist/web/server/chunks/ssr/web__next-internal_server_app__not-found_page_actions_19z2-pv.js +3 -0
  114. package/dist/web/server/chunks/ssr/web__next-internal_server_app__not-found_page_actions_19z2-pv.js.map +1 -0
  115. package/dist/web/server/chunks/ssr/web__next-internal_server_app_page_actions_1xcff7h.js +3 -0
  116. package/dist/web/server/chunks/ssr/web__next-internal_server_app_page_actions_1xcff7h.js.map +1 -0
  117. package/dist/web/server/chunks/ssr/web_app_page_tsx_1-p0-hs._.js +3 -0
  118. package/dist/web/server/chunks/ssr/web_app_page_tsx_1-p0-hs._.js.map +1 -0
  119. package/dist/web/server/middleware-build-manifest.js +20 -0
  120. package/dist/web/server/middleware-manifest.json +6 -0
  121. package/dist/web/server/next-font-manifest.js +1 -0
  122. package/dist/web/server/next-font-manifest.json +6 -0
  123. package/dist/web/server/pages/404.html +1 -0
  124. package/dist/web/server/pages/500.html +1 -0
  125. package/dist/web/server/pages-manifest.json +4 -0
  126. package/dist/web/server/prefetch-hints.json +1 -0
  127. package/dist/web/server/server-reference-manifest.js +1 -0
  128. package/dist/web/server/server-reference-manifest.json +5 -0
  129. package/dist/web/static/PDMigBNKG7RenqXyfgiNr/_buildManifest.js +11 -0
  130. package/dist/web/static/PDMigBNKG7RenqXyfgiNr/_clientMiddlewareManifest.js +1 -0
  131. package/dist/web/static/chunks/0atut6a2uuyid.js +5 -0
  132. package/dist/web/static/chunks/158myu8e_yme3.js +1 -0
  133. package/dist/web/static/chunks/1_v5h-yjbgzno.js +1 -0
  134. package/dist/web/static/chunks/1bnss_1e9svpl.css +1 -0
  135. package/dist/web/static/chunks/1jq4o6yq14o4c.js +31 -0
  136. package/dist/web/static/chunks/28o7f8wux_ygy.js +1 -0
  137. package/dist/web/static/chunks/2nykiepra7i1k.js +1 -0
  138. package/dist/web/static/chunks/turbopack-3i0d1wb0b07u8.js +1 -0
  139. package/dist/web/trace +1 -0
  140. package/dist/web/trace-build +1 -0
  141. package/dist/web/turbopack +0 -0
  142. package/{web/.next → dist/web}/types/cache-life.d.ts +21 -17
  143. package/{web/.next → dist/web}/types/validator.ts +4 -4
  144. package/oclif.manifest.json +1 -1
  145. package/package.json +5 -10
  146. package/web/next.config.mjs +11 -6
  147. package/web/.next/BUILD_ID +0 -1
  148. package/web/.next/app-build-manifest.json +0 -26
  149. package/web/.next/build-manifest.json +0 -33
  150. package/web/.next/cache/.previewinfo +0 -1
  151. package/web/.next/cache/.rscinfo +0 -1
  152. package/web/.next/cache/.tsbuildinfo +0 -1
  153. package/web/.next/cache/eslint/.cache_1ki824o +0 -1
  154. package/web/.next/cache/webpack/client-development/0.pack.gz +0 -0
  155. package/web/.next/cache/webpack/client-development/1.pack.gz +0 -0
  156. package/web/.next/cache/webpack/client-development/index.pack.gz +0 -0
  157. package/web/.next/cache/webpack/client-development/index.pack.gz.old +0 -0
  158. package/web/.next/cache/webpack/client-production/0.pack +0 -0
  159. package/web/.next/cache/webpack/client-production/1.pack +0 -0
  160. package/web/.next/cache/webpack/client-production/2.pack +0 -0
  161. package/web/.next/cache/webpack/client-production/3.pack +0 -0
  162. package/web/.next/cache/webpack/client-production/index.pack +0 -0
  163. package/web/.next/cache/webpack/client-production/index.pack.old +0 -0
  164. package/web/.next/cache/webpack/edge-server-production/0.pack +0 -0
  165. package/web/.next/cache/webpack/edge-server-production/index.pack +0 -0
  166. package/web/.next/cache/webpack/server-development/0.pack.gz +0 -0
  167. package/web/.next/cache/webpack/server-development/index.pack.gz +0 -0
  168. package/web/.next/cache/webpack/server-production/0.pack +0 -0
  169. package/web/.next/cache/webpack/server-production/1.pack +0 -0
  170. package/web/.next/cache/webpack/server-production/index.pack +0 -0
  171. package/web/.next/cache/webpack/server-production/index.pack.old +0 -0
  172. package/web/.next/diagnostics/framework.json +0 -1
  173. package/web/.next/next-minimal-server.js.nft.json +0 -1
  174. package/web/.next/next-server.js.nft.json +0 -1
  175. package/web/.next/server/app/_not-found/page.js +0 -2
  176. package/web/.next/server/app/_not-found/page.js.nft.json +0 -1
  177. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +0 -1
  178. package/web/.next/server/app/_not-found.html +0 -1
  179. package/web/.next/server/app/_not-found.rsc +0 -16
  180. package/web/.next/server/app/index.html +0 -1
  181. package/web/.next/server/app/index.meta +0 -7
  182. package/web/.next/server/app/index.rsc +0 -20
  183. package/web/.next/server/app/page.js +0 -2
  184. package/web/.next/server/app/page.js.nft.json +0 -1
  185. package/web/.next/server/app/page_client-reference-manifest.js +0 -1
  186. package/web/.next/server/chunks/157.js +0 -6
  187. package/web/.next/server/chunks/799.js +0 -30
  188. package/web/.next/server/middleware-build-manifest.js +0 -1
  189. package/web/.next/server/middleware-manifest.json +0 -6
  190. package/web/.next/server/middleware-react-loadable-manifest.js +0 -1
  191. package/web/.next/server/next-font-manifest.js +0 -1
  192. package/web/.next/server/next-font-manifest.json +0 -1
  193. package/web/.next/server/pages/404.html +0 -1
  194. package/web/.next/server/pages/500.html +0 -1
  195. package/web/.next/server/pages/_app.js +0 -1
  196. package/web/.next/server/pages/_app.js.nft.json +0 -1
  197. package/web/.next/server/pages/_document.js +0 -1
  198. package/web/.next/server/pages/_document.js.nft.json +0 -1
  199. package/web/.next/server/pages/_error.js +0 -19
  200. package/web/.next/server/pages/_error.js.nft.json +0 -1
  201. package/web/.next/server/pages-manifest.json +0 -6
  202. package/web/.next/server/server-reference-manifest.js +0 -1
  203. package/web/.next/server/server-reference-manifest.json +0 -1
  204. package/web/.next/server/webpack-runtime.js +0 -1
  205. package/web/.next/static/LEwu5WvMMaoVEbVj3-KGq/_buildManifest.js +0 -1
  206. package/web/.next/static/chunks/131-a68a87dd22cef82b.js +0 -1
  207. package/web/.next/static/chunks/app/_not-found/page-784ddbf5f1a9343a.js +0 -1
  208. package/web/.next/static/chunks/app/layout-4e0fe443358078fc.js +0 -1
  209. package/web/.next/static/chunks/app/page-d098bd39f1fcec43.js +0 -1
  210. package/web/.next/static/chunks/c7879cf7-b5ab1053c1d9a2e7.js +0 -1
  211. package/web/.next/static/chunks/framework-1934959d81242241.js +0 -1
  212. package/web/.next/static/chunks/main-a8814cf406d931cd.js +0 -1
  213. package/web/.next/static/chunks/main-app-a3b742ef05fa17a3.js +0 -1
  214. package/web/.next/static/chunks/pages/_app-930c2e1cfe9b86bc.js +0 -1
  215. package/web/.next/static/chunks/pages/_error-2a950c2742f550d2.js +0 -1
  216. package/web/.next/static/chunks/webpack-3046868c425865e4.js +0 -1
  217. package/web/.next/static/css/48007c73fe98a161.css +0 -1
  218. package/web/.next/trace +0 -2
  219. package/web/.next/types/app/layout.ts +0 -84
  220. package/web/.next/types/app/page.ts +0 -84
  221. package/web/.next/types/package.json +0 -1
  222. package/web/app/globals.css +0 -339
  223. package/web/app/layout.tsx +0 -20
  224. package/web/app/page.tsx +0 -57
  225. package/web/components/command-detail.tsx +0 -160
  226. package/web/components/command-list.tsx +0 -67
  227. package/web/components/theme-provider.tsx +0 -12
  228. package/web/components/theme-toggle.tsx +0 -62
  229. package/web/lib/types.ts +0 -77
  230. package/web/tsconfig.json +0 -23
  231. /package/{web/.next → dist/web}/diagnostics/build-diagnostics.json +0 -0
  232. /package/{web/.next → dist/web}/export-marker.json +0 -0
  233. /package/{web/.next → dist/web}/package.json +0 -0
  234. /package/{web/.next → dist/web/server/app/_global-error/page}/react-loadable-manifest.json +0 -0
  235. /package/{web/.next/cache/next-devtools-config.json → dist/web/server/app/_not-found/page/react-loadable-manifest.json} +0 -0
  236. /package/{web/.next → dist/web}/server/functions-config-manifest.json +0 -0
  237. /package/{web/.next → dist/web}/server/interception-route-rewrite-manifest.js +0 -0
  238. /package/{web/.next/static/LEwu5WvMMaoVEbVj3-KGq → dist/web/static/PDMigBNKG7RenqXyfgiNr}/_ssgManifest.js +0 -0
  239. /package/{web/.next/static/chunks/polyfills-42372ed130431b0a.js → dist/web/static/chunks/0cz1d0mv5g_q7.js} +0 -0
  240. /package/{web/.next → dist/web}/types/routes.d.ts +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/1jq4o6yq14o4c.js","static/chunks/0atut6a2uuyid.js","static/chunks/2nykiepra7i1k.js"],runtimeModuleIds:[94553]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=function(){if(null!=self.TURBOPACK_ASSET_SUFFIX)return self.TURBOPACK_ASSET_SUFFIX;let e=document?.currentScript?.getAttribute?.("src")??"",t=e.indexOf("?");return t>=0?e.slice(t):""}(),n=["NEXT_DEPLOYMENT_ID","NEXT_CLIENT_ASSET_SUFFIX"];var o,i=((o=i||{})[o.Runtime=0]="Runtime",o[o.Parent=1]="Parent",o[o.Update=2]="Update",o);let l=new WeakMap;function u(e,t){this.m=e,this.e=t}let s=u.prototype,a=Object.prototype.hasOwnProperty,c="u">typeof Symbol&&Symbol.toStringTag;function f(e,t,r){a.call(e,t)||Object.defineProperty(e,t,r)}function p(e,t){let r=e[t];return r||(r=h(t),e[t]=r),r}function h(e){return{exports:{},error:void 0,id:e,namespaceObject:void 0}}function d(e,t){f(e,"__esModule",{value:!0}),c&&f(e,c,{value:"Module"});let r=0;for(;r<t.length;){let n=t[r++],o=t[r++];if("number"==typeof o)if(0===o)f(e,n,{value:t[r++],enumerable:!0,writable:!1});else throw Error(`unexpected tag: ${o}`);else"function"==typeof t[r]?f(e,n,{get:o,set:t[r++],enumerable:!0}):f(e,n,{get:o,enumerable:!0})}Object.seal(e)}function m(e,t){(null!=t?p(this.c,t):this.m).exports=e}s.s=function(e,t){let r,n;null!=t?n=(r=p(this.c,t)).exports:(r=this.m,n=this.e),r.namespaceObject=n,d(n,e)},s.j=function(e,t){var r,n;let o,i,u;null!=t?i=(o=p(this.c,t)).exports:(o=this.m,i=this.e);let s=(r=o,n=i,(u=l.get(r))||(l.set(r,u=[]),r.exports=r.namespaceObject=new Proxy(n,{get(e,t){if(a.call(e,t)||"default"===t||"__esModule"===t)return Reflect.get(e,t);for(let e of u){let r=Reflect.get(e,t);if(void 0!==r)return r}},ownKeys(e){let t=Reflect.ownKeys(e);for(let e of u)for(let r of Reflect.ownKeys(e))"default"===r||t.includes(r)||t.push(r);return t}})),u);"object"==typeof e&&null!==e&&s.push(e)},s.v=m,s.n=function(e,t){let r;(r=null!=t?p(this.c,t):this.m).exports=r.namespaceObject=e};let b=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,y=[null,b({}),b([]),b(b)];function g(e,t,r){let n=[],o=-1;for(let t=e;("object"==typeof t||"function"==typeof t)&&!y.includes(t);t=b(t))for(let r of Object.getOwnPropertyNames(t))n.push(r,function(e,t){return()=>e[t]}(e,r)),-1===o&&"default"===r&&(o=n.length-1);return r&&o>=0||(o>=0?n.splice(o,1,0,e):n.push("default",0,e)),d(t,n),t}function O(e){let t=B(e,this.m);if(t.namespaceObject)return t.namespaceObject;let r=t.exports;return t.namespaceObject=g(r,"function"==typeof r?function(...e){return r.apply(this,e)}:Object.create(null),r&&r.__esModule)}function w(e){let t=e.indexOf("#");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("?");return -1!==r&&(e=e.substring(0,r)),e}function k(){let e,t;return{promise:new Promise((r,n)=>{t=n,e=r}),resolve:e,reject:t}}s.i=O,s.A=function(e){return this.r(e)(O.bind(this))},s.t="function"==typeof require?require:function(){throw Error("Unexpected use of runtime require")},s.r=function(e){return B(e,this.m).exports},s.f=function(e){function t(t){if(t=w(t),a.call(e,t))return e[t].module();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r}return t.keys=()=>Object.keys(e),t.resolve=t=>{if(t=w(t),a.call(e,t))return e[t].id();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r},t.import=async e=>await t(e),t};let j=Symbol("turbopack queues"),U=Symbol("turbopack exports"),C=Symbol("turbopack error");function P(e){e&&1!==e.status&&(e.status=1,e.forEach(e=>e.queueCount--),e.forEach(e=>e.queueCount--?e.queueCount++:e()))}s.a=function(e,t){let r=this.m,n=t?Object.assign([],{status:-1}):void 0,o=new Set,{resolve:i,reject:l,promise:u}=k(),s=Object.assign(u,{[U]:r.exports,[j]:e=>{n&&e(n),o.forEach(e),s.catch(()=>{})}}),a={get:()=>s,set(e){e!==s&&(s[U]=e)}};Object.defineProperty(r,"exports",a),Object.defineProperty(r,"namespaceObject",a),e(function(e){let t=e.map(e=>{if(null!==e&&"object"==typeof e){if(j in e)return e;if(null!=e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then){let t=Object.assign([],{status:0}),r={[U]:{},[j]:e=>e(t)};return e.then(e=>{r[U]=e,P(t)},e=>{r[C]=e,P(t)}),r}}return{[U]:e,[j]:()=>{}}}),r=()=>t.map(e=>{if(e[C])throw e[C];return e[U]}),{promise:i,resolve:l}=k(),u=Object.assign(()=>l(r),{queueCount:0});function s(e){e!==n&&!o.has(e)&&(o.add(e),e&&0===e.status&&(u.queueCount++,e.push(u)))}return t.map(e=>e[j](s)),u.queueCount?i:r()},function(e){e?l(s[C]=e):i(s[U]),P(n)}),n&&-1===n.status&&(n.status=0)};let v=function(e){let t=new URL(e,"x:/"),r={};for(let e in t)r[e]=t[e];for(let t in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=(...t)=>e,r)Object.defineProperty(this,t,{enumerable:!0,configurable:!0,value:r[t]})};function R(e,t){throw Error(`Invariant: ${t(e)}`)}v.prototype=URL.prototype,s.U=v,s.z=function(e){throw Error("dynamic usage of require is not supported")},s.g=globalThis;let S=u.prototype,$=new Map;s.M=$;let E=new Map,_=new Map;async function T(e,t,r){let n;if("string"==typeof r)return M(e,t,q(r));let o=r.included||[],i=o.map(e=>!!$.has(e)||E.get(e));if(i.length>0&&i.every(e=>e))return void await Promise.all(i);let l=r.moduleChunks||[],u=l.map(e=>_.get(e)).filter(e=>e);if(u.length>0){if(u.length===l.length)return void await Promise.all(u);let r=new Set;for(let e of l)_.has(e)||r.add(e);for(let n of r){let r=M(e,t,q(n));_.set(n,r),u.push(r)}n=Promise.all(u)}else{for(let o of(n=M(e,t,q(r.path)),l))_.has(o)||_.set(o,n)}for(let e of o)E.has(e)||E.set(e,n);await n}S.l=function(e){return T(i.Parent,this.m.id,e)};let A=Promise.resolve(void 0),x=new WeakMap;function M(t,r,n){let o=e.loadChunkCached(t,n),l=x.get(o);if(void 0===l){let e=x.set.bind(x,o,A);l=o.then(e).catch(e=>{let o;switch(t){case i.Runtime:o=`as a runtime dependency of chunk ${r}`;break;case i.Parent:o=`from module ${r}`;break;case i.Update:o="from an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}let l=Error(`Failed to load chunk ${n} ${o}${e?`: ${e}`:""}`,e?{cause:e}:void 0);throw l.name="ChunkLoadError",l}),x.set(o,l)}return l}function q(e){return`${t}${e.split("/").map(e=>encodeURIComponent(e)).join("/")}${r}`}S.L=function(e){return M(i.Parent,this.m.id,e)},S.R=function(e){let t=this.r(e);return t?.default??t},S.P=function(e){return`/ROOT/${e??""}`},S.q=function(e,t){m.call(this,`${e}${r}`,t)},S.b=function(e,t,o,i){let l="SharedWorker"===e.name,u=[o.map(e=>q(e)).reverse(),r];for(let e of n)u.push(globalThis[e]);let s=new URL(q(t),location.origin),a=JSON.stringify(u);return l?s.searchParams.set("params",a):s.hash="#params="+encodeURIComponent(a),new e(s,i?{...i,type:void 0}:void 0)};let N=/\.js(?:\?[^#]*)?(?:#.*)?$/,K=/\.css(?:\?[^#]*)?(?:#.*)?$/;function L(e){return K.test(e)}s.w=function(t,r,n){return e.loadWebAssembly(i.Parent,this.m.id,t,r,n)},s.u=function(t,r){return e.loadWebAssemblyModule(i.Parent,this.m.id,t,r)};let I={};s.c=I;let B=(e,t)=>{let r=I[e];if(r){if(r.error)throw r.error;return r}return W(e,i.Parent,t.id)};function W(e,t,r){let n=$.get(e);if("function"!=typeof n)throw Error(function(e,t,r){let n;switch(t){case 0:n=`as a runtime entry of chunk ${r}`;break;case 1:n=`because it was required from module ${r}`;break;case 2:n="because of an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}return`Module ${e} was instantiated ${n}, but the module factory is not available.`}(e,t,r));let o=h(e),i=o.exports;I[e]=o;let l=new u(o,i);try{n(l,o,i)}catch(e){throw o.error=e,e}return o.namespaceObject&&o.exports!==o.namespaceObject&&g(o.exports,o.namespaceObject),o}function F(t){let r,n=function(e){if("string"==typeof e)return e;if(e)return{src:e.getAttribute("src")};if("u">typeof TURBOPACK_NEXT_CHUNK_URLS)return{src:TURBOPACK_NEXT_CHUNK_URLS.pop()};throw Error("chunk path empty but not in a worker")}(t[0]);return 2===t.length?r=t[1]:(r=void 0,!function(e,t){let r=1;for(;r<e.length;){let n,o=r+1;for(;o<e.length&&"function"!=typeof e[o];)o++;if(o===e.length)throw Error("malformed chunk format, expected a factory function");let i=e[o];for(let i=r;i<o;i++){let r=e[i],o=t.get(r);if(o){n=o;break}}let l=n??i,u=!1;for(let n=r;n<o;n++){let r=e[n];t.has(r)||(u||(l===i&&Object.defineProperty(i,"name",{value:"module evaluation"}),u=!0),t.set(r,l))}r=o+1}}(t,$)),e.registerChunk(n,r)}let X=new Map;function D(e){let t=X.get(e);if(!t){let r,n;t={resolved:!1,loadingStarted:!1,promise:new Promise((e,t)=>{r=e,n=t}),resolve:()=>{t.resolved=!0,r()},reject:n},X.set(e,t)}return t}e={async registerChunk(e,r){let n=function(e){if("string"==typeof e)return e;let r=decodeURIComponent(e.src.replace(/[?#].*$/,""));return r.startsWith(t)?r.slice(t.length):r}(e);if(D("string"==typeof e?q(e):e.src).resolve(),null!=r){for(let e of r.otherChunks)D(q("string"==typeof e?e:e.path));if(await Promise.all(r.otherChunks.map(e=>T(i.Runtime,n,e))),r.runtimeModuleIds.length>0)for(let e of r.runtimeModuleIds)!function(e,t){let r=I[t];if(r){if(r.error)throw r.error;return}W(t,i.Runtime,e)}(n,e)}},loadChunkCached:(e,t)=>(function(e,t){let r=D(t);if(r.loadingStarted)return r.promise;if(e===i.Runtime)return r.loadingStarted=!0,L(t)&&r.resolve(),r.promise;if("function"==typeof importScripts)if(L(t));else if(N.test(t))self.TURBOPACK_NEXT_CHUNK_URLS.push(t),importScripts(t);else throw Error(`can't infer type of chunk from URL ${t} in worker`);else{let e=decodeURI(t);if(L(t))if(document.querySelectorAll(`link[rel=stylesheet][href="${t}"],link[rel=stylesheet][href^="${t}?"],link[rel=stylesheet][href="${e}"],link[rel=stylesheet][href^="${e}?"]`).length>0)r.resolve();else{let e=document.createElement("link");e.rel="stylesheet",e.href=t,e.onerror=()=>{r.reject()},e.onload=()=>{r.resolve()},document.head.appendChild(e)}else if(N.test(t)){let n=document.querySelectorAll(`script[src="${t}"],script[src^="${t}?"],script[src="${e}"],script[src^="${e}?"]`);if(n.length>0)for(let e of Array.from(n))e.addEventListener("error",()=>{r.reject()});else{let e=document.createElement("script");e.src=t,e.onerror=()=>{r.reject()},document.head.appendChild(e)}}else throw Error(`can't infer type of chunk from URL ${t}`)}return r.loadingStarted=!0,r.promise})(e,t),async loadWebAssembly(e,t,r,n,o){let i=fetch(q(r)),{instance:l}=await WebAssembly.instantiateStreaming(i,o);return l.exports},async loadWebAssemblyModule(e,t,r,n){let o=fetch(q(r));return await WebAssembly.compileStreaming(o)}};let H=globalThis.TURBOPACK;globalThis.TURBOPACK={push:F},H.forEach(F)})();
package/dist/web/trace ADDED
@@ -0,0 +1 @@
1
+ [{"name":"generate-buildid","duration":221,"timestamp":54397311,"id":4,"parentId":1,"tags":{},"startTime":1781957821851,"traceId":"d2843eda5043f4d3"},{"name":"load-custom-routes","duration":397,"timestamp":54397650,"id":5,"parentId":1,"tags":{},"startTime":1781957821852,"traceId":"d2843eda5043f4d3"},{"name":"create-dist-dir","duration":6432,"timestamp":54398075,"id":6,"parentId":1,"tags":{},"startTime":1781957821852,"traceId":"d2843eda5043f4d3"},{"name":"clean","duration":371,"timestamp":54405697,"id":7,"parentId":1,"tags":{},"startTime":1781957821860,"traceId":"d2843eda5043f4d3"},{"name":"discover-routes","duration":4035,"timestamp":54547083,"id":8,"parentId":1,"tags":{},"startTime":1781957822001,"traceId":"d2843eda5043f4d3"},{"name":"create-root-mapping","duration":102,"timestamp":54551169,"id":9,"parentId":1,"tags":{},"startTime":1781957822005,"traceId":"d2843eda5043f4d3"},{"name":"generate-route-types","duration":3567,"timestamp":54552379,"id":10,"parentId":1,"tags":{},"startTime":1781957822006,"traceId":"d2843eda5043f4d3"},{"name":"public-dir-conflict-check","duration":102,"timestamp":54556039,"id":11,"parentId":1,"tags":{},"startTime":1781957822010,"traceId":"d2843eda5043f4d3"},{"name":"generate-routes-manifest","duration":11653,"timestamp":54556252,"id":12,"parentId":1,"tags":{},"startTime":1781957822010,"traceId":"d2843eda5043f4d3"},{"name":"run-turbopack","duration":2240339,"timestamp":54586284,"id":14,"parentId":1,"tags":{},"startTime":1781957822040,"traceId":"d2843eda5043f4d3"},{"name":"turbopack-build-events","duration":59,"timestamp":54791755,"id":15,"parentId":1,"tags":{},"startTime":1781957822246,"traceId":"d2843eda5043f4d3"},{"name":"run-typescript","duration":1873924,"timestamp":56833865,"id":16,"parentId":1,"tags":{},"startTime":1781957824288,"traceId":"d2843eda5043f4d3"},{"name":"generate-required-server-files","duration":874,"timestamp":58708341,"id":18,"parentId":1,"tags":{},"startTime":1781957826162,"traceId":"d2843eda5043f4d3"},{"name":"check-static-error-page","duration":2616,"timestamp":58730341,"id":20,"parentId":19,"tags":{},"startTime":1781957826184,"traceId":"d2843eda5043f4d3"},{"name":"is-page-static","duration":270804,"timestamp":58735242,"id":25,"parentId":22,"tags":{},"startTime":1781957826189,"traceId":"d2843eda5043f4d3"},{"name":"check-page","duration":273493,"timestamp":58732645,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1781957826187,"traceId":"d2843eda5043f4d3"},{"name":"is-page-static","duration":282952,"timestamp":58735047,"id":24,"parentId":21,"tags":{},"startTime":1781957826189,"traceId":"d2843eda5043f4d3"},{"name":"check-page","duration":286921,"timestamp":58731155,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1781957826185,"traceId":"d2843eda5043f4d3"},{"name":"is-page-static","duration":333591,"timestamp":58737320,"id":26,"parentId":23,"tags":{},"startTime":1781957826191,"traceId":"d2843eda5043f4d3"},{"name":"check-page","duration":338097,"timestamp":58732867,"id":23,"parentId":19,"tags":{"page":"/"},"startTime":1781957826187,"traceId":"d2843eda5043f4d3"},{"name":"static-check","duration":341376,"timestamp":58729618,"id":19,"parentId":1,"tags":{},"startTime":1781957826183,"traceId":"d2843eda5043f4d3"},{"name":"write-routes-manifest","duration":262,"timestamp":59071596,"id":28,"parentId":1,"tags":{},"startTime":1781957826525,"traceId":"d2843eda5043f4d3"},{"name":"load-dotenv","duration":28,"timestamp":59080094,"id":31,"parentId":30,"tags":{},"startTime":1781957826534,"traceId":"d2843eda5043f4d3"},{"name":"run-export-path-map","duration":404,"timestamp":59081850,"id":32,"parentId":30,"tags":{},"startTime":1781957826536,"traceId":"d2843eda5043f4d3"},{"name":"next-export","duration":115583,"timestamp":59079208,"id":30,"parentId":1,"tags":{},"startTime":1781957826533,"traceId":"d2843eda5043f4d3"},{"name":"move-exported-app-not-found-","duration":383,"timestamp":59195897,"id":33,"parentId":29,"tags":{},"startTime":1781957826650,"traceId":"d2843eda5043f4d3"},{"name":"move-exported-app-global-error-","duration":351,"timestamp":59196341,"id":34,"parentId":29,"tags":{},"startTime":1781957826650,"traceId":"d2843eda5043f4d3"},{"name":"static-generation","duration":124403,"timestamp":59073691,"id":29,"parentId":1,"tags":{},"startTime":1781957826528,"traceId":"d2843eda5043f4d3"},{"name":"write-routes-manifest","duration":242,"timestamp":59198168,"id":35,"parentId":1,"tags":{},"startTime":1781957826652,"traceId":"d2843eda5043f4d3"},{"name":"print-tree-view","duration":1662,"timestamp":59207154,"id":36,"parentId":1,"tags":{},"startTime":1781957826661,"traceId":"d2843eda5043f4d3"},{"name":"write-route-bundle-stats","duration":2223,"timestamp":59208830,"id":37,"parentId":1,"tags":{},"startTime":1781957826663,"traceId":"d2843eda5043f4d3"},{"name":"telemetry-flush","duration":488265,"timestamp":59211063,"id":38,"parentId":1,"tags":{},"startTime":1781957826665,"traceId":"d2843eda5043f4d3"},{"name":"next-build","duration":5357671,"timestamp":54341690,"id":1,"tags":{"buildMode":"default","version":"16.2.9","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1781957821796,"traceId":"d2843eda5043f4d3"}]
@@ -0,0 +1 @@
1
+ [{"name":"run-turbopack","duration":2240339,"timestamp":54586284,"id":14,"parentId":1,"tags":{},"startTime":1781957822040,"traceId":"d2843eda5043f4d3"},{"name":"turbopack-build-events","duration":59,"timestamp":54791755,"id":15,"parentId":1,"tags":{},"startTime":1781957822246,"traceId":"d2843eda5043f4d3"},{"name":"run-typescript","duration":1873924,"timestamp":56833865,"id":16,"parentId":1,"tags":{},"startTime":1781957824288,"traceId":"d2843eda5043f4d3"},{"name":"static-check","duration":341376,"timestamp":58729618,"id":19,"parentId":1,"tags":{},"startTime":1781957826183,"traceId":"d2843eda5043f4d3"},{"name":"static-generation","duration":124403,"timestamp":59073691,"id":29,"parentId":1,"tags":{},"startTime":1781957826528,"traceId":"d2843eda5043f4d3"},{"name":"telemetry-flush","duration":488265,"timestamp":59211063,"id":38,"parentId":1,"tags":{},"startTime":1781957826665,"traceId":"d2843eda5043f4d3"},{"name":"next-build","duration":5357671,"timestamp":54341690,"id":1,"tags":{"buildMode":"default","version":"16.2.9","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1781957821796,"traceId":"d2843eda5043f4d3"}]
File without changes
@@ -3,10 +3,10 @@
3
3
  declare module 'next/cache' {
4
4
  export { unstable_cache } from 'next/dist/server/web/spec-extension/unstable-cache'
5
5
  export {
6
+ updateTag,
6
7
  revalidateTag,
7
8
  revalidatePath,
8
- unstable_expireTag,
9
- unstable_expirePath,
9
+ refresh,
10
10
  } from 'next/dist/server/web/spec-extension/revalidate'
11
11
  export { unstable_noStore } from 'next/dist/server/web/spec-extension/unstable-no-store'
12
12
 
@@ -23,7 +23,7 @@ declare module 'next/cache' {
23
23
  * If the server receives a new request after 15 minutes, start revalidating new values in the background.
24
24
  * It lives for the maximum age of the server cache. If this entry has no traffic for a while, it may serve an old value the next request.
25
25
  */
26
- export function unstable_cacheLife(profile: "default"): void
26
+ export function cacheLife(profile: "default"): void
27
27
 
28
28
  /**
29
29
  * Cache this `"use cache"` for a timespan defined by the `"seconds"` profile.
@@ -37,7 +37,7 @@ declare module 'next/cache' {
37
37
  * If the server receives a new request after 1 seconds, start revalidating new values in the background.
38
38
  * If this entry has no traffic for 1 minute it will expire. The next request will recompute it.
39
39
  */
40
- export function unstable_cacheLife(profile: "seconds"): void
40
+ export function cacheLife(profile: "seconds"): void
41
41
 
42
42
  /**
43
43
  * Cache this `"use cache"` for a timespan defined by the `"minutes"` profile.
@@ -51,7 +51,7 @@ declare module 'next/cache' {
51
51
  * If the server receives a new request after 1 minute, start revalidating new values in the background.
52
52
  * If this entry has no traffic for 1 hour it will expire. The next request will recompute it.
53
53
  */
54
- export function unstable_cacheLife(profile: "minutes"): void
54
+ export function cacheLife(profile: "minutes"): void
55
55
 
56
56
  /**
57
57
  * Cache this `"use cache"` for a timespan defined by the `"hours"` profile.
@@ -65,7 +65,7 @@ declare module 'next/cache' {
65
65
  * If the server receives a new request after 1 hour, start revalidating new values in the background.
66
66
  * If this entry has no traffic for 1 day it will expire. The next request will recompute it.
67
67
  */
68
- export function unstable_cacheLife(profile: "hours"): void
68
+ export function cacheLife(profile: "hours"): void
69
69
 
70
70
  /**
71
71
  * Cache this `"use cache"` for a timespan defined by the `"days"` profile.
@@ -79,35 +79,35 @@ declare module 'next/cache' {
79
79
  * If the server receives a new request after 1 day, start revalidating new values in the background.
80
80
  * If this entry has no traffic for 1 week it will expire. The next request will recompute it.
81
81
  */
82
- export function unstable_cacheLife(profile: "days"): void
82
+ export function cacheLife(profile: "days"): void
83
83
 
84
84
  /**
85
85
  * Cache this `"use cache"` for a timespan defined by the `"weeks"` profile.
86
86
  * ```
87
87
  * stale: 300 seconds (5 minutes)
88
88
  * revalidate: 604800 seconds (1 week)
89
- * expire: 2592000 seconds (30 days)
89
+ * expire: 2592000 seconds (1 month)
90
90
  * ```
91
91
  *
92
92
  * This cache may be stale on clients for 5 minutes before checking with the server.
93
93
  * If the server receives a new request after 1 week, start revalidating new values in the background.
94
- * If this entry has no traffic for 30 days it will expire. The next request will recompute it.
94
+ * If this entry has no traffic for 1 month it will expire. The next request will recompute it.
95
95
  */
96
- export function unstable_cacheLife(profile: "weeks"): void
96
+ export function cacheLife(profile: "weeks"): void
97
97
 
98
98
  /**
99
99
  * Cache this `"use cache"` for a timespan defined by the `"max"` profile.
100
100
  * ```
101
101
  * stale: 300 seconds (5 minutes)
102
- * revalidate: 2592000 seconds (30 days)
103
- * expire: never
102
+ * revalidate: 2592000 seconds (1 month)
103
+ * expire: 31536000 seconds (365 days)
104
104
  * ```
105
105
  *
106
106
  * This cache may be stale on clients for 5 minutes before checking with the server.
107
- * If the server receives a new request after 30 days, start revalidating new values in the background.
108
- * It lives for the maximum age of the server cache. If this entry has no traffic for a while, it may serve an old value the next request.
107
+ * If the server receives a new request after 1 month, start revalidating new values in the background.
108
+ * If this entry has no traffic for 365 days it will expire. The next request will recompute it.
109
109
  */
110
- export function unstable_cacheLife(profile: "max"): void
110
+ export function cacheLife(profile: "max"): void
111
111
 
112
112
  /**
113
113
  * Cache this `"use cache"` using a custom timespan.
@@ -121,7 +121,7 @@ declare module 'next/cache' {
121
121
  *
122
122
  * If a value is left out, the lowest of other cacheLife() calls or the default, is used instead.
123
123
  */
124
- export function unstable_cacheLife(profile: {
124
+ export function cacheLife(profile: {
125
125
  /**
126
126
  * This cache may be stale on clients for ... seconds before checking with the server.
127
127
  */
@@ -137,5 +137,9 @@ declare module 'next/cache' {
137
137
  }): void
138
138
 
139
139
 
140
- export { cacheTag as unstable_cacheTag } from 'next/dist/server/use-cache/cache-tag'
140
+ import { cacheTag } from 'next/dist/server/use-cache/cache-tag'
141
+ export { cacheTag }
142
+
143
+ export const unstable_cacheTag: typeof cacheTag
144
+ export const unstable_cacheLife: typeof cacheLife
141
145
  }
@@ -36,10 +36,10 @@ type LayoutConfig<Route extends LayoutRoutes = LayoutRoutes> = {
36
36
  }
37
37
 
38
38
 
39
- // Validate ../../app/page.tsx
39
+ // Validate ../../../web/app/page.tsx
40
40
  {
41
41
  type __IsExpected<Specific extends AppPageConfig<"/">> = Specific
42
- const handler = {} as typeof import("../../app/page.js")
42
+ const handler = {} as typeof import("../../../web/app/page.js")
43
43
  type __Check = __IsExpected<typeof handler>
44
44
  // @ts-ignore
45
45
  type __Unused = __Check
@@ -51,10 +51,10 @@ type LayoutConfig<Route extends LayoutRoutes = LayoutRoutes> = {
51
51
 
52
52
 
53
53
 
54
- // Validate ../../app/layout.tsx
54
+ // Validate ../../../web/app/layout.tsx
55
55
  {
56
56
  type __IsExpected<Specific extends LayoutConfig<"/">> = Specific
57
- const handler = {} as typeof import("../../app/layout.js")
57
+ const handler = {} as typeof import("../../../web/app/layout.js")
58
58
  type __Check = __IsExpected<typeof handler>
59
59
  // @ts-ignore
60
60
  type __Unused = __Check
@@ -50,5 +50,5 @@
50
50
  ]
51
51
  }
52
52
  },
53
- "version": "0.1.0"
53
+ "version": "0.2.2"
54
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hesed/webui",
3
- "version": "0.1.0",
3
+ "version": "0.2.2",
4
4
  "description": "Web UI to browse and execute commands",
5
5
  "author": "Hesed",
6
6
  "bin": {
@@ -9,7 +9,7 @@
9
9
  "bugs": "https://github.com/hesedcasa/webui/issues",
10
10
  "dependencies": {
11
11
  "@oclif/core": ">=4",
12
- "next": "^15.5.0",
12
+ "next": "^16.2.9",
13
13
  "next-themes": "^0.4.6",
14
14
  "react": "^19.0.0",
15
15
  "react-dom": "^19.0.0"
@@ -45,13 +45,7 @@
45
45
  "./bin",
46
46
  "./dist",
47
47
  "./oclif.manifest.json",
48
- "./web/app",
49
- "./web/components",
50
- "./web/lib",
51
- "./web/public",
52
- "./web/next.config.mjs",
53
- "./web/tsconfig.json",
54
- "./web/.next"
48
+ "./web/next.config.mjs"
55
49
  ],
56
50
  "homepage": "https://github.com/hesedcasa/webui",
57
51
  "keywords": [
@@ -73,10 +67,11 @@
73
67
  "repository": "hesedcasa/webui",
74
68
  "scripts": {
75
69
  "build": "shx rm -rf dist tsconfig.tsbuildinfo && tsc -b",
70
+ "build:web": "next build web",
76
71
  "lint": "eslint",
77
72
  "postpack": "shx rm -f oclif.manifest.json",
78
73
  "posttest": "npm run lint",
79
- "prepack": "oclif manifest && oclif readme",
74
+ "prepack": "npm run build && npm run build:web && oclif manifest && oclif readme",
80
75
  "test": "mocha --forbid-only \"test/**/*.test.ts\"",
81
76
  "test:coverage": "c8 npm test",
82
77
  "test:coverage:report": "c8 --reporter=html --reporter=text npm test",
@@ -1,14 +1,19 @@
1
- import {dirname} from 'node:path'
1
+ import {dirname, join} from 'node:path'
2
2
  import {fileURLToPath} from 'node:url'
3
3
 
4
+ // next is installed at the repo/plugin root, one level above web/.
5
+ // Both outputFileTracingRoot and turbopack.root must agree on this directory
6
+ // so that Turbopack can resolve next/package.json from web/app.
7
+ const root = join(dirname(fileURLToPath(import.meta.url)), '..')
8
+
4
9
  /** @type {import('next').NextConfig} */
5
10
  const nextConfig = {
6
- // The plugin ships its own lockfile alongside the host repo's; pin the trace
7
- // root to this directory so Next doesn't guess the wrong workspace root.
8
- outputFileTracingRoot: dirname(fileURLToPath(import.meta.url)),
9
- // The app is always served behind the plugin's custom Node server, which owns
10
- // the /api/* routes; Next only renders the UI.
11
+ distDir: '../dist/web',
12
+ outputFileTracingRoot: root,
11
13
  reactStrictMode: true,
14
+ turbopack: {
15
+ root,
16
+ },
12
17
  }
13
18
 
14
19
  export default nextConfig
@@ -1 +0,0 @@
1
- LEwu5WvMMaoVEbVj3-KGq
@@ -1,26 +0,0 @@
1
- {
2
- "pages": {
3
- "/_not-found/page": [
4
- "static/chunks/webpack-3046868c425865e4.js",
5
- "static/chunks/c7879cf7-b5ab1053c1d9a2e7.js",
6
- "static/chunks/131-a68a87dd22cef82b.js",
7
- "static/chunks/main-app-a3b742ef05fa17a3.js",
8
- "static/chunks/app/_not-found/page-784ddbf5f1a9343a.js"
9
- ],
10
- "/layout": [
11
- "static/chunks/webpack-3046868c425865e4.js",
12
- "static/chunks/c7879cf7-b5ab1053c1d9a2e7.js",
13
- "static/chunks/131-a68a87dd22cef82b.js",
14
- "static/chunks/main-app-a3b742ef05fa17a3.js",
15
- "static/css/48007c73fe98a161.css",
16
- "static/chunks/app/layout-4e0fe443358078fc.js"
17
- ],
18
- "/page": [
19
- "static/chunks/webpack-3046868c425865e4.js",
20
- "static/chunks/c7879cf7-b5ab1053c1d9a2e7.js",
21
- "static/chunks/131-a68a87dd22cef82b.js",
22
- "static/chunks/main-app-a3b742ef05fa17a3.js",
23
- "static/chunks/app/page-d098bd39f1fcec43.js"
24
- ]
25
- }
26
- }
@@ -1,33 +0,0 @@
1
- {
2
- "polyfillFiles": [
3
- "static/chunks/polyfills-42372ed130431b0a.js"
4
- ],
5
- "devFiles": [],
6
- "ampDevFiles": [],
7
- "lowPriorityFiles": [
8
- "static/LEwu5WvMMaoVEbVj3-KGq/_buildManifest.js",
9
- "static/LEwu5WvMMaoVEbVj3-KGq/_ssgManifest.js"
10
- ],
11
- "rootMainFiles": [
12
- "static/chunks/webpack-3046868c425865e4.js",
13
- "static/chunks/c7879cf7-b5ab1053c1d9a2e7.js",
14
- "static/chunks/131-a68a87dd22cef82b.js",
15
- "static/chunks/main-app-a3b742ef05fa17a3.js"
16
- ],
17
- "rootMainFilesTree": {},
18
- "pages": {
19
- "/_app": [
20
- "static/chunks/webpack-3046868c425865e4.js",
21
- "static/chunks/framework-1934959d81242241.js",
22
- "static/chunks/main-a8814cf406d931cd.js",
23
- "static/chunks/pages/_app-930c2e1cfe9b86bc.js"
24
- ],
25
- "/_error": [
26
- "static/chunks/webpack-3046868c425865e4.js",
27
- "static/chunks/framework-1934959d81242241.js",
28
- "static/chunks/main-a8814cf406d931cd.js",
29
- "static/chunks/pages/_error-2a950c2742f550d2.js"
30
- ]
31
- },
32
- "ampFirstPages": []
33
- }
@@ -1 +0,0 @@
1
- {"previewModeId":"63f2f8c7b13438f3b92669c1ecce7f00","previewModeSigningKey":"64015a693092958936de470ce931f1bd410de8a2f8c6aef1ce8af87de8375dcd","previewModeEncryptionKey":"72cf980c4c8d18be499583dc84861c68dbaeb46f8b8df13c3aef3591b5cc4151","expireAt":1783148711578}
@@ -1 +0,0 @@
1
- {"encryption.key":"SUJ1L2Gp2SxF0qg4pIsnWs4EdpXdO3e+Eff5rWKj3xA=","encryption.expire_at":1783146077960}