@shopify/cli 3.68.0 → 3.69.0

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.
Files changed (124) hide show
  1. package/dist/assets/graphiql/style.css +58 -0
  2. package/dist/assets/hydrogen/starter/CHANGELOG.md +19 -0
  3. package/dist/assets/hydrogen/starter/app/components/Aside.tsx +24 -1
  4. package/dist/assets/hydrogen/starter/app/components/Header.tsx +13 -6
  5. package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +5 -3
  6. package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +10 -25
  7. package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +3 -1
  8. package/dist/assets/hydrogen/starter/package.json +4 -4
  9. package/dist/{chokidar-4TKDAB27.js → chokidar-OESTCX4H.js} +571 -8
  10. package/dist/{chunk-BFQFJ7IZ.js → chunk-27ILOE3X.js} +93 -5
  11. package/dist/{chunk-G47SEBU3.js → chunk-2KS65IIG.js} +4 -4
  12. package/dist/{chunk-IL455HI5.js → chunk-2MYCKNTK.js} +3 -3
  13. package/dist/{chunk-GDKBDEZV.js → chunk-3ABJXNVW.js} +4 -4
  14. package/dist/{chunk-INEJACZ7.js → chunk-4N3RFONW.js} +3 -3
  15. package/dist/{chunk-RUR45G5U.js → chunk-5CWXBRLN.js} +3 -3
  16. package/dist/{chunk-QIBFYG6F.js → chunk-6LAVKC2D.js} +3 -3
  17. package/dist/{chunk-4H7GRGC6.js → chunk-6X6RXSOY.js} +3 -3
  18. package/dist/{chunk-MXZ6B3TP.js → chunk-6Y4AUHLY.js} +2 -2
  19. package/dist/{chunk-WJBW5QHV.js → chunk-7FIKIM5M.js} +2 -2
  20. package/dist/{chunk-HTDUPJH5.js → chunk-7HUDUSI4.js} +3 -3
  21. package/dist/{chunk-NCUKAORS.js → chunk-7ZKC5ILI.js} +9 -9
  22. package/dist/{chunk-LAPJDMM4.js → chunk-A3JXD7N7.js} +2 -2
  23. package/dist/{chunk-FKQTUQ3O.js → chunk-BSDFEZQG.js} +5 -5
  24. package/dist/{chunk-JAQZDU4S.js → chunk-C5PPIQTU.js} +2 -2
  25. package/dist/{chunk-XCGES3AJ.js → chunk-CKBSX6XG.js} +3 -3
  26. package/dist/{chunk-A3DV6VXO.js → chunk-E4UK3DDW.js} +2 -2
  27. package/dist/{chunk-CLB5CEKJ.js → chunk-ERVB6ERU.js} +3 -3
  28. package/dist/{chunk-DD5ULVKP.js → chunk-FCPMBTDR.js} +3 -3
  29. package/dist/{chunk-JJOZP7G6.js → chunk-FGJNGEQU.js} +3 -3
  30. package/dist/{chunk-WUA6LTEH.js → chunk-GZPZCHO4.js} +8 -8
  31. package/dist/{chunk-6IS7OFWG.js → chunk-M7RSCDR3.js} +5 -5
  32. package/dist/{chunk-ZJZ3SGOJ.js → chunk-MW2MPXIP.js} +2 -2
  33. package/dist/{chunk-F27QYMO7.js → chunk-MX4RJDBM.js} +591 -20
  34. package/dist/{chunk-ZFVK6EQX.js → chunk-NB4NLOEJ.js} +142 -703
  35. package/dist/{chunk-EUBA2XGP.js → chunk-NDBAW6KJ.js} +7 -7
  36. package/dist/{chunk-7PUJMPXN.js → chunk-OBGMH362.js} +142 -860
  37. package/dist/{chunk-OBX5DIH4.js → chunk-OFXRW54F.js} +4 -4
  38. package/dist/{chunk-NZDBLGNM.js → chunk-P7JUHQKL.js} +1 -2
  39. package/dist/{chunk-VVY6VJR6.js → chunk-QNT2C5AG.js} +3 -3
  40. package/dist/{chunk-C4FBYE7F.js → chunk-STUT2ORI.js} +4 -4
  41. package/dist/{chunk-YKH4ILAB.js → chunk-T5NVZ7CN.js} +76 -77
  42. package/dist/{chunk-JR6ZN4TY.js → chunk-TCFVEGET.js} +5 -5
  43. package/dist/{chunk-UCYJX4VB.js → chunk-TW5OG5SK.js} +2 -2
  44. package/dist/{chunk-E2OAY724.js → chunk-UBD3BPIF.js} +2 -2
  45. package/dist/{chunk-DMM6NVLV.js → chunk-VOAOZJT3.js} +4 -4
  46. package/dist/{chunk-5VZ6BLBM.js → chunk-VU6JM57U.js} +3 -3
  47. package/dist/{chunk-D72SCNZ2.js → chunk-XQBHX6FC.js} +139 -37
  48. package/dist/{chunk-FIAUTHMT.js → chunk-YC5ZCSKV.js} +2 -2
  49. package/dist/{chunk-JAH3NBCG.js → chunk-YYE7F3MT.js} +4 -4
  50. package/dist/cli/commands/auth/logout.js +15 -17
  51. package/dist/cli/commands/auth/logout.test.js +16 -18
  52. package/dist/cli/commands/debug/command-flags.js +14 -16
  53. package/dist/cli/commands/demo/catalog.js +15 -17
  54. package/dist/cli/commands/demo/generate-file.js +15 -17
  55. package/dist/cli/commands/demo/index.js +15 -17
  56. package/dist/cli/commands/demo/print-ai-prompt.js +15 -17
  57. package/dist/cli/commands/docs/generate.js +14 -16
  58. package/dist/cli/commands/docs/generate.test.js +14 -16
  59. package/dist/cli/commands/help.js +14 -16
  60. package/dist/cli/commands/kitchen-sink/async.js +15 -17
  61. package/dist/cli/commands/kitchen-sink/async.test.js +15 -17
  62. package/dist/cli/commands/kitchen-sink/index.js +17 -19
  63. package/dist/cli/commands/kitchen-sink/index.test.js +17 -19
  64. package/dist/cli/commands/kitchen-sink/prompts.js +15 -17
  65. package/dist/cli/commands/kitchen-sink/prompts.test.js +15 -17
  66. package/dist/cli/commands/kitchen-sink/static.js +15 -17
  67. package/dist/cli/commands/kitchen-sink/static.test.js +15 -17
  68. package/dist/cli/commands/search.js +15 -17
  69. package/dist/cli/commands/upgrade.js +15 -17
  70. package/dist/cli/commands/version.js +15 -17
  71. package/dist/cli/commands/version.test.js +15 -17
  72. package/dist/cli/services/commands/search.js +7 -9
  73. package/dist/cli/services/commands/search.test.js +7 -9
  74. package/dist/cli/services/commands/version.js +8 -10
  75. package/dist/cli/services/commands/version.test.js +9 -11
  76. package/dist/cli/services/demo.js +7 -9
  77. package/dist/cli/services/demo.test.js +7 -9
  78. package/dist/cli/services/kitchen-sink/async.js +7 -9
  79. package/dist/cli/services/kitchen-sink/prompts.js +7 -9
  80. package/dist/cli/services/kitchen-sink/static.js +7 -9
  81. package/dist/cli/services/upgrade.js +8 -10
  82. package/dist/cli/services/upgrade.test.js +10 -12
  83. package/dist/{constants-TR6ABVLJ.js → constants-T7JXE5K7.js} +2 -2
  84. package/dist/{custom-oclif-loader-Y5TLP3GI.js → custom-oclif-loader-5V334D6O.js} +9 -11
  85. package/dist/{del-EL3PLWCY.js → del-7ZS2Z64N.js} +4 -4
  86. package/dist/{error-handler-EORUUIBK.js → error-handler-HMFDDM23.js} +13 -15
  87. package/dist/hooks/postrun.js +14 -15
  88. package/dist/hooks/prerun.js +12 -14
  89. package/dist/index.js +4573 -3762
  90. package/dist/{lib-4WCTNKJK.js → lib-JHUCJTHS.js} +5 -6
  91. package/dist/{local-4NQ3UGM2.js → local-AL4CN3PY.js} +7 -11
  92. package/dist/{morph-WDFBUXWF.js → morph-QZYXTRWT.js} +11 -11
  93. package/dist/{node-NWOSUD3V.js → node-V4CKO2VA.js} +18 -20
  94. package/dist/{node-package-manager-D7JIOBLM.js → node-package-manager-OQVXGQ6S.js} +8 -10
  95. package/dist/out-ZDSLKX4N.js +7 -0
  96. package/dist/{system-WDT2XUAD.js → system-L7GYVRHB.js} +7 -9
  97. package/dist/tsconfig.tsbuildinfo +1 -1
  98. package/dist/{ui-JUVEDXYN.js → ui-TYMS2HPU.js} +7 -9
  99. package/dist/{workerd-VWTWLJIV.js → workerd-3T7EKFXS.js} +17 -19
  100. package/oclif.manifest.json +30 -49
  101. package/package.json +19 -8
  102. package/dist/assets/auth-error.html +0 -23
  103. package/dist/assets/empty-url.html +0 -23
  104. package/dist/assets/favicon.svg +0 -26
  105. package/dist/assets/missing-code.html +0 -23
  106. package/dist/assets/missing-state.html +0 -23
  107. package/dist/assets/style.css +0 -58
  108. package/dist/assets/success.html +0 -20
  109. package/dist/chunk-2AW6NZQ5.js +0 -101
  110. package/dist/chunk-QETDXAFX.js +0 -106
  111. package/dist/lib-H3ZZGS7I.js +0 -1322
  112. package/dist/out-66YUO4CT.js +0 -7
  113. package/dist/templates/theme-extension/assets/thumbs-up.png +0 -0
  114. package/dist/templates/theme-extension/blocks/star_rating.liquid.raw +0 -21
  115. package/dist/templates/theme-extension/locales/en.default.json +0 -10
  116. package/dist/templates/theme-extension/shopify.extension.toml.liquid +0 -3
  117. package/dist/templates/theme-extension/snippets/stars.liquid.raw +0 -10
  118. package/dist/templates/ui-extensions/projects/product_subscription/package.json.liquid +0 -25
  119. package/dist/templates/ui-extensions/projects/product_subscription/shopify.extension.toml.liquid +0 -3
  120. package/dist/templates/ui-extensions/projects/product_subscription/src/index.liquid +0 -46
  121. package/dist/templates/ui-extensions/projects/web_pixel_extension/README.md +0 -23
  122. package/dist/templates/ui-extensions/projects/web_pixel_extension/package.json.liquid +0 -9
  123. package/dist/templates/ui-extensions/projects/web_pixel_extension/shopify.extension.toml.liquid +0 -16
  124. package/dist/templates/ui-extensions/projects/web_pixel_extension/src/index.liquid +0 -10
