@hesed/webui 0.2.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 (161) hide show
  1. package/README.md +2 -2
  2. package/dist/lib/server.js +4 -2
  3. package/dist/web/BUILD_ID +1 -0
  4. package/dist/web/app-path-routes-manifest.json +5 -0
  5. package/dist/web/build-manifest.json +20 -0
  6. package/dist/web/cache/.previewinfo +1 -0
  7. package/dist/web/cache/.rscinfo +1 -0
  8. package/dist/web/cache/.tsbuildinfo +1 -0
  9. package/dist/web/cache/config.json +7 -0
  10. package/dist/web/diagnostics/build-diagnostics.json +6 -0
  11. package/dist/web/diagnostics/framework.json +1 -0
  12. package/dist/web/diagnostics/route-bundle-stats.json +27 -0
  13. package/dist/web/export-marker.json +6 -0
  14. package/dist/web/fallback-build-manifest.json +13 -0
  15. package/dist/web/images-manifest.json +68 -0
  16. package/dist/web/next-minimal-server.js.nft.json +1 -0
  17. package/dist/web/next-server.js.nft.json +1 -0
  18. package/dist/web/package.json +1 -0
  19. package/dist/web/prerender-manifest.json +85 -0
  20. package/dist/web/required-server-files.js +333 -0
  21. package/dist/web/required-server-files.json +333 -0
  22. package/dist/web/routes-manifest.json +63 -0
  23. package/dist/web/server/app/_global-error/page/app-paths-manifest.json +3 -0
  24. package/dist/web/server/app/_global-error/page/build-manifest.json +16 -0
  25. package/dist/web/server/app/_global-error/page/next-font-manifest.json +6 -0
  26. package/dist/web/server/app/_global-error/page/react-loadable-manifest.json +1 -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/react-loadable-manifest.json +1 -0
  44. package/dist/web/server/app/_not-found/page/server-reference-manifest.json +4 -0
  45. package/dist/web/server/app/_not-found/page.js +12 -0
  46. package/dist/web/server/app/_not-found/page.js.map +5 -0
  47. package/dist/web/server/app/_not-found/page.js.nft.json +1 -0
  48. package/dist/web/server/app/_not-found/page_client-reference-manifest.js +3 -0
  49. package/dist/web/server/app/_not-found.html +1 -0
  50. package/dist/web/server/app/_not-found.meta +16 -0
  51. package/dist/web/server/app/_not-found.rsc +16 -0
  52. package/dist/web/server/app/_not-found.segments/_full.segment.rsc +16 -0
  53. package/dist/web/server/app/_not-found.segments/_head.segment.rsc +5 -0
  54. package/dist/web/server/app/_not-found.segments/_index.segment.rsc +6 -0
  55. package/dist/web/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
  56. package/dist/web/server/app/_not-found.segments/_not-found.segment.rsc +5 -0
  57. package/dist/web/server/app/_not-found.segments/_tree.segment.rsc +2 -0
  58. package/dist/web/server/app/index.html +1 -0
  59. package/dist/web/server/app/index.meta +14 -0
  60. package/dist/web/server/app/index.rsc +18 -0
  61. package/dist/web/server/app/index.segments/__PAGE__.segment.rsc +9 -0
  62. package/dist/web/server/app/index.segments/_full.segment.rsc +18 -0
  63. package/dist/web/server/app/index.segments/_head.segment.rsc +5 -0
  64. package/dist/web/server/app/index.segments/_index.segment.rsc +6 -0
  65. package/dist/web/server/app/index.segments/_tree.segment.rsc +2 -0
  66. package/dist/web/server/app/page/app-paths-manifest.json +3 -0
  67. package/dist/web/server/app/page/build-manifest.json +16 -0
  68. package/dist/web/server/app/page/next-font-manifest.json +6 -0
  69. package/dist/web/server/app/page/react-loadable-manifest.json +1 -0
  70. package/dist/web/server/app/page/server-reference-manifest.json +4 -0
  71. package/dist/web/server/app/page.js +13 -0
  72. package/dist/web/server/app/page.js.map +5 -0
  73. package/dist/web/server/app/page.js.nft.json +1 -0
  74. package/dist/web/server/app/page_client-reference-manifest.js +3 -0
  75. package/dist/web/server/app-paths-manifest.json +5 -0
  76. package/dist/web/server/chunks/ssr/[root-of-the-server]__0100oqz._.js +19 -0
  77. package/dist/web/server/chunks/ssr/[root-of-the-server]__0100oqz._.js.map +1 -0
  78. package/dist/web/server/chunks/ssr/[root-of-the-server]__03bqxv9._.js +33 -0
  79. package/dist/web/server/chunks/ssr/[root-of-the-server]__03bqxv9._.js.map +1 -0
  80. package/dist/web/server/chunks/ssr/[root-of-the-server]__10hrvcf._.js +3 -0
  81. package/dist/web/server/chunks/ssr/[root-of-the-server]__10hrvcf._.js.map +1 -0
  82. package/dist/web/server/chunks/ssr/[root-of-the-server]__10riywf._.js +3 -0
  83. package/dist/web/server/chunks/ssr/[root-of-the-server]__10riywf._.js.map +1 -0
  84. package/dist/web/server/chunks/ssr/[root-of-the-server]__17sw5v1._.js +3 -0
  85. package/dist/web/server/chunks/ssr/[root-of-the-server]__17sw5v1._.js.map +1 -0
  86. package/dist/web/server/chunks/ssr/[root-of-the-server]__1my83lt._.js +33 -0
  87. package/dist/web/server/chunks/ssr/[root-of-the-server]__1my83lt._.js.map +1 -0
  88. package/dist/web/server/chunks/ssr/[root-of-the-server]__1ujipwi._.js +3 -0
  89. package/dist/web/server/chunks/ssr/[root-of-the-server]__1ujipwi._.js.map +1 -0
  90. package/dist/web/server/chunks/ssr/[turbopack]_runtime.js +903 -0
  91. package/dist/web/server/chunks/ssr/[turbopack]_runtime.js.map +11 -0
  92. package/dist/web/server/chunks/ssr/node_modules_0h91jdk._.js +33 -0
  93. package/dist/web/server/chunks/ssr/node_modules_0h91jdk._.js.map +1 -0
  94. package/dist/web/server/chunks/ssr/node_modules_next_dist_1vgd_ru._.js +6 -0
  95. package/dist/web/server/chunks/ssr/node_modules_next_dist_1vgd_ru._.js.map +1 -0
  96. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js +3 -0
  97. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js.map +1 -0
  98. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js +3 -0
  99. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js.map +1 -0
  100. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0-o-goa.js +3 -0
  101. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0-o-goa.js.map +1 -0
  102. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js +3 -0
  103. package/dist/web/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js.map +1 -0
  104. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13nn6g7.js +4 -0
  105. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13nn6g7.js.map +1 -0
  106. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z.js +4 -0
  107. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z.js.map +1 -0
  108. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1o7-715.js +4 -0
  109. package/dist/web/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1o7-715.js.map +1 -0
  110. package/dist/web/server/chunks/ssr/web_0iag39l._.js +3 -0
  111. package/dist/web/server/chunks/ssr/web_0iag39l._.js.map +1 -0
  112. package/dist/web/server/chunks/ssr/web__next-internal_server_app__global-error_page_actions_0crg1np.js +3 -0
  113. package/dist/web/server/chunks/ssr/web__next-internal_server_app__global-error_page_actions_0crg1np.js.map +1 -0
  114. package/dist/web/server/chunks/ssr/web__next-internal_server_app__not-found_page_actions_19z2-pv.js +3 -0
  115. package/dist/web/server/chunks/ssr/web__next-internal_server_app__not-found_page_actions_19z2-pv.js.map +1 -0
  116. package/dist/web/server/chunks/ssr/web__next-internal_server_app_page_actions_1xcff7h.js +3 -0
  117. package/dist/web/server/chunks/ssr/web__next-internal_server_app_page_actions_1xcff7h.js.map +1 -0
  118. package/dist/web/server/chunks/ssr/web_app_page_tsx_1-p0-hs._.js +3 -0
  119. package/dist/web/server/chunks/ssr/web_app_page_tsx_1-p0-hs._.js.map +1 -0
  120. package/dist/web/server/functions-config-manifest.json +4 -0
  121. package/dist/web/server/interception-route-rewrite-manifest.js +1 -0
  122. package/dist/web/server/middleware-build-manifest.js +20 -0
  123. package/dist/web/server/middleware-manifest.json +6 -0
  124. package/dist/web/server/next-font-manifest.js +1 -0
  125. package/dist/web/server/next-font-manifest.json +6 -0
  126. package/dist/web/server/pages/404.html +1 -0
  127. package/dist/web/server/pages/500.html +1 -0
  128. package/dist/web/server/pages-manifest.json +4 -0
  129. package/dist/web/server/prefetch-hints.json +1 -0
  130. package/dist/web/server/server-reference-manifest.js +1 -0
  131. package/dist/web/server/server-reference-manifest.json +5 -0
  132. package/dist/web/static/PDMigBNKG7RenqXyfgiNr/_buildManifest.js +11 -0
  133. package/dist/web/static/PDMigBNKG7RenqXyfgiNr/_clientMiddlewareManifest.js +1 -0
  134. package/dist/web/static/PDMigBNKG7RenqXyfgiNr/_ssgManifest.js +1 -0
  135. package/dist/web/static/chunks/0atut6a2uuyid.js +5 -0
  136. package/dist/web/static/chunks/0cz1d0mv5g_q7.js +1 -0
  137. package/dist/web/static/chunks/158myu8e_yme3.js +1 -0
  138. package/dist/web/static/chunks/1_v5h-yjbgzno.js +1 -0
  139. package/dist/web/static/chunks/1bnss_1e9svpl.css +1 -0
  140. package/dist/web/static/chunks/1jq4o6yq14o4c.js +31 -0
  141. package/dist/web/static/chunks/28o7f8wux_ygy.js +1 -0
  142. package/dist/web/static/chunks/2nykiepra7i1k.js +1 -0
  143. package/dist/web/static/chunks/turbopack-3i0d1wb0b07u8.js +1 -0
  144. package/dist/web/trace +1 -0
  145. package/dist/web/trace-build +1 -0
  146. package/dist/web/turbopack +0 -0
  147. package/dist/web/types/cache-life.d.ts +145 -0
  148. package/dist/web/types/routes.d.ts +57 -0
  149. package/dist/web/types/validator.ts +61 -0
  150. package/oclif.manifest.json +1 -1
  151. package/package.json +5 -10
  152. package/web/next.config.mjs +11 -6
  153. package/web/app/globals.css +0 -381
  154. package/web/app/layout.tsx +0 -20
  155. package/web/app/page.tsx +0 -57
  156. package/web/components/command-detail.tsx +0 -159
  157. package/web/components/command-list.tsx +0 -105
  158. package/web/components/theme-provider.tsx +0 -12
  159. package/web/components/theme-toggle.tsx +0 -62
  160. package/web/lib/types.ts +0 -77
  161. package/web/tsconfig.json +0 -23
