@townco/cli 0.1.76 → 0.1.77
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/dist/commands/run.js +5 -1
- package/package.json +8 -8
package/dist/commands/run.js
CHANGED
|
@@ -514,7 +514,11 @@ export async function runCommand(options) {
|
|
|
514
514
|
},
|
|
515
515
|
});
|
|
516
516
|
// Start the GUI dev server (no package.json, run vite directly) with detached process group
|
|
517
|
-
const
|
|
517
|
+
const viteArgs = ["vite"];
|
|
518
|
+
if (process.env.BIND_HOST) {
|
|
519
|
+
viteArgs.push("--host", process.env.BIND_HOST);
|
|
520
|
+
}
|
|
521
|
+
const guiProcess = spawn("bunx", viteArgs, {
|
|
518
522
|
cwd: guiPath,
|
|
519
523
|
stdio: ["ignore", "pipe", "pipe"], // Pipe stdout/stderr for capture
|
|
520
524
|
detached: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@townco/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.77",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"town": "./dist/index.js"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"build": "tsc"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@townco/tsconfig": "0.1.
|
|
18
|
+
"@townco/tsconfig": "0.1.69",
|
|
19
19
|
"@types/archiver": "^7.0.0",
|
|
20
20
|
"@types/bun": "^1.3.1",
|
|
21
21
|
"@types/ignore-walk": "^4.0.3",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@optique/core": "^0.6.2",
|
|
27
27
|
"@optique/run": "^0.6.2",
|
|
28
|
-
"@townco/agent": "0.1.
|
|
29
|
-
"@townco/core": "0.0.
|
|
30
|
-
"@townco/debugger": "0.1.
|
|
31
|
-
"@townco/env": "0.1.
|
|
32
|
-
"@townco/secret": "0.1.
|
|
33
|
-
"@townco/ui": "0.1.
|
|
28
|
+
"@townco/agent": "0.1.77",
|
|
29
|
+
"@townco/core": "0.0.50",
|
|
30
|
+
"@townco/debugger": "0.1.27",
|
|
31
|
+
"@townco/env": "0.1.22",
|
|
32
|
+
"@townco/secret": "0.1.72",
|
|
33
|
+
"@townco/ui": "0.1.72",
|
|
34
34
|
"@trpc/client": "^11.7.2",
|
|
35
35
|
"@types/inquirer": "^9.0.9",
|
|
36
36
|
"@types/ws": "^8.5.13",
|