@@ -5,7 +5,7 @@ import {
5
5
  renderDangerousConfirmationPrompt,
6
6
  renderSelectPrompt,
7
7
  renderTextPrompt
8
- } from "./chunk-D72SCNZ2.js";
8
+ } from "./chunk-XQBHX6FC.js";
9
9
  import {
10
10
  init_cjs_shims
11
11
  } from "./chunk-POZ5MGPT.js";
@@ -176,4 +176,4 @@ async function prompts() {
176
176
  export {
177
177
  prompts
178
178
  };
179
- //# sourceMappingURL=chunk-E2OAY724.js.map
179
+ //# sourceMappingURL=chunk-UBD3BPIF.js.map
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-QSUS3GJF.js";
4
4
  import {
5
5
  demoStepsSchema
6
- } from "./chunk-WJBW5QHV.js";
6
+ } from "./chunk-7FIKIM5M.js";
7
7
  import {
8
8
  base_command_default
9
- } from "./chunk-EUBA2XGP.js";
9
+ } from "./chunk-NDBAW6KJ.js";
10
10
  import {
11
11
  outputInfo,
12
12
  renderInfo
13
- } from "./chunk-D72SCNZ2.js";
13
+ } from "./chunk-XQBHX6FC.js";
14
14
  import {
15
15
  __toESM,
16
16
  init_cjs_shims
@@ -55,4 +55,4 @@ The demo should perform the following steps:
55
55
  export {
56
56
  PrintAIPrompt
57
57
  };
58
- //# sourceMappingURL=chunk-DMM6NVLV.js.map
58
+ //# sourceMappingURL=chunk-VOAOZJT3.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-EUBA2XGP.js";
3
+ } from "./chunk-NDBAW6KJ.js";
4
4
  import {
5
5
  mkdir,
6
6
  outputInfo,
7
7
  rmdir,
8
8
  writeFile
9
- } from "./chunk-D72SCNZ2.js";
9
+ } from "./chunk-XQBHX6FC.js";
10
10
  import {
11
11
  cwd,
12
12
  joinPath
@@ -116,4 +116,4 @@ export {
116
116
  writeCommandFlagInterface,
117
117
  writeCommandUsageExampleFile
118
118
  };
119
- //# sourceMappingURL=chunk-5VZ6BLBM.js.map
119
+ //# sourceMappingURL=chunk-VU6JM57U.js.map
@@ -1,16 +1,13 @@
1
- import {
2
- require_signal_exit
3
- } from "./chunk-QETDXAFX.js";
4
1
  import {
5
2
  environmentVariables,
6
3
  pathConstants
7
- } from "./chunk-NZDBLGNM.js";
4
+ } from "./chunk-P7JUHQKL.js";
8
5
  import {
9
6
  require_cross_spawn,
10
7
  require_lib,
11
8
  require_source,
12
9
  require_supports_hyperlinks
13
- } from "./chunk-BFQFJ7IZ.js";
10
+ } from "./chunk-27ILOE3X.js";
14
11
  import {
15
12
  require_brace_expansion,
16
13
  require_source_map
@@ -4030,6 +4027,102 @@ var require_temp_dir = __commonJS({
4030
4027
  }
4031
4028
  });