@@ -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
@@ -0,0 +1,145 @@
1
+ // Type definitions for Next.js cacheLife configs
2
+
3
+ declare module 'next/cache' {
4
+ export { unstable_cache } from 'next/dist/server/web/spec-extension/unstable-cache'
5
+ export {
6
+ updateTag,
7
+ revalidateTag,
8
+ revalidatePath,
9
+ refresh,
10
+ } from 'next/dist/server/web/spec-extension/revalidate'
11
+ export { unstable_noStore } from 'next/dist/server/web/spec-extension/unstable-no-store'
12
+
13
+
14
+ /**
15
+ * Cache this `"use cache"` for a timespan defined by the `"default"` profile.
16
+ * ```
17
+ * stale: 300 seconds (5 minutes)
18
+ * revalidate: 900 seconds (15 minutes)
19
+ * expire: never
20
+ * ```
21
+ *
22
+ * This cache may be stale on clients for 5 minutes before checking with the server.
23
+ * If the server receives a new request after 15 minutes, start revalidating new values in the background.
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
+ */
26
+ export function cacheLife(profile: "default"): void
27
+
28
+ /**
29
+ * Cache this `"use cache"` for a timespan defined by the `"seconds"` profile.
30
+ * ```
31
+ * stale: 30 seconds
32
+ * revalidate: 1 seconds
33
+ * expire: 60 seconds (1 minute)
34
+ * ```
35
+ *
36
+ * This cache may be stale on clients for 30 seconds before checking with the server.
37
+ * If the server receives a new request after 1 seconds, start revalidating new values in the background.
38
+ * If this entry has no traffic for 1 minute it will expire. The next request will recompute it.
39
+ */
40
+ export function cacheLife(profile: "seconds"): void
41
+
42
+ /**
43
+ * Cache this `"use cache"` for a timespan defined by the `"minutes"` profile.
44
+ * ```
45
+ * stale: 300 seconds (5 minutes)
46
+ * revalidate: 60 seconds (1 minute)
47
+ * expire: 3600 seconds (1 hour)
48
+ * ```
49
+ *
50
+ * This cache may be stale on clients for 5 minutes before checking with the server.
51
+ * If the server receives a new request after 1 minute, start revalidating new values in the background.
52
+ * If this entry has no traffic for 1 hour it will expire. The next request will recompute it.
53
+ */
54
+ export function cacheLife(profile: "minutes"): void
55
+
56
+ /**
57
+ * Cache this `"use cache"` for a timespan defined by the `"hours"` profile.
58
+ * ```
59
+ * stale: 300 seconds (5 minutes)
60
+ * revalidate: 3600 seconds (1 hour)
61
+ * expire: 86400 seconds (1 day)
62
+ * ```
63
+ *
64
+ * This cache may be stale on clients for 5 minutes before checking with the server.
65
+ * If the server receives a new request after 1 hour, start revalidating new values in the background.
66
+ * If this entry has no traffic for 1 day it will expire. The next request will recompute it.
67
+ */
68
+ export function cacheLife(profile: "hours"): void
69
+
70
+ /**
71
+ * Cache this `"use cache"` for a timespan defined by the `"days"` profile.
72
+ * ```
73
+ * stale: 300 seconds (5 minutes)
74
+ * revalidate: 86400 seconds (1 day)
75
+ * expire: 604800 seconds (1 week)
76
+ * ```
77
+ *
78
+ * This cache may be stale on clients for 5 minutes before checking with the server.
79
+ * If the server receives a new request after 1 day, start revalidating new values in the background.
80
+ * If this entry has no traffic for 1 week it will expire. The next request will recompute it.
81
+ */
82
+ export function cacheLife(profile: "days"): void
83
+
84
+ /**
85
+ * Cache this `"use cache"` for a timespan defined by the `"weeks"` profile.
86
+ * ```
87
+ * stale: 300 seconds (5 minutes)
88
+ * revalidate: 604800 seconds (1 week)
89
+ * expire: 2592000 seconds (1 month)
90
+ * ```
91
+ *
92
+ * This cache may be stale on clients for 5 minutes before checking with the server.
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 1 month it will expire. The next request will recompute it.
95
+ */
96
+ export function cacheLife(profile: "weeks"): void
97
+
98
+ /**
99
+ * Cache this `"use cache"` for a timespan defined by the `"max"` profile.
100
+ * ```
101
+ * stale: 300 seconds (5 minutes)
102
+ * revalidate: 2592000 seconds (1 month)
103
+ * expire: 31536000 seconds (365 days)
104
+ * ```
105
+ *
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 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
+ */
110
+ export function cacheLife(profile: "max"): void
111
+
112
+ /**
113
+ * Cache this `"use cache"` using a custom timespan.
114
+ * ```
115
+ * stale: ... // seconds
116
+ * revalidate: ... // seconds
117
+ * expire: ... // seconds
118
+ * ```
119
+ *
120
+ * This is similar to Cache-Control: max-age=`stale`,s-max-age=`revalidate`,stale-while-revalidate=`expire-revalidate`
121
+ *
122
+ * If a value is left out, the lowest of other cacheLife() calls or the default, is used instead.
123
+ */
124
+ export function cacheLife(profile: {
125
+ /**
126
+ * This cache may be stale on clients for ... seconds before checking with the server.
127
+ */
128
+ stale?: number,
129
+ /**
130
+ * If the server receives a new request after ... seconds, start revalidating new values in the background.
131
+ */
132
+ revalidate?: number,
133
+ /**
134
+ * If this entry has no traffic for ... seconds it will expire. The next request will recompute it.
135
+ */
136
+ expire?: number
137
+ }): void
138
+
139
+
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
145
+ }
@@ -0,0 +1,57 @@
1
+ // This file is generated automatically by Next.js
2
+ // Do not edit this file manually
3
+
4
+ type AppRoutes = "/"
5
+ type PageRoutes = never
6
+ type LayoutRoutes = "/"
7
+ type RedirectRoutes = never
8
+ type RewriteRoutes = never
9
+ type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes
10
+
11
+
12
+ interface ParamMap {
13
+ "/": {}
14
+ }
15
+
16
+
17
+ export type ParamsOf<Route extends Routes> = ParamMap[Route]
18
+
19
+ interface LayoutSlotMap {
20
+ "/": never
21
+ }
22
+
23
+
24
+ export type { AppRoutes, PageRoutes, LayoutRoutes, RedirectRoutes, RewriteRoutes, ParamMap }
25
+
26
+ declare global {
27
+ /**
28
+ * Props for Next.js App Router page components
29
+ * @example
30
+ * ```tsx
31
+ * export default function Page(props: PageProps<'/blog/[slug]'>) {
32
+ * const { slug } = await props.params
33
+ * return <div>Blog post: {slug}</div>
34
+ * }
35
+ * ```
36
+ */
37
+ interface PageProps<AppRoute extends AppRoutes> {
38
+ params: Promise<ParamMap[AppRoute]>
39
+ searchParams: Promise<Record<string, string | string[] | undefined>>
40
+ }
41
+
42
+ /**
43
+ * Props for Next.js App Router layout components
44
+ * @example
45
+ * ```tsx
46
+ * export default function Layout(props: LayoutProps<'/dashboard'>) {
47
+ * return <div>{props.children}</div>
48
+ * }
49
+ * ```
50
+ */
51
+ type LayoutProps<LayoutRoute extends LayoutRoutes> = {
52
+ params: Promise<ParamMap[LayoutRoute]>
53
+ children: React.ReactNode
54
+ } & {
55
+ [K in LayoutSlotMap[LayoutRoute]]: React.ReactNode
56
+ }
57
+ }
@@ -0,0 +1,61 @@
1
+ // This file is generated automatically by Next.js
2
+ // Do not edit this file manually
3
+ // This file validates that all pages and layouts export the correct types
4
+
5
+ import type { AppRoutes, LayoutRoutes, ParamMap } from "./routes.js"
6
+ import type { ResolvingMetadata, ResolvingViewport } from "next/types.js"
7
+
8
+ type AppPageConfig<Route extends AppRoutes = AppRoutes> = {
9
+ default: React.ComponentType<{ params: Promise<ParamMap[Route]> } & any> | ((props: { params: Promise<ParamMap[Route]> } & any) => React.ReactNode | Promise<React.ReactNode> | never | void | Promise<void>)
10
+ generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise<any[]> | any[]
11
+ generateMetadata?: (
12
+ props: { params: Promise<ParamMap[Route]> } & any,
13
+ parent: ResolvingMetadata
14
+ ) => Promise<any> | any
15
+ generateViewport?: (
16
+ props: { params: Promise<ParamMap[Route]> } & any,
17
+ parent: ResolvingViewport
18
+ ) => Promise<any> | any
19
+ metadata?: any
20
+ viewport?: any
21
+ }
22
+
23
+ type LayoutConfig<Route extends LayoutRoutes = LayoutRoutes> = {
24
+ default: React.ComponentType<LayoutProps<Route>> | ((props: LayoutProps<Route>) => React.ReactNode | Promise<React.ReactNode> | never | void | Promise<void>)
25
+ generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise<any[]> | any[]
26
+ generateMetadata?: (
27
+ props: { params: Promise<ParamMap[Route]> } & any,
28
+ parent: ResolvingMetadata
29
+ ) => Promise<any> | any
30
+ generateViewport?: (
31
+ props: { params: Promise<ParamMap[Route]> } & any,
32
+ parent: ResolvingViewport
33
+ ) => Promise<any> | any
34
+ metadata?: any
35
+ viewport?: any
36
+ }
37
+
38
+
39
+ // Validate ../../../web/app/page.tsx
40
+ {
41
+ type __IsExpected<Specific extends AppPageConfig<"/">> = Specific
42
+ const handler = {} as typeof import("../../../web/app/page.js")
43
+ type __Check = __IsExpected<typeof handler>
44
+ // @ts-ignore
45
+ type __Unused = __Check
46
+ }
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+ // Validate ../../../web/app/layout.tsx
55
+ {
56
+ type __IsExpected<Specific extends LayoutConfig<"/">> = Specific
57
+ const handler = {} as typeof import("../../../web/app/layout.js")
58
+ type __Check = __IsExpected<typeof handler>
59
+ // @ts-ignore
60
+ type __Unused = __Check
61
+ }
@@ -50,5 +50,5 @@
50
50
  ]
51
51
  }
52
52
  },
53
- "version": "0.2.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.2.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