@volter/world-runtime 3.0.113 → 3.0.115
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.
|
@@ -132,7 +132,7 @@ async function tool(command, args, env, deadline, root, signal) {
|
|
|
132
132
|
const remaining = deadline - Date.now();
|
|
133
133
|
if (remaining <= 0)
|
|
134
134
|
throw new Error(`native postgres readiness deadline elapsed before ${command}`);
|
|
135
|
-
const child = spawn(command, args, { env, detached: true, stdio: ['ignore', 'pipe', 'pipe'] });
|
|
135
|
+
const child = spawn(command, args, { env, detached: true, windowsHide: true, stdio: ['ignore', 'pipe', 'pipe'] });
|
|
136
136
|
const lifetime = commandLifetime(child, signal);
|
|
137
137
|
let output = '';
|
|
138
138
|
let errorOutput = '';
|
|
@@ -292,7 +292,7 @@ export async function nativePostgresUp(services, root, definition, launch) {
|
|
|
292
292
|
const fd = openSync(log, 'a');
|
|
293
293
|
let child;
|
|
294
294
|
try {
|
|
295
|
-
child = spawn(binary, ['-D', data, '-h', '127.0.0.1', '-p', String(service.hostPort), '-k', ''], { env, detached: true, stdio: ['ignore', fd, fd] });
|
|
295
|
+
child = spawn(binary, ['-D', data, '-h', '127.0.0.1', '-p', String(service.hostPort), '-k', ''], { env, detached: true, windowsHide: true, stdio: ['ignore', fd, fd] });
|
|
296
296
|
current.pid = child.pid ?? 0;
|
|
297
297
|
started = { child, owned: current, closed: false };
|
|
298
298
|
const observed = started;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/world-runtime",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.115",
|
|
4
4
|
"description": "World configs for twins: boot named local runtimes, allocate ports, generate world.env/instance.json, and run apps against fake-key twin worlds.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"twin",
|
|
@@ -63,20 +63,21 @@
|
|
|
63
63
|
"@types/bun": "^1.2.20",
|
|
64
64
|
"@types/node": "^24.0.0",
|
|
65
65
|
"pg": "8.16.3",
|
|
66
|
+
"redis": "5.8.2",
|
|
66
67
|
"typescript": "^5.9.0"
|
|
67
68
|
},
|
|
68
69
|
"engines": {
|
|
69
70
|
"node": ">=22.3"
|
|
70
71
|
},
|
|
71
72
|
"peerDependencies": {
|
|
72
|
-
"@volter/world-core": "3.0.
|
|
73
|
-
"@volter/world-console": "3.0.
|
|
73
|
+
"@volter/world-core": "3.0.115",
|
|
74
|
+
"@volter/world-console": "3.0.110"
|
|
74
75
|
},
|
|
75
76
|
"dependencies": {
|
|
76
77
|
"@electric-sql/pglite": "0.5.8",
|
|
77
78
|
"@electric-sql/pglite-pgvector": "0.0.9",
|
|
78
79
|
"@volter/world-access": "3.0.1",
|
|
79
|
-
"@volter/world-core": "3.0.
|
|
80
|
+
"@volter/world-core": "3.0.115",
|
|
80
81
|
"mongodb": "~6.20.0",
|
|
81
82
|
"pg-gateway": "0.3.0-beta.4",
|
|
82
83
|
"smol-toml": "^1.8.0",
|
|
@@ -113,7 +113,7 @@ async function tool(command: string, args: string[], env: NodeJS.ProcessEnv, dea
|
|
|
113
113
|
signal?.throwIfAborted();
|
|
114
114
|
const remaining = deadline - Date.now();
|
|
115
115
|
if (remaining <= 0) throw new Error(`native postgres readiness deadline elapsed before ${command}`);
|
|
116
|
-
const child = spawn(command, args, { env, detached: true, stdio: ['ignore', 'pipe', 'pipe'] });
|
|
116
|
+
const child = spawn(command, args, { env, detached: true, windowsHide: true, stdio: ['ignore', 'pipe', 'pipe'] });
|
|
117
117
|
const lifetime = commandLifetime(child, signal);
|
|
118
118
|
let output = ''; let errorOutput = ''; let spawnError: Error | undefined; let timedOut = false; let failure: unknown;
|
|
119
119
|
child.stdout?.on('data', chunk => { output += chunk; });
|
|
@@ -240,7 +240,7 @@ export async function nativePostgresUp(services: InfraService[], root: string, d
|
|
|
240
240
|
const fd = openSync(log, 'a');
|
|
241
241
|
let child: ChildProcess;
|
|
242
242
|
try {
|
|
243
|
-
child = spawn(binary, ['-D', data, '-h', '127.0.0.1', '-p', String(service.hostPort), '-k', ''], { env, detached: true, stdio: ['ignore', fd, fd] });
|
|
243
|
+
child = spawn(binary, ['-D', data, '-h', '127.0.0.1', '-p', String(service.hostPort), '-k', ''], { env, detached: true, windowsHide: true, stdio: ['ignore', fd, fd] });
|
|
244
244
|
current.pid = child.pid ?? 0;
|
|
245
245
|
started = { child, owned: current, closed: false };
|
|
246
246
|
const observed = started;
|