@leanspec/ui 0.2.6-dev.20251126030344 → 0.2.6-dev.20251126060744

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 (37) hide show
  1. package/.next/standalone/packages/ui/.next/BUILD_ID +1 -1
  2. package/.next/standalone/packages/ui/.next/build-manifest.json +2 -2
  3. package/.next/standalone/packages/ui/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/packages/ui/.next/server/app/_global-error.html +2 -2
  5. package/.next/standalone/packages/ui/.next/server/app/_global-error.rsc +1 -1
  6. package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  7. package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  9. package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  10. package/.next/standalone/packages/ui/.next/server/app/_not-found.html +2 -2
  11. package/.next/standalone/packages/ui/.next/server/app/_not-found.rsc +2 -2
  12. package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  13. package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  14. package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  15. package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  16. package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  17. package/.next/standalone/packages/ui/.next/server/app/projects.html +2 -2
  18. package/.next/standalone/packages/ui/.next/server/app/projects.rsc +2 -2
  19. package/.next/standalone/packages/ui/.next/server/app/projects.segments/_full.segment.rsc +2 -2
  20. package/.next/standalone/packages/ui/.next/server/app/projects.segments/_index.segment.rsc +1 -1
  21. package/.next/standalone/packages/ui/.next/server/app/projects.segments/_tree.segment.rsc +1 -1
  22. package/.next/standalone/packages/ui/.next/server/app/projects.segments/projects/__PAGE__.segment.rsc +1 -1
  23. package/.next/standalone/packages/ui/.next/server/app/projects.segments/projects.segment.rsc +1 -1
  24. package/.next/standalone/packages/ui/.next/server/pages/404.html +2 -2
  25. package/.next/standalone/packages/ui/.next/server/pages/500.html +2 -2
  26. package/.next/standalone/packages/ui/.next/server/server-reference-manifest.js +1 -1
  27. package/.next/standalone/packages/ui/.next/server/server-reference-manifest.json +1 -1
  28. package/.next/standalone/packages/ui/package.json +2 -2
  29. package/.next/standalone/packages/ui/scripts/post-build.mjs +9 -8
  30. package/package.json +2 -2
  31. package/.next/standalone/packages/ui/leanspec.db +0 -0
  32. /package/.next/standalone/packages/ui/.next/static/{rG2VrO48F14t3Q-GiojJI → Zggq9bYSIgmn9EItMb4TF}/_buildManifest.js +0 -0
  33. /package/.next/standalone/packages/ui/.next/static/{rG2VrO48F14t3Q-GiojJI → Zggq9bYSIgmn9EItMb4TF}/_clientMiddlewareManifest.json +0 -0
  34. /package/.next/standalone/packages/ui/.next/static/{rG2VrO48F14t3Q-GiojJI → Zggq9bYSIgmn9EItMb4TF}/_ssgManifest.js +0 -0
  35. /package/.next/static/{rG2VrO48F14t3Q-GiojJI → Zggq9bYSIgmn9EItMb4TF}/_buildManifest.js +0 -0
  36. /package/.next/static/{rG2VrO48F14t3Q-GiojJI → Zggq9bYSIgmn9EItMb4TF}/_clientMiddlewareManifest.json +0 -0
  37. /package/.next/static/{rG2VrO48F14t3Q-GiojJI → Zggq9bYSIgmn9EItMb4TF}/_ssgManifest.js +0 -0
@@ -1,2 +1,2 @@
1
- <!DOCTYPE html><!--rG2VrO48F14t3Q_GiojJI--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/b8353eb8c6fb895e.js"/><script src="/_next/static/chunks/f0376ba3b56dbf10.js" async=""></script><script src="/_next/static/chunks/1f052e076ca9a3ff.js" async=""></script><script src="/_next/static/chunks/0f108f65249f8820.js" async=""></script><script src="/_next/static/chunks/2a33b9246ea4be03.js" async=""></script><script src="/_next/static/chunks/turbopack-5fa55215af0efb15.js" async=""></script><script src="/_next/static/chunks/6a05a93ec8fa7b83.js" async=""></script><script src="/_next/static/chunks/97bd44afaee5f129.js" async=""></script><title>500: Internal Server Error.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
2
- @media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/b8353eb8c6fb895e.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[824050,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"default\"]\n3:I[570127,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"default\"]\n4:I[745442,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[745442,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"ViewportBoundary\"]\n9:I[745442,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"MetadataBoundary\"]\nb:I[465393,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"rG2VrO48F14t3Q-GiojJI\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/97bd44afaee5f129.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$@8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$@a\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"a:[]\n6:null\n"])</script></body></html>
1
+ <!DOCTYPE html><!--Zggq9bYSIgmn9EItMb4TF--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/b8353eb8c6fb895e.js"/><script src="/_next/static/chunks/f0376ba3b56dbf10.js" async=""></script><script src="/_next/static/chunks/1f052e076ca9a3ff.js" async=""></script><script src="/_next/static/chunks/0f108f65249f8820.js" async=""></script><script src="/_next/static/chunks/2a33b9246ea4be03.js" async=""></script><script src="/_next/static/chunks/turbopack-5fa55215af0efb15.js" async=""></script><script src="/_next/static/chunks/6a05a93ec8fa7b83.js" async=""></script><script src="/_next/static/chunks/97bd44afaee5f129.js" async=""></script><title>500: Internal Server Error.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
2
+ @media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/b8353eb8c6fb895e.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[824050,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"default\"]\n3:I[570127,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"default\"]\n4:I[745442,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[745442,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"ViewportBoundary\"]\n9:I[745442,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"MetadataBoundary\"]\nb:I[465393,[\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"/_next/static/chunks/97bd44afaee5f129.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Zggq9bYSIgmn9EItMb4TF\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/6a05a93ec8fa7b83.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/97bd44afaee5f129.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$@8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$@a\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"a:[]\n6:null\n"])</script></body></html>
@@ -1 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"uRsRUArxHiuGPDocZ7DVAdcSZzH3vlxZV06YYV9F780=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"KbBl9oxbv+MFO3RI5dLtKRQphCGgryBhCjFQ1bAVjXk=\"\n}"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "node": {},
3
3
  "edge": {},
