olly-molly 0.2.14 → 0.2.15
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/bin/cli.js +17 -3
- package/package.json +2 -7
package/bin/cli.js
CHANGED
|
@@ -202,9 +202,23 @@ async function main() {
|
|
|
202
202
|
} catch {}
|
|
203
203
|
}, 2000);
|
|
204
204
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
205
|
+
let server;
|
|
206
|
+
if (usedPrebuilt) {
|
|
207
|
+
const serverPath = path.join(APP_DIR, '.next', 'standalone', 'server.js');
|
|
208
|
+
if (!fs.existsSync(serverPath)) {
|
|
209
|
+
throw new Error('Prebuilt bundle missing .next/standalone/server.js');
|
|
210
|
+
}
|
|
211
|
+
server = spawn('node', [serverPath], {
|
|
212
|
+
cwd: APP_DIR,
|
|
213
|
+
stdio: 'inherit',
|
|
214
|
+
env: { ...process.env, PORT: '1234' },
|
|
215
|
+
shell: true
|
|
216
|
+
});
|
|
217
|
+
} else {
|
|
218
|
+
server = spawn('npx', ['next', 'start', '--port', '1234'], {
|
|
219
|
+
cwd: APP_DIR, stdio: 'inherit', shell: true
|
|
220
|
+
});
|
|
221
|
+
}
|
|
208
222
|
|
|
209
223
|
server.on('close', (code) => process.exit(code || 0));
|
|
210
224
|
process.on('SIGINT', () => server.kill('SIGINT'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "olly-molly",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"description": "Your AI Development Team, Running Locally - Manage AI agents (PM, Frontend, Backend, QA) from a beautiful kanban board",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -31,11 +31,7 @@
|
|
|
31
31
|
"dev": "next dev --port 1234",
|
|
32
32
|
"build": "next build",
|
|
33
33
|
"start": "next start --port 1234",
|
|
34
|
-
"lint": "eslint"
|
|
35
|
-
"tauri": "tauri",
|
|
36
|
-
"tauri:dev": "tauri dev",
|
|
37
|
-
"tauri:build": "tauri build",
|
|
38
|
-
"tauri:icon": "tauri icon ./app-icon.png"
|
|
34
|
+
"lint": "eslint"
|
|
39
35
|
},
|
|
40
36
|
"dependencies": {
|
|
41
37
|
"@dnd-kit/core": "^6.3.1",
|
|
@@ -53,7 +49,6 @@
|
|
|
53
49
|
"uuid": "^13.0.0"
|
|
54
50
|
},
|
|
55
51
|
"devDependencies": {
|
|
56
|
-
"@tauri-apps/cli": "^2.9.6",
|
|
57
52
|
"@types/better-sqlite3": "^7.6.13",
|
|
58
53
|
"@types/node": "20.19.29",
|
|
59
54
|
"@types/react": "^19",
|