create-skybridge 0.0.0-dev.744b8df → 0.0.0-dev.745a4f9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-skybridge",
3
- "version": "0.0.0-dev.744b8df",
3
+ "version": "0.0.0-dev.745a4f9",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Alpic",
@@ -15,7 +15,7 @@
15
15
  "@modelcontextprotocol/sdk": "^1.29.0",
16
16
  "react": "^19.2.4",
17
17
  "react-dom": "^19.2.4",
18
- "skybridge": ">=0.0.0-dev.744b8df",
18
+ "skybridge": ">=0.0.0-dev.745a4f9",
19
19
  "vite": "^8.0.3",
20
20
  "zod": "^4.3.6"
21
21
  },
@@ -56,6 +56,11 @@ const server = new McpServer(
56
56
  },
57
57
  );
58
58
 
59
- server.run();
59
+ if (process.env.NODE_ENV === "production") {
60
+ const { default: manifest } = await import("./vite-manifest.js");
61
+ server.setViteManifest(manifest);
62
+ }
63
+
64
+ export default await server.run();
60
65
 
61
66
  export type AppType = typeof server;
@@ -0,0 +1,4 @@
1
+ // Typed shim for the Vite manifest emitted by `skybridge build`. The actual
2
+ // `vite-manifest.js` is generated alongside this file and gitignored.
3
+ declare const manifest: Record<string, { file: string }>;
4
+ export default manifest;