@powerhousedao/builder-tools 6.0.0-dev.70 → 6.0.0-dev.71

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/index.js CHANGED
@@ -31956,7 +31956,7 @@ var require_ms = __commonJS((exports, module) => {
31956
31956
  }
31957
31957
  });
31958
31958
 
31959
- // ../../node_modules/.pnpm/debug@4.4.3_supports-color@8.1.1/node_modules/debug/src/common.js
31959
+ // ../../node_modules/.pnpm/debug@4.4.3_supports-color@5.5.0/node_modules/debug/src/common.js
31960
31960
  var require_common = __commonJS((exports, module) => {
31961
31961
  function setup(env) {
31962
31962
  createDebug.debug = createDebug;
@@ -32131,7 +32131,7 @@ var require_common = __commonJS((exports, module) => {
32131
32131
  module.exports = setup;
32132
32132
  });
32133
32133
 
32134
- // ../../node_modules/.pnpm/debug@4.4.3_supports-color@8.1.1/node_modules/debug/src/browser.js
32134
+ // ../../node_modules/.pnpm/debug@4.4.3_supports-color@5.5.0/node_modules/debug/src/browser.js
32135
32135
  var require_browser = __commonJS((exports, module) => {
32136
32136
  exports.formatArgs = formatArgs;
32137
32137
  exports.save = save;
@@ -32291,38 +32291,30 @@ var require_browser = __commonJS((exports, module) => {
32291
32291
  };
32292
32292
  });
32293
32293
 
32294
- // ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
32294
+ // ../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js
32295
32295
  var require_has_flag = __commonJS((exports, module) => {
32296
- module.exports = (flag, argv = process.argv) => {
32296
+ module.exports = (flag, argv) => {
32297
+ argv = argv || process.argv;
32297
32298
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
32298
- const position = argv.indexOf(prefix + flag);
32299
- const terminatorPosition = argv.indexOf("--");
32300
- return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
32299
+ const pos = argv.indexOf(prefix + flag);
32300
+ const terminatorPos = argv.indexOf("--");
32301
+ return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
32301
32302
  };
32302
32303
  });
32303
32304
 
32304
- // ../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js
32305
+ // ../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js
32305
32306
  var require_supports_color = __commonJS((exports, module) => {
32306
32307
  var os = __require("os");
32307
- var tty = __require("tty");
32308
32308
  var hasFlag = require_has_flag();
32309
- var { env } = process;
32310
- var flagForceColor;
32311
- if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
32312
- flagForceColor = 0;
32309
+ var env = process.env;
32310
+ var forceColor;
32311
+ if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
32312
+ forceColor = false;
32313
32313
  } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
32314
- flagForceColor = 1;
32314
+ forceColor = true;
32315
32315
  }
32316
- function envForceColor() {
32317
- if ("FORCE_COLOR" in env) {
32318
- if (env.FORCE_COLOR === "true") {
32319
- return 1;
32320
- }
32321
- if (env.FORCE_COLOR === "false") {
32322
- return 0;
32323
- }
32324
- return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
32325
- }
32316
+ if ("FORCE_COLOR" in env) {
32317
+ forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
32326
32318
  }
32327
32319
  function translateLevel(level) {
32328
32320
  if (level === 0) {
@@ -32335,39 +32327,29 @@ var require_supports_color = __commonJS((exports, module) => {
32335
32327
  has16m: level >= 3
32336
32328
  };
32337
32329
  }
32338
- function supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
32339
- const noFlagForceColor = envForceColor();
32340
- if (noFlagForceColor !== undefined) {
32341
- flagForceColor = noFlagForceColor;
32342
- }
32343
- const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
32344
- if (forceColor === 0) {
32330
+ function supportsColor(stream) {
32331
+ if (forceColor === false) {
32345
32332
  return 0;
32346
32333
  }
32347
- if (sniffFlags) {
32348
- if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
32349
- return 3;
32350
- }
32351
- if (hasFlag("color=256")) {
32352
- return 2;
32353
- }
32334
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
32335
+ return 3;
32354
32336
  }
32355
- if (haveStream && !streamIsTTY && forceColor === undefined) {
32356
- return 0;
32337
+ if (hasFlag("color=256")) {
32338
+ return 2;
32357
32339
  }
32358
- const min = forceColor || 0;
32359
- if (env.TERM === "dumb") {
32360
- return min;
32340
+ if (stream && !stream.isTTY && forceColor !== true) {
32341
+ return 0;
32361
32342
  }
32343
+ const min = forceColor ? 1 : 0;
32362
32344
  if (process.platform === "win32") {
32363
32345
  const osRelease = os.release().split(".");
32364
- if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
32346
+ if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
32365
32347
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
32366
32348
  }
32367
32349
  return 1;
32368
32350
  }
32369
32351
  if ("CI" in env) {
32370
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE", "DRONE"].some((sign) => (sign in env)) || env.CI_NAME === "codeship") {
32352
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => (sign in env)) || env.CI_NAME === "codeship") {
32371
32353
  return 1;
32372
32354
  }
32373
32355
  return min;
@@ -32379,7 +32361,7 @@ var require_supports_color = __commonJS((exports, module) => {
32379
32361
  return 3;
32380
32362
  }
32381
32363
  if ("TERM_PROGRAM" in env) {
32382
- const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
32364
+ const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
32383
32365
  switch (env.TERM_PROGRAM) {
32384
32366
  case "iTerm.app":
32385
32367
  return version >= 3 ? 3 : 2;
@@ -32396,23 +32378,23 @@ var require_supports_color = __commonJS((exports, module) => {
32396
32378
  if ("COLORTERM" in env) {
32397
32379
  return 1;
32398
32380
  }
32381
+ if (env.TERM === "dumb") {
32382
+ return min;
32383
+ }
32399
32384
  return min;
32400
32385
  }
32401
- function getSupportLevel(stream, options = {}) {
32402
- const level = supportsColor(stream, {
32403
- streamIsTTY: stream && stream.isTTY,
32404
- ...options
32405
- });
32386
+ function getSupportLevel(stream) {
32387
+ const level = supportsColor(stream);
32406
32388
  return translateLevel(level);
32407
32389
  }
32408
32390
  module.exports = {
32409
32391
  supportsColor: getSupportLevel,
32410
- stdout: getSupportLevel({ isTTY: tty.isatty(1) }),
32411
- stderr: getSupportLevel({ isTTY: tty.isatty(2) })
32392
+ stdout: getSupportLevel(process.stdout),
32393
+ stderr: getSupportLevel(process.stderr)
32412
32394
  };
32413
32395
  });
32414
32396
 
32415
- // ../../node_modules/.pnpm/debug@4.4.3_supports-color@8.1.1/node_modules/debug/src/node.js
32397
+ // ../../node_modules/.pnpm/debug@4.4.3_supports-color@5.5.0/node_modules/debug/src/node.js
32416
32398
  var require_node = __commonJS((exports, module) => {
32417
32399
  var tty = __require("tty");
32418
32400
  var util3 = __require("util");
@@ -32583,7 +32565,7 @@ var require_node = __commonJS((exports, module) => {
32583
32565
  };
32584
32566
  });
32585
32567
 
32586
- // ../../node_modules/.pnpm/debug@4.4.3_supports-color@8.1.1/node_modules/debug/src/index.js
32568
+ // ../../node_modules/.pnpm/debug@4.4.3_supports-color@5.5.0/node_modules/debug/src/index.js
32587
32569
  var require_src = __commonJS((exports, module) => {
32588
32570
  if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
32589
32571
  module.exports = require_browser();
@@ -88387,6 +88369,7 @@ var appConfigSchema = exports_external.object({
88387
88369
  PH_CONNECT_STUDIO_MODE: booleanString.default(false),
88388
88370
  PH_CONNECT_BASE_PATH: exports_external.string().optional(),
88389
88371
  PH_CONNECT_DEFAULT_DRIVES_URL: exports_external.string().optional(),
88372
+ PH_CONNECT_PACKAGES_REGISTRY: exports_external.string().optional(),
88390
88373
  PH_CONNECT_DRIVES_PRESERVE_STRATEGY: exports_external.string().optional(),
88391
88374
  PH_CONNECT_VERSION_CHECK_INTERVAL: numberString.default(60 * 60 * 1000),
88392
88375
  PH_CONNECT_CLI_VERSION: exports_external.string().optional(),