feat: deployable design studio and updated component showcase

This commit is contained in:
Clintchiz committed 2026-10-19 13:18:06 +05:30
1 parent 3dddcaac1a
commit 3987ddbcfe
113 files changed
+4544 -1039

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import { createStudioHandler } from "@wrnexus/design-studio/server";
export async function startStudio() {
const fetch = await createStudioHandler({
hosted: { basePath: "/design-studio" },
});
const server = Bun.serve({
hostname: "127.0.0.1",
port: Number(process.env.DESIGN_STUDIO_PORT ?? 4320),
fetch,
});
console.log(
`Export-only Design Studio listening on ${server.url}design-studio/`,
);
return server;
}
if (import.meta.main) await startStudio();