@getmonoceros/workbench 1.38.17 → 1.38.18
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/bin.js +10 -8
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -9070,7 +9070,7 @@ var CLI_VERSION;
|
|
|
9070
9070
|
var init_version = __esm({
|
|
9071
9071
|
"src/version.ts"() {
|
|
9072
9072
|
"use strict";
|
|
9073
|
-
CLI_VERSION = true ? "1.38.
|
|
9073
|
+
CLI_VERSION = true ? "1.38.18" : "dev";
|
|
9074
9074
|
}
|
|
9075
9075
|
});
|
|
9076
9076
|
|
|
@@ -12814,19 +12814,21 @@ async function runShare(opts) {
|
|
|
12814
12814
|
);
|
|
12815
12815
|
if (addresses.length === 0) addresses.push("<host-ip>");
|
|
12816
12816
|
const caPath = await caTrustDisplayPath(tls.caCertPath, home);
|
|
12817
|
-
|
|
12817
|
+
const banner = [
|
|
12818
12818
|
`Sharing ${opts.name}/${opts.app} on the local network (Ctrl+C to stop):`
|
|
12819
|
-
|
|
12819
|
+
];
|
|
12820
12820
|
for (const t of ported) {
|
|
12821
|
+
banner.push("", ` ${cyan2(t.name)}`);
|
|
12821
12822
|
for (const addr of addresses) {
|
|
12822
|
-
|
|
12823
|
+
banner.push(` https://${addr}:${t.port}`);
|
|
12823
12824
|
}
|
|
12824
12825
|
}
|
|
12825
|
-
|
|
12826
|
-
|
|
12827
|
-
|
|
12828
|
-
)
|
|
12826
|
+
banner.push(
|
|
12827
|
+
"",
|
|
12828
|
+
dim(" Trust the local CA once (first device) for warning-free HTTPS:"),
|
|
12829
|
+
dim(` ${caPath}`)
|
|
12829
12830
|
);
|
|
12831
|
+
log.info(banner.join("\n"));
|
|
12830
12832
|
const dockerSpawn = opts.dockerSpawn ?? defaultDockerSpawn;
|
|
12831
12833
|
const handles = [
|
|
12832
12834
|
dockerSpawn(
|