@getmonoceros/workbench 1.37.9 → 1.37.11

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
@@ -8365,14 +8365,16 @@ Fix the value in the env file (or the yml).`
8365
8365
  }
8366
8366
  validateOptions(createOpts);
8367
8367
  logger.success(`yml validated ${dim(`(${prettyPath(ymlPath)})`)}`);
8368
- const hasRepos = (createOpts.repos ?? []).length > 0;
8368
+ const reposNeedingContainerIdentity = (createOpts.repos ?? []).some(
8369
+ (repo) => !repo.gitUser
8370
+ );
8369
8371
  const hasContainerGitUser = parsed.config.git?.user !== void 0;
8370
8372
  const hasDefaultGitUser = globalConfig?.defaults?.git?.user !== void 0;
8371
8373
  const idLogger = {
8372
8374
  info: logger.info,
8373
8375
  warn: logger.warn ?? logger.info
8374
8376
  };
8375
- if (hasRepos || hasContainerGitUser || hasDefaultGitUser) {
8377
+ if (reposNeedingContainerIdentity || hasContainerGitUser || hasDefaultGitUser) {
8376
8378
  const identity = await collectGitIdentity(targetDir, {
8377
8379
  ...opts.identitySpawn ? { spawn: opts.identitySpawn } : {},
8378
8380
  ...opts.identityPrompt ? { prompt: opts.identityPrompt } : {},
@@ -8971,7 +8973,7 @@ var CLI_VERSION;
8971
8973
  var init_version = __esm({
8972
8974
  "src/version.ts"() {
8973
8975
  "use strict";
8974
- CLI_VERSION = true ? "1.37.9" : "dev";
8976
+ CLI_VERSION = true ? "1.37.11" : "dev";
8975
8977
  }
8976
8978
  });
8977
8979
 
@@ -10000,7 +10002,7 @@ var init_notifier = __esm({
10000
10002
  init_machine_state();
10001
10003
  PACKAGE = "@getmonoceros/workbench";
10002
10004
  REGISTRY_URL = `https://registry.npmjs.org/${PACKAGE}/latest`;
10003
- INSTALL_COMMAND = "curl -fsSL https://raw.githubusercontent.com/getmonoceros/workbench/main/install.sh | bash";
10005
+ INSTALL_COMMAND = "curl -fsSL https://raw.githubusercontent.com/getmonoceros/workbench/main/installer/install.sh | bash";
10004
10006
  CHECK_INTERVAL_MS = 24 * 60 * 60 * 1e3;
10005
10007
  OPT_OUT_ENV = "MONOCEROS_NO_UPDATE_NOTIFIER";
10006
10008
  FETCH_TIMEOUT_MS = 5e3;