4
- "encryptionKey": "uRsRUArxHiuGPDocZ7DVAdcSZzH3vlxZV06YYV9F780="
4
+ "encryptionKey": "KbBl9oxbv+MFO3RI5dLtKRQphCGgryBhCjFQ1bAVjXk="
5
5
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanspec/ui",
3
- "version": "0.2.6-dev.20251126030344",
3
+ "version": "0.2.6-dev.20251126060744",
4
4
  "description": "LeanSpec web UI launcher for visual spec management",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "scripts": {
10
10
  "dev": "next dev",
11
- "build": "npm run db:seed && next build && node ./scripts/post-build.mjs",
11
+ "build": "next build && node ./scripts/post-build.mjs",
12
12
  "start": "next start",
13
13
  "lint": "eslint",
14
14
  "typecheck": "tsc --noEmit",
@@ -6,6 +6,7 @@ import { fileURLToPath } from 'node:url';
6
6
  const __filename = fileURLToPath(import.meta.url);
7
7
  const __dirname = dirname(__filename);
8
8
  const pkgDir = join(__dirname, '..');
9
+ const repoRoot = join(pkgDir, '../..');
9
10
 
10
11
  // Copy static assets into standalone build
11
12
  const staticSrc = join(pkgDir, '.next', 'static');
@@ -14,9 +15,9 @@ const staticDest = join(pkgDir, '.next', 'standalone', 'packages', 'ui', '.next'
14
15
  const publicSrc = join(pkgDir, 'public');
15
16
  const publicDest = join(pkgDir, '.next', 'standalone', 'packages', 'ui', 'public');
16
17
 
17
- // Copy database file to standalone build
18
- const dbSrc = join(pkgDir, 'leanspec.db');
19
- const dbDest = join(pkgDir, '.next', 'standalone', 'packages', 'ui', 'leanspec.db');
18
+ // Copy specs directory to standalone build (for filesystem mode)
19
+ const specsSrc = join(repoRoot, 'specs');
20
+ const specsDest = join(pkgDir, '.next', 'standalone', 'specs');
20
21
 
21
22
  try {
22
23
  await cp(staticSrc, staticDest, { recursive: true, force: true });
@@ -25,13 +26,13 @@ try {
25
26
  await cp(publicSrc, publicDest, { recursive: true, force: true });
26
27
  console.log('✓ Copied public assets to standalone build');
27
28
 
28
- // Copy database if it exists (created by db:seed)
29
+ // Copy specs directory for filesystem mode
29
30
  try {
30
- await access(dbSrc, constants.F_OK);
31
- await cp(dbSrc, dbDest, { force: true });
32
- console.log('✓ Copied leanspec.db to standalone build');
31
+ await access(specsSrc, constants.F_OK);
32
+ await cp(specsSrc, specsDest, { recursive: true, force: true });
33
+ console.log('✓ Copied specs to standalone build');
33
34
  } catch {
34
- console.log('⚠ No leanspec.db found (skipping database copy)');
35
+ console.log('⚠ No specs directory found (skipping specs copy)');
35
36
  }
36
37
  } catch (error) {
37
38
  console.error('Failed to copy assets:', error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanspec/ui",
3
- "version": "0.2.6-dev.20251126030344",
3
+ "version": "0.2.6-dev.20251126060744",
4
4
  "description": "LeanSpec web UI launcher for visual spec management",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "scripts": {
10
10
  "dev": "next dev",
11
- "build": "npm run db:seed && next build && node ./scripts/post-build.mjs",
11
+ "build": "next build && node ./scripts/post-build.mjs",
12
12
  "start": "next start",
13
13
  "lint": "eslint",
14
14
  "typecheck": "tsc --noEmit",