vibedoc 1.0.2 → 1.0.4
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/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +14 -14
- package/.next/app-path-routes-manifest.json +1 -1
- package/.next/build-manifest.json +4 -4
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/server/app/(app)/activity/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(app)/board/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(app)/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(app)/memory/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(app)/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(app)/setup/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/activity.html +1 -1
- package/.next/server/app/activity.rsc +1 -1
- package/.next/server/app/api/mcp/route.js +10 -9
- package/.next/server/app/api/registry/route.js +1 -0
- package/.next/server/app/api/registry/route.js.nft.json +1 -0
- package/.next/server/app/board.html +1 -1
- package/.next/server/app/board.rsc +1 -1
- package/.next/server/app/docs.html +1 -1
- package/.next/server/app/docs.rsc +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +1 -1
- package/.next/server/app/memory.html +1 -1
- package/.next/server/app/memory.rsc +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings.html +1 -1
- package/.next/server/app/settings.rsc +1 -1
- package/.next/server/app/setup.html +1 -1
- package/.next/server/app/setup.rsc +1 -1
- package/.next/server/app-paths-manifest.json +12 -11
- package/.next/server/chunks/80.js +18 -18
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/{main-6224705d81e790a3.js → main-7dd7d33736f46b83.js} +1 -1
- package/bin/vibedoc.js +7 -0
- package/package.json +1 -1
- /package/.next/static/{SozubT4AiNYJ3ynkRV0zo → 60PC-jxqMf_DMjXG0I5Xx}/_buildManifest.js +0 -0
- /package/.next/static/{SozubT4AiNYJ3ynkRV0zo → 60PC-jxqMf_DMjXG0I5Xx}/_ssgManifest.js +0 -0
package/bin/vibedoc.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
const { spawn, spawnSync } = require('child_process');
|
|
5
5
|
const path = require('path');
|
|
6
6
|
const net = require('net');
|
|
7
|
+
const fs = require('fs');
|
|
7
8
|
|
|
8
9
|
const PKG_DIR = path.resolve(__dirname, '..');
|
|
9
10
|
const VIBEDOC_ROOT = process.env.VIBEDOC_ROOT || process.cwd();
|
|
@@ -35,6 +36,12 @@ async function main() {
|
|
|
35
36
|
console.log(`[vibedoc] App: http://localhost:${port}`);
|
|
36
37
|
console.log(`[vibedoc] WS: ws://localhost:${wsPort}`);
|
|
37
38
|
|
|
39
|
+
// Write .env.local so Next.js production server reliably picks up VIBEDOC_ROOT
|
|
40
|
+
// (spawn env alone can be dropped by Next.js's internal env loading in some setups)
|
|
41
|
+
const envLocalPath = path.join(PKG_DIR, '.env.local');
|
|
42
|
+
fs.writeFileSync(envLocalPath, `VIBEDOC_ROOT=${VIBEDOC_ROOT}\nPORT=${port}\nWS_PORT=${wsPort}\n`);
|
|
43
|
+
process.on('exit', () => { try { fs.unlinkSync(envLocalPath); } catch {} });
|
|
44
|
+
|
|
38
45
|
const env = { ...process.env, VIBEDOC_ROOT, PORT: String(port), WS_PORT: String(wsPort) };
|
|
39
46
|
|
|
40
47
|
const next = spawn(
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|