4032
4029
 
4030
+ // ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js
4031
+ var require_signals = __commonJS({
4032
+ "../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js"(exports, module) {
4033
+ init_cjs_shims();
4034
+ module.exports = [
4035
+ "SIGABRT",
4036
+ "SIGALRM",
4037
+ "SIGHUP",
4038
+ "SIGINT",
4039
+ "SIGTERM"
4040
+ ];
4041
+ process.platform !== "win32" && module.exports.push(
4042
+ "SIGVTALRM",
4043
+ "SIGXCPU",
4044
+ "SIGXFSZ",
4045
+ "SIGUSR2",
4046
+ "SIGTRAP",
4047
+ "SIGSYS",
4048
+ "SIGQUIT",
4049
+ "SIGIOT"
4050
+ // should detect profiler and enable/disable accordingly.
4051
+ // see #21
4052
+ // 'SIGPROF'
4053
+ );
4054
+ process.platform === "linux" && module.exports.push(
4055
+ "SIGIO",
4056
+ "SIGPOLL",
4057
+ "SIGPWR",
4058
+ "SIGSTKFLT",
4059
+ "SIGUNUSED"
4060
+ );
4061
+ }
4062
+ });
4063
+
4064
+ // ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js
4065
+ var require_signal_exit = __commonJS({
4066
+ "../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module) {
4067
+ init_cjs_shims();
4068
+ var process20 = global.process, processOk = function(process21) {
4069
+ return process21 && typeof process21 == "object" && typeof process21.removeListener == "function" && typeof process21.emit == "function" && typeof process21.reallyExit == "function" && typeof process21.listeners == "function" && typeof process21.kill == "function" && typeof process21.pid == "number" && typeof process21.on == "function";
4070
+ };
4071
+ processOk(process20) ? (assert = __require("assert"), signals = require_signals(), isWin = /^win/i.test(process20.platform), EE = __require("events"), typeof EE != "function" && (EE = EE.EventEmitter), process20.__signal_exit_emitter__ ? emitter = process20.__signal_exit_emitter__ : (emitter = process20.__signal_exit_emitter__ = new EE(), emitter.count = 0, emitter.emitted = {}), emitter.infinite || (emitter.setMaxListeners(1 / 0), emitter.infinite = !0), module.exports = function(cb, opts) {
4072
+ if (!processOk(global.process))
4073
+ return function() {
4074
+ };
4075
+ assert.equal(typeof cb, "function", "a callback must be provided for exit handler"), loaded === !1 && load();
4076
+ var ev = "exit";
4077
+ opts && opts.alwaysLast && (ev = "afterexit");
4078
+ var remove2 = function() {
4079
+ emitter.removeListener(ev, cb), emitter.listeners("exit").length === 0 && emitter.listeners("afterexit").length === 0 && unload();
4080
+ };
4081
+ return emitter.on(ev, cb), remove2;
4082
+ }, unload = function() {
4083
+ !loaded || !processOk(global.process) || (loaded = !1, signals.forEach(function(sig) {
4084
+ try {
4085
+ process20.removeListener(sig, sigListeners[sig]);
4086
+ } catch {
4087
+ }
4088
+ }), process20.emit = originalProcessEmit, process20.reallyExit = originalProcessReallyExit, emitter.count -= 1);
4089
+ }, module.exports.unload = unload, emit = function(event, code, signal) {
4090
+ emitter.emitted[event] || (emitter.emitted[event] = !0, emitter.emit(event, code, signal));
4091
+ }, sigListeners = {}, signals.forEach(function(sig) {
4092
+ sigListeners[sig] = function() {
4093
+ if (processOk(global.process)) {
4094
+ var listeners = process20.listeners(sig);
4095
+ listeners.length === emitter.count && (unload(), emit("exit", null, sig), emit("afterexit", null, sig), isWin && sig === "SIGHUP" && (sig = "SIGINT"), process20.kill(process20.pid, sig));
4096
+ }
4097
+ };
4098
+ }), module.exports.signals = function() {
4099
+ return signals;
4100
+ }, loaded = !1, load = function() {
4101
+ loaded || !processOk(global.process) || (loaded = !0, emitter.count += 1, signals = signals.filter(function(sig) {
4102
+ try {
4103
+ return process20.on(sig, sigListeners[sig]), !0;
4104
+ } catch {
4105
+ return !1;
4106
+ }
4107
+ }), process20.emit = processEmit, process20.reallyExit = processReallyExit);
4108
+ }, module.exports.load = load, originalProcessReallyExit = process20.reallyExit, processReallyExit = function(code) {
4109
+ processOk(global.process) && (process20.exitCode = code || /* istanbul ignore next */
4110
+ 0, emit("exit", process20.exitCode, null), emit("afterexit", process20.exitCode, null), originalProcessReallyExit.call(process20, process20.exitCode));
4111
+ }, originalProcessEmit = process20.emit, processEmit = function(ev, arg) {
4112
+ if (ev === "exit" && processOk(global.process)) {
4113
+ arg !== void 0 && (process20.exitCode = arg);
4114
+ var ret = originalProcessEmit.apply(this, arguments);
4115
+ return emit("exit", process20.exitCode, null), emit("afterexit", process20.exitCode, null), ret;
4116
+ } else
4117
+ return originalProcessEmit.apply(this, arguments);
4118
+ }) : module.exports = function() {
4119
+ return function() {
4120
+ };
4121
+ };
4122
+ var assert, signals, isWin, EE, emitter, unload, emit, sigListeners, loaded, load, originalProcessReallyExit, processReallyExit, originalProcessEmit, processEmit;
4123
+ }
4124
+ });
4125
+
4033
4126
  // ../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js
