@getmonoceros/workbench 1.7.4 → 1.7.5

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
@@ -1266,7 +1266,10 @@ function buildDevcontainerJson(opts, dockerMode = "rootful") {
1266
1266
  }
1267
1267
  const mounts = [...homeMounts];
1268
1268
  const mountsField = mounts.length > 0 ? { mounts } : {};
1269
- const workspaceMountField = {};
1269
+ const workspaceMountField = {
1270
+ workspaceMount: `source=\${localWorkspaceFolder},target=/workspaces/${opts.name},type=bind,consistency=cached`,
1271
+ workspaceFolder: `/workspaces/${opts.name}`
1272
+ };
1270
1273
  const runArgs = ["--cap-add=NET_ADMIN"];
1271
1274
  if (ports.length > 0) {
1272
1275
  runArgs.push("--network=monoceros-proxy");
@@ -3630,7 +3633,7 @@ function warnOnDeprecatedFeatureRefs(containerFeatures, globalConfig, logger) {
3630
3633
  }
3631
3634
 
3632
3635
  // src/version.ts
3633
- var CLI_VERSION = true ? "1.7.4" : "dev";
3636
+ var CLI_VERSION = true ? "1.7.5" : "dev";
3634
3637
 
3635
3638
  // src/commands/_dispatch.ts
3636
3639
  import { consola as consola12 } from "consola";