@getmonoceros/workbench 1.7.1 → 1.7.2

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 CHANGED
@@ -3611,7 +3611,7 @@ function warnOnDeprecatedFeatureRefs(containerFeatures, globalConfig, logger) {
3611
3611
  }
3612
3612
 
3613
3613
  // src/version.ts
3614
- var CLI_VERSION = true ? "1.7.1" : "dev";
3614
+ var CLI_VERSION = true ? "1.7.2" : "dev";
3615
3615
 
3616
3616
  // src/commands/_dispatch.ts
3617
3617
  import { consola as consola12 } from "consola";
@@ -4086,7 +4086,7 @@ function generateComposedYml(name, components, lookupManifest, repoUrls = [], po
4086
4086
  );
4087
4087
  }
4088
4088
  if (ports.length > 0) {
4089
- renderActiveRoutingBlock(lines, ports);
4089
+ renderActiveRoutingBlock(lines, name, ports);
4090
4090
  }
4091
4091
  return ensureTrailingNewline(lines.join("\n"));
4092
4092
  }
@@ -4198,7 +4198,7 @@ function generateDocumentedYml(name, catalog, lookupManifest, repoUrls = [], por
4198
4198
  repoUrls.length === 0
4199
4199
  );
4200
4200
  if (ports.length > 0) {
4201
- renderActiveRoutingBlock(lines, ports);
4201
+ renderActiveRoutingBlock(lines, name, ports);
4202
4202
  } else {
4203
4203
  renderRoutingHintBlock(lines);
4204
4204
  }
@@ -4327,19 +4327,21 @@ function renderRoutingHintBlock(out) {
4327
4327
  );
4328
4328
  out.push("");
4329
4329
  }
4330
- function renderActiveRoutingBlock(out, ports) {
4330
+ function renderActiveRoutingBlock(out, name, ports) {
4331
4331
  out.push("# Routing \u2014 expose these container ports to the host through");
4332
4332
  out.push("# the shared Traefik singleton. First entry doubles as");
4333
- out.push("# http://<name>.localhost (the default route). See ADR 0007.");
4333
+ out.push(`# http://${name}.localhost (the default route). See ADR 0007.`);
4334
4334
  out.push("routing:");
4335
4335
  out.push(" ports:");
4336
4336
  ports.forEach((port, idx) => {
4337
4337
  if (idx === 0) {
4338
- out.push(` - ${port} # default \u2192 http://<name>.localhost`);
4338
+ out.push(` - ${port} # default \u2192 http://${name}.localhost`);
4339
4339
  } else {
4340
4340
  out.push(` - ${port}`);
4341
4341
  }
4342
4342
  });
4343
+ out.push(" # vscodeAutoForward: false # set true to keep VS Code's");
4344
+ out.push(" # # port-panel alongside Traefik");
4343
4345
  out.push("");
4344
4346
  }
4345
4347
  function deriveDefaultPath(url) {