4034
4127
  var require_buffer_stream = __commonJS({
4035
4128
  "../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js"(exports, module) {
@@ -24048,7 +24141,7 @@ async function renameFile(from, to) {
24048
24141
  outputDebug(outputContent`Renaming file from ${outputToken.path(from)} to ${outputToken.path(to)}...`), await fsRename(from, to);
24049
24142
  }
24050
24143
  async function rmdir(path7, options = {}) {
24051
- let { default: del } = await import("./del-EL3PLWCY.js");
24144
+ let { default: del } = await import("./del-7ZS2Z64N.js");
24052
24145
  outputDebug(outputContent`Removing directory at ${outputToken.path(path7)}...`), await del(path7, { force: options.force });
24053
24146
  }
24054
24147
  async function isDirectory(path7) {
@@ -24061,7 +24154,7 @@ function fileSizeSync(path7) {
24061
24154
  return outputDebug(outputContent`Sync-getting the size of file file at ${outputToken.path(path7)}...`), fsStatSync(path7).size;
24062
24155
  }
24063
24156
  function unlinkFileSync(path7) {
24064
- return fsUnlinkSync(path7);
24157
+ fsUnlinkSync(path7);
24065
24158
  }
24066
24159
  function createFileReadStream(path7, options) {
24067
24160
  return fsCreateReadStream(path7, options);
@@ -24107,14 +24200,14 @@ async function generateRandomNameForSubdirectory(options) {
24107
24200
  return await fileExists(randomDirectoryPath) ? generateRandomNameForSubdirectory(options) : generated;
24108
24201
  }
24109
24202
  async function glob(pattern, options) {
24110
- let { default: fastGlob } = await import("./out-66YUO4CT.js"), overridenOptions = options;
24203
+ let { default: fastGlob } = await import("./out-ZDSLKX4N.js"), overridenOptions = options;
24111
24204
  return options?.dot == null && (overridenOptions = { ...options, dot: !0 }), fastGlob(pattern, overridenOptions);
24112
24205
  }
24113
24206
  async function findPathUp(matcher, options) {
24114
24207
  let got = await findUp(matcher, options);
24115
24208
  return got ? normalizePath(got) : void 0;
24116
24209
  }
24117
- function matchGlob(key, pattern, options = { matchBase: !0 }) {
24210
+ function matchGlob(key, pattern, options) {
24118
24211
  return minimatch(key, pattern, options);
24119
24212
  }
24120
24213
 
@@ -24222,11 +24315,12 @@ function treeKill(pid = process.pid, killSignal = "SIGTERM", killRoot = !0, call
24222
24315
  }
24223
24316
  function adaptedTreeKill(pid, killSignal, killRoot, callback) {
24224
24317
  let rootPid = typeof pid == "number" ? pid.toString() : pid;
24225
- if (Number.isNaN(rootPid)) {
24226
- if (callback)
24227
- return callback(new Error("pid must be a number"));
24228
- throw new Error("pid must be a number");
24229
- }
24318
+ if (Number.isNaN(rootPid))
24319
+ if (callback) {
24320
+ callback(new Error("pid must be a number"));
24321
+ return;
24322
+ } else
24323
+ throw new Error("pid must be a number");
24230
24324
  let tree = {};
24231
24325
  tree[rootPid] = [];
24232
24326
  let pidsToProcess = /* @__PURE__ */ new Set();
@@ -24259,12 +24353,13 @@ function killAll(tree, killSignal, rootPid, killRoot, callback) {
24259
24353
  }), pid === rootPid && killRoot && !killed.has(pid) && (killPid(pid, killSignal), killed.add(pid));
24260
24354
  });
24261
24355
  } catch (err) {
24262
- if (callback)
24263
- return callback(err);
24264
- throw err;
24356
+ if (callback) {
24357
+ callback(err);
24358
+ return;
24359
+ } else
24360
+ throw err;
24265
24361
  }
24266
- if (callback)
24267
- return callback();
24362
+ callback && callback();
24268
24363
  }
24269
24364
  function killPid(pid, killSignal) {
24270
24365
  try {
@@ -24281,8 +24376,13 @@ function buildProcessTree(parentPid, tree, pidsToProcess, spawnChildProcessesLis
24281
24376
  allData += dataStr;
24282
24377
  });
24283
24378
  let onClose = (code) => {
24284
- if (pidsToProcess.delete(parentPid), code !== 0)
24285
- return pidsToProcess.size === 0 ? cb() : void 0;
24379
+ if (pidsToProcess.delete(parentPid), code !== 0) {
24380
+ if (pidsToProcess.size === 0) {
24381
+ cb();
24382
+ return;
24383
+ }
24384
+ return;
24385
+ }
24286
24386
  allData.trim().split(`
24287
24387
  `).forEach(function(line) {
24288
24388
  let match2 = line.match(/^(\d+)\s(.*)$/);
@@ -25155,7 +25255,7 @@ async function exec2(command, args, options) {
25155
25255
  if (aborted)
25156
25256
  return;
25157
25257
  if (options?.externalErrorHandler)
25158
- await options?.externalErrorHandler(processError);
25258
+ await options.externalErrorHandler(processError);
25159
25259
  else {
25160
25260
  let abortError = new ExternalError(processError.message, command, args);
25161
25261
  throw abortError.stack = processError.stack, abortError;
@@ -25279,7 +25379,7 @@ async function fetchSpinPort(service, portEnvName, basePath = "/run") {
25279
25379
  continue;
25280
25380
  }
25281
25381
  let match2 = config.contentPattern.exec(fileContent);
25282
- if (match2 && match2[1] && !isNaN(parseInt(match2[1], 10)))
25382
+ if (match2?.[1] && !isNaN(parseInt(match2[1], 10)))
25283
25383
  return parseInt(match2[1], 10);
25284
25384
  }
25285
25385
  }
@@ -25382,9 +25482,6 @@ function alwaysLogMetrics(env2 = process.env) {
25382
25482
  function firstPartyDev(env2 = process.env) {
25383
25483
  return isTruthy(env2[environmentVariables.firstPartyDev]);
25384
25484
  }
25385
- function useDeviceAuth(env2 = process.env) {
25386
- return !isTruthy(env2[environmentVariables.accessCodeAuth]) || isTruthy(env2[environmentVariables.deviceAuth]) || isCloudEnvironment(env2);
25387
- }
25388
25485
  function useThemebundling(env2 = process.env) {
25389
25486
  return !isTruthy(env2[environmentVariables.noThemeBundling]);
25390
25487
  }
@@ -29420,7 +29517,7 @@ var import_react25 = __toESM(require_react(), 1), DOT = "\u2022", List = ({ titl
29420
29517
  let ListItem = ({ item, color: color2, bullet: bullet2, index, ordered: ordered2 }) => import_react25.default.createElement(
29421
29518
  Box_default,
29422
29519
  { key: index, marginLeft: margin ? 2 : 0 },
29423
- import_react25.default.createElement(Text, { color: color2 }, `${ordered2 ? `${index + 1}.` : bullet2}`),
29520
+ import_react25.default.createElement(Text, { color: color2 }, ordered2 ? `${index + 1}.` : bullet2),
29424
29521
  import_react25.default.createElement(
29425
29522
  Box_default,
29426
29523
  { flexGrow: 1, marginLeft: 1 },
@@ -29684,7 +29781,7 @@ function consoleWarn(message) {
29684
29781
  console.warn(withOrWithoutStyle(message));
29685
29782
  }
29686
29783
  function outputWhereAppropriate(logLevel, logger, message, options = { skipUIEvent: !1 }) {
29687
- shouldOutput(logLevel) && (logger instanceof Writable ? logger.write(message) : logger(message, logLevel), options?.skipUIEvent || recordUIEvent({ type: "output", properties: { content: message } }));
29784
+ shouldOutput(logLevel) && (logger instanceof Writable ? logger.write(message) : logger(message, logLevel), options.skipUIEvent || recordUIEvent({ type: "output", properties: { content: message } }));
29688
29785
  }
29689
29786
  function withOrWithoutStyle(message) {
29690
29787
  return shouldDisplayColors() ? message : unstyled(message);
@@ -29808,7 +29905,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
29808
29905
  try {
29809
29906
  await getAndSet();
29810
29907
  } catch (error) {
29811
- let { sendErrorToBugsnag } = await import("./error-handler-EORUUIBK.js");
29908
+ let { sendErrorToBugsnag } = await import("./error-handler-HMFDDM23.js");
29812
29909
  await sendErrorToBugsnag(error, "unexpected_error");
29813
29910
  }
29814
29911
  }, durationStack = [];
@@ -30247,7 +30344,9 @@ var Stdout = class extends EventEmitter3 {
30247
30344
  unmount: instance2.unmount
30248
30345
  };
30249
30346
  };
30250
- function handleCtrlC(input, key, exit = () => treeKill(process.pid, "SIGINT")) {
30347
+ function handleCtrlC(input, key, exit = () => {
30348
+ treeKill(process.pid, "SIGINT");
30349
+ }) {
30251
30350
  input === "c" && key.ctrl && exit();
30252
30351
  }
30253
30352
 
@@ -30530,6 +30629,7 @@ init_cjs_shims();
30530
30629
  var import_react39 = __toESM(require_react(), 1), InfoTable = ({ table }) => {
30531
30630
  let sections = Array.isArray(table) ? table : Object.keys(table).map((header) => ({
30532
30631
  header,
30632
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
30533
30633
  items: table[header],
30534
30634
  color: void 0,
30535
30635
  helperText: void 0,
@@ -30572,7 +30672,7 @@ function useAbortSignal(abortSignal, onAbort = noop2) {
30572
30672
  let { exit: unmountInk } = use_app_default(), [isAborted, setIsAborted] = (0, import_react40.useState)(!1);
30573
30673
  return (0, import_react40.useLayoutEffect)(() => {
30574
30674
  abortSignal?.addEventListener("abort", () => {
30575
- let abortWithError = abortSignal?.reason.message === "AbortError" ? void 0 : abortSignal?.reason;
30675
+ let abortWithError = abortSignal.reason.message === "AbortError" ? void 0 : abortSignal.reason;
30576
30676
  onAbort(abortWithError).then(() => {
30577
30677
  setIsAborted(!0), unmountInk(abortWithError);
30578
30678
  }).catch(() => {
@@ -30930,7 +31030,7 @@ function SelectInputInner({ items: rawItems, initialItems = rawItems, onChange,
30930
31030
  let item = items.find((item2) => item2.value === state.value);
30931
31031
  item && onSubmit && onSubmit(item);
30932
31032
  }
30933
- enableShortcuts && input.length > 0 && Object.values(key).every((value) => value === !1) ? handleShortcuts(input) : handleArrows(key);
31033
+ enableShortcuts && input.length > 0 && Object.values(key).every((value) => !value) ? handleShortcuts(input) : handleArrows(key);
30934
31034
  }, { isActive: focus });
30935
31035
  let { twoThirds } = useLayout();
30936
31036
  if (loading)
@@ -31125,7 +31225,7 @@ var import_react51 = __toESM(require_react(), 1), loadingBarChar = "\u2580", Tas
31125
31225
  })(TasksState || (TasksState = {}));
31126
31226
  async function runTask2(task, ctx) {
31127
31227
  task.retryCount = 0, task.errors = [];
31128
- let retry = task?.retry && task?.retry > 0 ? task.retry + 1 : 1;
31228
+ let retry = task.retry && task.retry > 0 ? task.retry + 1 : 1;
31129
31229
  for (let retries = 1; retries <= retry; retries++)
31130
31230
  try {
31131
31231
  return task.skip?.(ctx) ? void 0 : await task.task(ctx, task);
@@ -31371,7 +31471,7 @@ async function renderAutocompletePrompt({ renderOptions, ...props }, uiDebugOpti
31371
31471
  search(term) {
31372
31472
  let lowerTerm = term.toLowerCase();
31373
31473
  return Promise.resolve({
31374
- data: props.choices.filter((item) => item.label.toLowerCase().includes(lowerTerm) || item.group && item.group.toLowerCase().includes(lowerTerm))
31474
+ data: props.choices.filter((item) => item.label.toLowerCase().includes(lowerTerm) || item.group?.toLowerCase().includes(lowerTerm))
31375
31475
  });
31376
31476
  },
31377
31477
  ...props
@@ -31405,7 +31505,9 @@ async function renderTasks(tasks, { renderOptions } = {}) {
31405
31505
  render2(import_react54.default.createElement(Tasks, { tasks, onComplete: resolve }), {
31406
31506
  ...renderOptions,
31407
31507
  exitOnCtrlC: !1
31408
- }).then(() => resetRecordedSleep()).catch(reject);
31508
+ }).then(() => {
31509
+ resetRecordedSleep();
31510
+ }).catch(reject);
31409
31511
  });
31410
31512
  }
31411
31513
  async function renderTextPrompt({ renderOptions, ...props }, uiDebugOptions = defaultUIDebugOptions) {
@@ -31565,6 +31667,7 @@ export {
31565
31667
  printEventsJson,
31566
31668
  require_react,
31567
31669
  ansi_escapes_default2 as ansi_escapes_default,
31670
+ require_signal_exit,
31568
31671
  require_scheduler,
31569
31672
  stripAnsi,
31570
31673
  sliceAnsi,
@@ -31639,7 +31742,6 @@ export {
31639
31742
  alwaysLogAnalytics,
31640
31743
  alwaysLogMetrics,
31641
31744
  firstPartyDev,
31642
- useDeviceAuth,
31643
31745
  useThemebundling,
31644
31746
  useEmbeddedThemeCLI,
31645
31747
  gitpodURL,
@@ -31766,4 +31868,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31766
31868
  * LICENSE file in the root directory of this source tree.
31767
31869
  *)
31768
31870
  */
31769
- //# sourceMappingURL=chunk-D72SCNZ2.js.map
31871
+ //# sourceMappingURL=chunk-XQBHX6FC.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-D72SCNZ2.js";
4
+ } from "./chunk-XQBHX6FC.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-POZ5MGPT.js";
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
33
33
  export {
34
34
  mockAndCaptureOutput
35
35
  };
36
- //# sourceMappingURL=chunk-FIAUTHMT.js.map
36
+ //# sourceMappingURL=chunk-YC5ZCSKV.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  logout
3
- } from "./chunk-DD5ULVKP.js";
3
+ } from "./chunk-FCPMBTDR.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-EUBA2XGP.js";
6
+ } from "./chunk-NDBAW6KJ.js";
7
7
  import {
8
8
  outputSuccess
9
- } from "./chunk-D72SCNZ2.js";
9
+ } from "./chunk-XQBHX6FC.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-POZ5MGPT.js";
@@ -25,4 +25,4 @@ var Logout = class extends base_command_default {
25
25
  export {
26
26
  Logout
27
27
  };
28
- //# sourceMappingURL=chunk-JAH3NBCG.js.map
28
+ //# sourceMappingURL=chunk-YYE7F3MT.js.map
@@ -1,32 +1,30 @@
1
1
  import {
2
2
  Logout
3
- } from "../../../chunk-JAH3NBCG.js";
4
- import "../../../chunk-DD5ULVKP.js";
5
- import "../../../chunk-EUBA2XGP.js";
6
- import "../../../chunk-NCUKAORS.js";
7
- import "../../../chunk-WUA6LTEH.js";
8
- import "../../../chunk-7PUJMPXN.js";
3
+ } from "../../../chunk-YYE7F3MT.js";
4
+ import "../../../chunk-FCPMBTDR.js";
5
+ import "../../../chunk-NDBAW6KJ.js";
6
+ import "../../../chunk-7ZKC5ILI.js";
7
+ import "../../../chunk-GZPZCHO4.js";
8
+ import "../../../chunk-OBGMH362.js";
9
9
  import "../../../chunk-VSLR7ET4.js";
10
- import "../../../chunk-JAQZDU4S.js";
11
- import "../../../chunk-RUR45G5U.js";
10
+ import "../../../chunk-C5PPIQTU.js";
11
+ import "../../../chunk-5CWXBRLN.js";
12
12
  import "../../../chunk-BYPQXSAL.js";
13
13
  import "../../../chunk-O5K4AU7Q.js";
14
- import "../../../chunk-A3DV6VXO.js";
14
+ import "../../../chunk-E4UK3DDW.js";
15
15
  import "../../../chunk-NLUGD7PZ.js";
16
- import "../../../chunk-D72SCNZ2.js";
17
- import "../../../chunk-QETDXAFX.js";
18
- import "../../../chunk-NZDBLGNM.js";
19
- import "../../../chunk-BFQFJ7IZ.js";
16
+ import "../../../chunk-XQBHX6FC.js";
17
+ import "../../../chunk-P7JUHQKL.js";
18
+ import "../../../chunk-27ILOE3X.js";
20
19
  import "../../../chunk-SNOECVP4.js";
21
- import "../../../chunk-2AW6NZQ5.js";
22
20
  import "../../../chunk-6XKWVDB6.js";
23
21
  import "../../../chunk-UBB7JKND.js";
24
22
  import "../../../chunk-T2GATXSP.js";
25
23
  import "../../../chunk-XVNW332R.js";
26
- import "../../../chunk-LAPJDMM4.js";
24
+ import "../../../chunk-A3JXD7N7.js";
27
25
  import "../../../chunk-7Q3MMWAC.js";
28
- import "../../../chunk-F27QYMO7.js";
29
- import "../../../chunk-ZFVK6EQX.js";
26
+ import "../../../chunk-MX4RJDBM.js";
27
+ import "../../../chunk-NB4NLOEJ.js";
30
28
  import "../../../chunk-522OB3EU.js";
31
29
  import "../../../chunk-PNN7RS7Y.js";
32
30
  import "../../../chunk-POZ5MGPT.js";
@@ -1,43 +1,41 @@
1
1
  import {
2
2
  mockAndCaptureOutput
3
- } from "../../../chunk-FIAUTHMT.js";
3
+ } from "../../../chunk-YC5ZCSKV.js";
4
4
  import {
5
5
  Logout
6
- } from "../../../chunk-JAH3NBCG.js";
6
+ } from "../../../chunk-YYE7F3MT.js";
7
7
  import {
8
8
  logout
9
- } from "../../../chunk-DD5ULVKP.js";
9
+ } from "../../../chunk-FCPMBTDR.js";
10
10
  import {
11
11
  describe,
12
12
  globalExpect,
13
13
  test,
14
14
  vi
15
15
  } from "../../../chunk-ZGHNMRBX.js";
16
- import "../../../chunk-EUBA2XGP.js";
17
- import "../../../chunk-NCUKAORS.js";
18
- import "../../../chunk-WUA6LTEH.js";
19
- import "../../../chunk-7PUJMPXN.js";
16
+ import "../../../chunk-NDBAW6KJ.js";
17
+ import "../../../chunk-7ZKC5ILI.js";
18
+ import "../../../chunk-GZPZCHO4.js";
19
+ import "../../../chunk-OBGMH362.js";
20
20
  import "../../../chunk-VSLR7ET4.js";
21
- import "../../../chunk-JAQZDU4S.js";
22
- import "../../../chunk-RUR45G5U.js";
21
+ import "../../../chunk-C5PPIQTU.js";
22
+ import "../../../chunk-5CWXBRLN.js";
23
23
  import "../../../chunk-BYPQXSAL.js";
24
24
  import "../../../chunk-O5K4AU7Q.js";
25
- import "../../../chunk-A3DV6VXO.js";
25
+ import "../../../chunk-E4UK3DDW.js";
26
26
  import "../../../chunk-NLUGD7PZ.js";
27
- import "../../../chunk-D72SCNZ2.js";
28
- import "../../../chunk-QETDXAFX.js";
29
- import "../../../chunk-NZDBLGNM.js";
30
- import "../../../chunk-BFQFJ7IZ.js";
27
+ import "../../../chunk-XQBHX6FC.js";
28
+ import "../../../chunk-P7JUHQKL.js";
29
+ import "../../../chunk-27ILOE3X.js";
31
30
  import "../../../chunk-SNOECVP4.js";
32
- import "../../../chunk-2AW6NZQ5.js";
33
31
  import "../../../chunk-6XKWVDB6.js";
34
32
  import "../../../chunk-UBB7JKND.js";
35
33
  import "../../../chunk-T2GATXSP.js";
36
34
  import "../../../chunk-XVNW332R.js";
37
- import "../../../chunk-LAPJDMM4.js";
35
+ import "../../../chunk-A3JXD7N7.js";
38
36
  import "../../../chunk-7Q3MMWAC.js";
39
- import "../../../chunk-F27QYMO7.js";
40
- import "../../../chunk-ZFVK6EQX.js";
37
+ import "../../../chunk-MX4RJDBM.js";
38
+ import "../../../chunk-NB4NLOEJ.js";
41
39
  import "../../../chunk-522OB3EU.js";
42
40
  import "../../../chunk-PNN7RS7Y.js";
43
41
  import {
@@ -1,31 +1,29 @@
1
1
  import {
2
2
  CommandFlags
3
- } from "../../../chunk-GDKBDEZV.js";
4
- import "../../../chunk-EUBA2XGP.js";
5
- import "../../../chunk-NCUKAORS.js";
6
- import "../../../chunk-WUA6LTEH.js";
7
- import "../../../chunk-7PUJMPXN.js";
3
+ } from "../../../chunk-3ABJXNVW.js";
4
+ import "../../../chunk-NDBAW6KJ.js";
5
+ import "../../../chunk-7ZKC5ILI.js";
6
+ import "../../../chunk-GZPZCHO4.js";
7
+ import "../../../chunk-OBGMH362.js";
8
8
  import "../../../chunk-VSLR7ET4.js";
9
- import "../../../chunk-JAQZDU4S.js";
10
- import "../../../chunk-RUR45G5U.js";
9
+ import "../../../chunk-C5PPIQTU.js";
10
+ import "../../../chunk-5CWXBRLN.js";
11
11
  import "../../../chunk-BYPQXSAL.js";
12
12
  import "../../../chunk-O5K4AU7Q.js";
13
- import "../../../chunk-A3DV6VXO.js";
13
+ import "../../../chunk-E4UK3DDW.js";
14
14
  import "../../../chunk-NLUGD7PZ.js";
15
- import "../../../chunk-D72SCNZ2.js";
16
- import "../../../chunk-QETDXAFX.js";
17
- import "../../../chunk-NZDBLGNM.js";
18
- import "../../../chunk-BFQFJ7IZ.js";
15
+ import "../../../chunk-XQBHX6FC.js";
16
+ import "../../../chunk-P7JUHQKL.js";
17
+ import "../../../chunk-27ILOE3X.js";
19
18
  import "../../../chunk-SNOECVP4.js";
20
- import "../../../chunk-2AW6NZQ5.js";
21
19
  import "../../../chunk-6XKWVDB6.js";
22
20
  import "../../../chunk-UBB7JKND.js";
23
21
  import "../../../chunk-T2GATXSP.js";
24
22
  import "../../../chunk-XVNW332R.js";
25
- import "../../../chunk-LAPJDMM4.js";
23
+ import "../../../chunk-A3JXD7N7.js";
26
24
  import "../../../chunk-7Q3MMWAC.js";
27
- import "../../../chunk-F27QYMO7.js";
28
- import "../../../chunk-ZFVK6EQX.js";
25
+ import "../../../chunk-MX4RJDBM.js";
26
+ import "../../../chunk-NB4NLOEJ.js";
29
27
  import "../../../chunk-522OB3EU.js";
30
28
  import "../../../chunk-PNN7RS7Y.js";
31
29
  import "../../../chunk-POZ5MGPT.js";
@@ -1,32 +1,30 @@
1
1
  import {
2
2
  Catalog
3
- } from "../../../chunk-OBX5DIH4.js";
4
- import "../../../chunk-WJBW5QHV.js";
5
- import "../../../chunk-EUBA2XGP.js";
6
- import "../../../chunk-NCUKAORS.js";
7
- import "../../../chunk-WUA6LTEH.js";
8
- import "../../../chunk-7PUJMPXN.js";
3
+ } from "../../../chunk-OFXRW54F.js";
4
+ import "../../../chunk-7FIKIM5M.js";
5
+ import "../../../chunk-NDBAW6KJ.js";
6
+ import "../../../chunk-7ZKC5ILI.js";
7
+ import "../../../chunk-GZPZCHO4.js";
8
+ import "../../../chunk-OBGMH362.js";
9
9
  import "../../../chunk-VSLR7ET4.js";
10
- import "../../../chunk-JAQZDU4S.js";
11
- import "../../../chunk-RUR45G5U.js";
10
+ import "../../../chunk-C5PPIQTU.js";
11
+ import "../../../chunk-5CWXBRLN.js";
12
12
  import "../../../chunk-BYPQXSAL.js";
13
13
  import "../../../chunk-O5K4AU7Q.js";
14
- import "../../../chunk-A3DV6VXO.js";
14
+ import "../../../chunk-E4UK3DDW.js";
15
15
  import "../../../chunk-NLUGD7PZ.js";
16
- import "../../../chunk-D72SCNZ2.js";
17
- import "../../../chunk-QETDXAFX.js";
18
- import "../../../chunk-NZDBLGNM.js";
19
- import "../../../chunk-BFQFJ7IZ.js";
16
+ import "../../../chunk-XQBHX6FC.js";
17
+ import "../../../chunk-P7JUHQKL.js";
18
+ import "../../../chunk-27ILOE3X.js";
20
19
  import "../../../chunk-SNOECVP4.js";
21
- import "../../../chunk-2AW6NZQ5.js";
22
20
  import "../../../chunk-6XKWVDB6.js";
23
21
  import "../../../chunk-UBB7JKND.js";
24
22
  import "../../../chunk-T2GATXSP.js";
25
23
  import "../../../chunk-XVNW332R.js";
26
- import "../../../chunk-LAPJDMM4.js";
24
+ import "../../../chunk-A3JXD7N7.js";
27
25
  import "../../../chunk-7Q3MMWAC.js";
28
- import "../../../chunk-F27QYMO7.js";
29
- import "../../../chunk-ZFVK6EQX.js";
26
+ import "../../../chunk-MX4RJDBM.js";
27
+ import "../../../chunk-NB4NLOEJ.js";
30
28
  import "../../../chunk-522OB3EU.js";
31
29
  import "../../../chunk-PNN7RS7Y.js";
32
30
  import "../../../chunk-POZ5MGPT.js";