@crvouga/mockingbird-service-docker 1.7.0 → 1.9.0
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/CHANGELOG.md +13 -1
- package/dist/{chunk-7DDFNYJE.js → chunk-UEW2INS6.js} +3 -3
- package/dist/{chunk-7DDFNYJE.js.map → chunk-UEW2INS6.js.map} +1 -1
- package/dist/{chunk-2VTSZWES.js → chunk-ZORMSOD6.js} +2 -2
- package/dist/cli.js +15 -6
- package/dist/cli.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/server.d.ts +2 -0
- package/dist/server.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-2VTSZWES.js.map → chunk-ZORMSOD6.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
createRuntime,
|
|
6
6
|
isRunning,
|
|
7
7
|
jsonRes
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UEW2INS6.js";
|
|
9
9
|
|
|
10
10
|
// src/attach.ts
|
|
11
11
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -627,4 +627,4 @@ export {
|
|
|
627
627
|
createServer2 as createServer,
|
|
628
628
|
serveTarget
|
|
629
629
|
};
|
|
630
|
-
//# sourceMappingURL=chunk-
|
|
630
|
+
//# sourceMappingURL=chunk-ZORMSOD6.js.map
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
serveTarget
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZORMSOD6.js";
|
|
5
5
|
import {
|
|
6
6
|
createClock,
|
|
7
7
|
normalizeBootControls,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
parseFaultHeader,
|
|
13
13
|
resolveAdminPrefix,
|
|
14
14
|
restoreClock
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UEW2INS6.js";
|
|
16
16
|
|
|
17
17
|
// ../../adapters/node/dist/cli.js
|
|
18
18
|
import { readFile as readFile5 } from "node:fs/promises";
|
|
@@ -3060,7 +3060,7 @@ async function preflightFleet(config, options) {
|
|
|
3060
3060
|
break;
|
|
3061
3061
|
}
|
|
3062
3062
|
}
|
|
3063
|
-
targets.set(name, { ...target, packageVersion: packageVersion ?? "1.
|
|
3063
|
+
targets.set(name, { ...target, packageVersion: packageVersion ?? "1.9.0" });
|
|
3064
3064
|
} catch (error) {
|
|
3065
3065
|
throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
|
|
3066
3066
|
}
|
|
@@ -3286,7 +3286,11 @@ var serve = async (api, options = {}) => {
|
|
|
3286
3286
|
// ../../adapters/node/dist/listen.js
|
|
3287
3287
|
var listen = async (api, options = {}) => {
|
|
3288
3288
|
const host = options.host ?? "127.0.0.1";
|
|
3289
|
-
const server = await serve(api, {
|
|
3289
|
+
const server = await serve(api, {
|
|
3290
|
+
port: options.port ?? 0,
|
|
3291
|
+
host,
|
|
3292
|
+
...options.maxBodyBytes !== void 0 ? { maxBodyBytes: options.maxBodyBytes } : {}
|
|
3293
|
+
});
|
|
3290
3294
|
const address = server.address();
|
|
3291
3295
|
const port = typeof address === "object" && address !== null ? address.port : options.port ?? 0;
|
|
3292
3296
|
const shown = host.includes(":") ? `[${host}]` : host;
|
|
@@ -3485,7 +3489,8 @@ var httpChild = async (target, entry, options, admission, generation, privateAcc
|
|
|
3485
3489
|
try {
|
|
3486
3490
|
server = await listen(api, {
|
|
3487
3491
|
port: entry.port ?? target.defaultPort,
|
|
3488
|
-
host: entry.host ?? "127.0.0.1"
|
|
3492
|
+
host: entry.host ?? "127.0.0.1",
|
|
3493
|
+
...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
|
|
3489
3494
|
});
|
|
3490
3495
|
target.listening?.(server);
|
|
3491
3496
|
} catch (error) {
|
|
@@ -4876,7 +4881,11 @@ var start = async (target, values, config) => {
|
|
|
4876
4881
|
});
|
|
4877
4882
|
if (config.idBase !== void 0)
|
|
4878
4883
|
runtime.setIdBase?.(config.idBase);
|
|
4879
|
-
const listening = await listen(runtime, {
|
|
4884
|
+
const listening = await listen(runtime, {
|
|
4885
|
+
port: config.port,
|
|
4886
|
+
host: config.host,
|
|
4887
|
+
...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
|
|
4888
|
+
});
|
|
4880
4889
|
target.listening?.(listening);
|
|
4881
4890
|
console.log(`${target.name} emulator listening on ${listening.url}`);
|
|
4882
4891
|
console.log(`${target.name} health: GET ${listening.url}${adminPrefix}/health`);
|