@getmonoceros/workbench 1.11.10 → 1.11.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
@@ -715,14 +715,22 @@ function uniqueHttpsHosts(repos) {
715
715
  }
716
716
  return [...byHost.values()];
717
717
  }
718
+ var BREW_INSTALL_COMMAND = '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"';
718
719
  function installCommandForOS(opts) {
720
+ const withBrewBootstrap = (cmd) => [
721
+ "",
722
+ cyan(BREW_INSTALL_COMMAND),
723
+ cyan(cmd),
724
+ "",
725
+ dim("(Skip the first line if you already have Homebrew.)")
726
+ ].join("\n");
719
727
  switch (process.platform) {
720
728
  case "darwin":
721
- return cyan(opts.brew);
729
+ return withBrewBootstrap(opts.brew);
722
730
  case "win32":
723
- return cyan(opts.winget);
731
+ return ["", cyan(opts.winget)].join("\n");
724
732
  default:
725
- if (opts.linuxBrew) return cyan(opts.linuxBrew);
733
+ if (opts.linuxBrew) return withBrewBootstrap(opts.linuxBrew);
726
734
  return `See ${opts.linuxDocsUrl} for package instructions.`;
727
735
  }
728
736
  }
@@ -4807,7 +4815,7 @@ async function persistPromptedIdentity(prompted, ymlPath, home, logger) {
4807
4815
  }
4808
4816
 
4809
4817
  // src/version.ts
4810
- var CLI_VERSION = true ? "1.11.10" : "dev";
4818
+ var CLI_VERSION = true ? "1.11.11" : "dev";
4811
4819
 
4812
4820
  // src/commands/_dispatch.ts
4813
4821
  import { consola as consola12 } from "consola";