@shopify/cli 3.68.1 → 3.69.1

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-X4VIZNM7.js → chunk-4P6VDKXH.js} +2 -2
  12. package/dist/{chunk-6RT7XCLB.js → chunk-4UO6LFBD.js} +5 -5
  13. package/dist/{chunk-SFSTMK3J.js → chunk-5W3WRWHE.js} +3 -3
  14. package/dist/{chunk-MS2XBA2O.js → chunk-7SCNBKRX.js} +7 -7
  15. package/dist/{chunk-LAPJDMM4.js → chunk-A3JXD7N7.js} +2 -2
  16. package/dist/{chunk-N2B5M33U.js → chunk-CH6PR2VT.js} +3 -3
  17. package/dist/{chunk-SARPUMOJ.js → chunk-DQISYPN6.js} +4 -4
  18. package/dist/{chunk-3Q52FLVU.js → chunk-DYVC757D.js} +3 -3
  19. package/dist/{chunk-EPBXQ43B.js → chunk-E4FPHMGU.js} +8 -8
  20. package/dist/{chunk-JEUAVIWO.js → chunk-EFRDEP5S.js} +76 -77
  21. package/dist/{chunk-QNE3KDXA.js → chunk-EL4JXI6O.js} +2 -2
  22. package/dist/{chunk-CLB5CEKJ.js → chunk-ERVB6ERU.js} +3 -3
  23. package/dist/{chunk-NPVFC3AI.js → chunk-ITNHP733.js} +4 -4
  24. package/dist/{chunk-O2TXYCMU.js → chunk-JECUABVU.js} +3 -3
  25. package/dist/{chunk-S3KCQ67R.js → chunk-K55EL7HQ.js} +11 -11
  26. package/dist/{chunk-6H3CV7RL.js → chunk-KIVJKHH4.js} +3 -3
  27. package/dist/{chunk-V54N7BU5.js → chunk-KOQHK34U.js} +3 -3
  28. package/dist/{chunk-6MAEOVS3.js → chunk-KWVMII6E.js} +3 -3
  29. package/dist/{chunk-XPDRDFSD.js → chunk-KXCAVMHA.js} +3 -3
  30. package/dist/{chunk-6ZDQFSSJ.js → chunk-LQ7IL4AX.js} +142 -860
  31. package/dist/{chunk-M7RWRKXK.js → chunk-LSXK7YFC.js} +4 -4
  32. package/dist/{chunk-YESRKQ2L.js → chunk-LXEX6UNB.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-RUY5HVC5.js → chunk-OA6RDR4W.js} +2 -2
  36. package/dist/{chunk-QAP5YFY6.js → chunk-OFSGLPHJ.js} +2 -2
  37. package/dist/{chunk-NZDBLGNM.js → chunk-P7JUHQKL.js} +1 -2
  38. package/dist/{chunk-3M35CLHM.js → chunk-PZSU4QTH.js} +2 -2
  39. package/dist/{chunk-GLV27A4V.js → chunk-SS3JYL5S.js} +2 -2
  40. package/dist/{chunk-HWFFJANJ.js → chunk-SSVHNTMB.js} +3 -3
  41. package/dist/{chunk-7MDO7W7X.js → chunk-TM426SS3.js} +3 -3
  42. package/dist/{chunk-NOB736ZC.js → chunk-TODOEE5F.js} +3 -3
  43. package/dist/{chunk-7S76TS4X.js → chunk-TRFLZOJU.js} +5 -5
  44. package/dist/{chunk-72AFLINH.js → chunk-VSXWSKVK.js} +4 -4
  45. package/dist/{chunk-YGWIVVUL.js → chunk-VUQJSBXL.js} +161 -39
  46. package/dist/{chunk-GKSNOFYA.js → chunk-WOBGT6C6.js} +2 -2
  47. package/dist/{chunk-BZ2F2UZZ.js → chunk-YEITDZ7O.js} +4 -4
  48. package/dist/{chunk-JF3XJON5.js → chunk-YV6SWFDE.js} +5 -5
  49. package/dist/{chunk-43SYBNY3.js → chunk-ZKXBLV2V.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-KLQXTO4F.js → custom-oclif-loader-ETQSAFQG.js} +9 -11
  85. package/dist/{del-EL3PLWCY.js → del-7ZS2Z64N.js} +4 -4
  86. package/dist/{error-handler-5FD7IHCB.js → error-handler-ITARI4R7.js} +13 -15
  87. package/dist/hooks/postrun.js +14 -15
  88. package/dist/hooks/prerun.js +12 -14
  89. package/dist/index.js +4496 -3687
  90. package/dist/{lib-4WCTNKJK.js → lib-JHUCJTHS.js} +5 -6
  91. package/dist/{local-LNHYBD2A.js → local-JOQLVNNB.js} +7 -11
  92. package/dist/{morph-WDFBUXWF.js → morph-QZYXTRWT.js} +11 -11
  93. package/dist/{node-Y6VIULWD.js → node-XBEXHDBO.js} +18 -20
  94. package/dist/{node-package-manager-6CQ6226U.js → node-package-manager-EQM2DXHD.js} +8 -10
  95. package/dist/out-ZDSLKX4N.js +7 -0
  96. package/dist/{system-LDMV4BPS.js → system-VHEQK233.js} +7 -9
  97. package/dist/tsconfig.tsbuildinfo +1 -1
  98. package/dist/{ui-PA5ER7II.js → ui-SWA4K4YR.js} +7 -9
  99. package/dist/{workerd-APENUASI.js → workerd-QAI4NP7E.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
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderConcurrent,
3
3
  renderTasks
4
- } from "./chunk-YGWIVVUL.js";
4
+ } from "./chunk-VUQJSBXL.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-POZ5MGPT.js";
@@ -43,4 +43,4 @@ async function asyncTasks() {
43
43
  export {
44
44
  asyncTasks
45
45
  };
46
- //# sourceMappingURL=chunk-RUY5HVC5.js.map
46
+ //# sourceMappingURL=chunk-OA6RDR4W.js.map
@@ -2,7 +2,7 @@ import {
2
2
  execa,
3
3
  outputContent,
4
4
  outputDebug
5
- } from "./chunk-YGWIVVUL.js";
5
+ } from "./chunk-VUQJSBXL.js";
6
6
  import {
7
7
  init_cjs_shims
8
8
  } from "./chunk-POZ5MGPT.js";
@@ -60,4 +60,4 @@ export {
60
60
  username,
61
61
  platformAndArch
62
62
  };
63
- //# sourceMappingURL=chunk-QAP5YFY6.js.map
63
+ //# sourceMappingURL=chunk-OFSGLPHJ.js.map
@@ -54,7 +54,6 @@ var identifier = "shopify-cli", cacheFolder = () => process.env.XDG_CACHE_HOME ?
54
54
  alwaysLogAnalytics: "SHOPIFY_CLI_ALWAYS_LOG_ANALYTICS",
55
55
  alwaysLogMetrics: "SHOPIFY_CLI_ALWAYS_LOG_METRICS",
56
56
  deviceAuth: "SHOPIFY_CLI_DEVICE_AUTH",
57
- accessCodeAuth: "SHOPIFY_CLI_ACCESS_CODE_AUTH",
58
57
  enableCliRedirect: "SHOPIFY_CLI_ENABLE_CLI_REDIRECT",
59
58
  env: "SHOPIFY_CLI_ENV",
60
59
  firstPartyDev: "SHOPIFY_CLI_1P_DEV",
@@ -113,4 +112,4 @@ export {
113
112
  bugsnagApiKey,
114
113
  reportingRateLimit
115
114
  };
116
- //# sourceMappingURL=chunk-NZDBLGNM.js.map
115
+ //# sourceMappingURL=chunk-P7JUHQKL.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-YGWIVVUL.js";
4
+ } from "./chunk-VUQJSBXL.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-3M35CLHM.js.map
36
+ //# sourceMappingURL=chunk-PZSU4QTH.js.map
@@ -5,7 +5,7 @@ import {
5
5
  renderDangerousConfirmationPrompt,
6
6
  renderSelectPrompt,
7
7
  renderTextPrompt
8
- } from "./chunk-YGWIVVUL.js";
8
+ } from "./chunk-VUQJSBXL.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-GLV27A4V.js.map
179
+ //# sourceMappingURL=chunk-SS3JYL5S.js.map
@@ -4,7 +4,7 @@ import {
4
4
  findUpAndReadPackageJson,
5
5
  getPackageManager,
6
6
  usesWorkspaces
7
- } from "./chunk-6MAEOVS3.js";
7
+ } from "./chunk-KWVMII6E.js";
8
8
  import {
9
9
  AbortError,
10
10
  exec,
@@ -15,7 +15,7 @@ import {
15
15
  outputSuccess,
16
16
  outputToken,
17
17
  outputWarn
18
- } from "./chunk-YGWIVVUL.js";
18
+ } from "./chunk-VUQJSBXL.js";
19
19
  import {
20
20
  dirname,
21
21
  joinPath,
@@ -140,4 +140,4 @@ function usingPackageManager({ env } = { env: process.env }) {
140
140
  export {
141
141
  upgrade
142
142
  };
143
- //# sourceMappingURL=chunk-HWFFJANJ.js.map
143
+ //# sourceMappingURL=chunk-SSVHNTMB.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-MS2XBA2O.js";
3
+ } from "./chunk-7SCNBKRX.js";
4
4
  import {
5
5
  mkdir,
6
6
  outputInfo,
7
7
  rmdir,
8
8
  writeFile
9
- } from "./chunk-YGWIVVUL.js";
9
+ } from "./chunk-VUQJSBXL.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-7MDO7W7X.js.map
119
+ //# sourceMappingURL=chunk-TM426SS3.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-GKSNOFYA.js";
3
+ } from "./chunk-WOBGT6C6.js";
4
4
  import {
5
5
  outputInfo
6
- } from "./chunk-YGWIVVUL.js";
6
+ } from "./chunk-VUQJSBXL.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-POZ5MGPT.js";
@@ -17,4 +17,4 @@ async function versionService() {
17
17
  export {
18
18
  versionService
19
19
  };
20
- //# sourceMappingURL=chunk-NOB736ZC.js.map
20
+ //# sourceMappingURL=chunk-TODOEE5F.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  staticService
3
- } from "./chunk-QNE3KDXA.js";
3
+ } from "./chunk-EL4JXI6O.js";
4
4
  import {
5
5
  asyncTasks
6
- } from "./chunk-RUY5HVC5.js";
6
+ } from "./chunk-OA6RDR4W.js";
7
7
  import {
8
8
  prompts
9
- } from "./chunk-GLV27A4V.js";
9
+ } from "./chunk-SS3JYL5S.js";
10
10
  import {
11
11
  base_command_default
12
- } from "./chunk-MS2XBA2O.js";
12
+ } from "./chunk-7SCNBKRX.js";
13
13
  import {
14
14
  init_cjs_shims
15
15
  } from "./chunk-POZ5MGPT.js";
@@ -34,4 +34,4 @@ var KitchenSinkAll = class extends base_command_default {
34
34
  export {
35
35
  KitchenSinkAll
36
36
  };
37
- //# sourceMappingURL=chunk-7S76TS4X.js.map
37
+ //# sourceMappingURL=chunk-TRFLZOJU.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cliInstallCommand
3
- } from "./chunk-6H3CV7RL.js";
3
+ } from "./chunk-KIVJKHH4.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-MS2XBA2O.js";
6
+ } from "./chunk-7SCNBKRX.js";
7
7
  import {
8
8
  renderInfo
9
- } from "./chunk-YGWIVVUL.js";
9
+ } from "./chunk-VUQJSBXL.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-POZ5MGPT.js";
@@ -34,4 +34,4 @@ var Upgrade = class extends base_command_default {
34
34
  export {
35
35
  Upgrade
36
36
  };
37
- //# sourceMappingURL=chunk-72AFLINH.js.map
37
+ //# sourceMappingURL=chunk-VSXWSKVK.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,7 +24200,7 @@ 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) {
@@ -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);
@@ -29768,12 +29865,32 @@ function isFatal(error) {
29768
29865
  return !1;
29769
29866
  }
29770
29867
  }
29771
- function shouldReportError(error) {
29772
- return !isFatal(error) || error.type === FatalErrorType.Bug;
29868
+ function shouldReportErrorAsUnexpected(error) {
29869
+ if (!isFatal(error)) {
29870
+ if (error instanceof Error) {
29871
+ let message = error.message;
29872
+ return !errorMessageImpliesEnvironmentIssue(message);
29873
+ }
29874
+ return !0;
29875
+ }
29876
+ return error.type === FatalErrorType.Bug;
29773
29877
  }
29774
29878
  function cleanSingleStackTracePath(filePath) {
29775
29879
  return normalizePath(filePath).replace("file:/", "/").replace(/^\/?[A-Z]:/, "");
29776
29880
  }
29881
+ function errorMessageImpliesEnvironmentIssue(message) {
29882
+ return [
29883
+ "EPERM: operation not permitted, scandir",
29884
+ "EACCES: permission denied",
29885
+ "EPERM: operation not permitted, symlink",
29886
+ "This version of npm supports the following node versions",
29887
+ "EBUSY: resource busy or locked, rmdir",
29888
+ "getaddrinfo ENOTFOUND",
29889
+ "Client network socket disconnected before secure TLS connection was established",
29890
+ "spawn EPERM",
29891
+ "socket hang up"
29892
+ ].some((issueMessage) => message.includes(issueMessage));
29893
+ }
29777
29894
 
29778
29895
  // ../cli-kit/dist/public/node/abort.js
29779
29896
  init_cjs_shims();
@@ -29808,7 +29925,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
29808
29925
  try {
29809
29926
  await getAndSet();
29810
29927
  } catch (error) {
29811
- let { sendErrorToBugsnag } = await import("./error-handler-5FD7IHCB.js");
29928
+ let { sendErrorToBugsnag } = await import("./error-handler-ITARI4R7.js");
29812
29929
  await sendErrorToBugsnag(error, "unexpected_error");
29813
29930
  }
29814
29931
  }, durationStack = [];
@@ -30247,7 +30364,9 @@ var Stdout = class extends EventEmitter3 {
30247
30364
  unmount: instance2.unmount
30248
30365
  };
30249
30366
  };
30250
- function handleCtrlC(input, key, exit = () => treeKill(process.pid, "SIGINT")) {
30367
+ function handleCtrlC(input, key, exit = () => {
30368
+ treeKill(process.pid, "SIGINT");
30369
+ }) {
30251
30370
  input === "c" && key.ctrl && exit();
30252
30371
  }
30253
30372
 
@@ -30530,6 +30649,7 @@ init_cjs_shims();
30530
30649
  var import_react39 = __toESM(require_react(), 1), InfoTable = ({ table }) => {
30531
30650
  let sections = Array.isArray(table) ? table : Object.keys(table).map((header) => ({
30532
30651
  header,
30652
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
30533
30653
  items: table[header],
30534
30654
  color: void 0,
30535
30655
  helperText: void 0,
@@ -30572,7 +30692,7 @@ function useAbortSignal(abortSignal, onAbort = noop2) {
30572
30692
  let { exit: unmountInk } = use_app_default(), [isAborted, setIsAborted] = (0, import_react40.useState)(!1);
30573
30693
  return (0, import_react40.useLayoutEffect)(() => {
30574
30694
  abortSignal?.addEventListener("abort", () => {
30575
- let abortWithError = abortSignal?.reason.message === "AbortError" ? void 0 : abortSignal?.reason;
30695
+ let abortWithError = abortSignal.reason.message === "AbortError" ? void 0 : abortSignal.reason;
30576
30696
  onAbort(abortWithError).then(() => {
30577
30697
  setIsAborted(!0), unmountInk(abortWithError);
30578
30698
  }).catch(() => {
@@ -30930,7 +31050,7 @@ function SelectInputInner({ items: rawItems, initialItems = rawItems, onChange,
30930
31050
  let item = items.find((item2) => item2.value === state.value);
30931
31051
  item && onSubmit && onSubmit(item);
30932
31052
  }
30933
- enableShortcuts && input.length > 0 && Object.values(key).every((value) => value === !1) ? handleShortcuts(input) : handleArrows(key);
31053
+ enableShortcuts && input.length > 0 && Object.values(key).every((value) => !value) ? handleShortcuts(input) : handleArrows(key);
30934
31054
  }, { isActive: focus });
30935
31055
  let { twoThirds } = useLayout();
30936
31056
  if (loading)
@@ -31125,7 +31245,7 @@ var import_react51 = __toESM(require_react(), 1), loadingBarChar = "\u2580", Tas
31125
31245
  })(TasksState || (TasksState = {}));
31126
31246
  async function runTask2(task, ctx) {
31127
31247
  task.retryCount = 0, task.errors = [];
31128
- let retry = task?.retry && task?.retry > 0 ? task.retry + 1 : 1;
31248
+ let retry = task.retry && task.retry > 0 ? task.retry + 1 : 1;
31129
31249
  for (let retries = 1; retries <= retry; retries++)
31130
31250
  try {
31131
31251
  return task.skip?.(ctx) ? void 0 : await task.task(ctx, task);
@@ -31371,7 +31491,7 @@ async function renderAutocompletePrompt({ renderOptions, ...props }, uiDebugOpti
31371
31491
  search(term) {
31372
31492
  let lowerTerm = term.toLowerCase();
31373
31493
  return Promise.resolve({
31374
- data: props.choices.filter((item) => item.label.toLowerCase().includes(lowerTerm) || item.group && item.group.toLowerCase().includes(lowerTerm))
31494
+ data: props.choices.filter((item) => item.label.toLowerCase().includes(lowerTerm) || item.group?.toLowerCase().includes(lowerTerm))
31375
31495
  });
31376
31496
  },
31377
31497
  ...props
@@ -31405,7 +31525,9 @@ async function renderTasks(tasks, { renderOptions } = {}) {
31405
31525
  render2(import_react54.default.createElement(Tasks, { tasks, onComplete: resolve }), {
31406
31526
  ...renderOptions,
31407
31527
  exitOnCtrlC: !1
31408
- }).then(() => resetRecordedSleep()).catch(reject);
31528
+ }).then(() => {
31529
+ resetRecordedSleep();
31530
+ }).catch(reject);
31409
31531
  });
31410
31532
  }
31411
31533
  async function renderTextPrompt({ renderOptions, ...props }, uiDebugOptions = defaultUIDebugOptions) {
@@ -31565,6 +31687,7 @@ export {
31565
31687
  printEventsJson,
31566
31688
  require_react,
31567
31689
  ansi_escapes_default2 as ansi_escapes_default,
31690
+ require_signal_exit,
31568
31691
  require_scheduler,
31569
31692
  stripAnsi,
31570
31693
  sliceAnsi,
@@ -31607,7 +31730,7 @@ export {
31607
31730
  BugError,
31608
31731
  handler,
31609
31732
  errorMapper,
31610
- shouldReportError,
31733
+ shouldReportErrorAsUnexpected,
31611
31734
  cleanSingleStackTracePath,
31612
31735
  import_ts_error,
31613
31736
  npmRunPathEnv,
@@ -31639,7 +31762,6 @@ export {
31639
31762
  alwaysLogAnalytics,
31640
31763
  alwaysLogMetrics,
31641
31764
  firstPartyDev,
31642
- useDeviceAuth,
31643
31765
  useThemebundling,
31644
31766
  useEmbeddedThemeCLI,
31645
31767
  gitpodURL,
@@ -31766,4 +31888,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31766
31888
  * LICENSE file in the root directory of this source tree.
31767
31889
  *)
31768
31890
  */
31769
- //# sourceMappingURL=chunk-YGWIVVUL.js.map
31891
+ //# sourceMappingURL=chunk-VUQJSBXL.js.map
@@ -4,9 +4,9 @@ import {
4
4
 
5
5
  // ../cli-kit/dist/public/common/version.js
6
6
  init_cjs_shims();
7
- var CLI_KIT_VERSION = "3.68.1";
7
+ var CLI_KIT_VERSION = "3.69.1";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-GKSNOFYA.js.map
12
+ //# sourceMappingURL=chunk-WOBGT6C6.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-MS2XBA2O.js";
3
+ } from "./chunk-7SCNBKRX.js";
4
4
  import {
5
5
  renderTable,
6
6
  renderText
7
- } from "./chunk-YGWIVVUL.js";
7
+ } from "./chunk-VUQJSBXL.js";
8
8
  import {
9
9
  require_lib
10
- } from "./chunk-BFQFJ7IZ.js";
10
+ } from "./chunk-27ILOE3X.js";
11
11
  import {
12
12
  __toESM,
13
13
  init_cjs_shims
@@ -83,4 +83,4 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
83
83
  export {
84
84
  CommandFlags
85
85
  };
86
- //# sourceMappingURL=chunk-BZ2F2UZZ.js.map
86
+ //# sourceMappingURL=chunk-YEITDZ7O.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  demo
3
- } from "./chunk-X4VIZNM7.js";
3
+ } from "./chunk-4P6VDKXH.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-MS2XBA2O.js";
6
+ } from "./chunk-7SCNBKRX.js";
7
7
  import {
8
8
  readFile
9
- } from "./chunk-YGWIVVUL.js";
9
+ } from "./chunk-VUQJSBXL.js";
10
10
  import {
11
11
  require_lib
12
- } from "./chunk-BFQFJ7IZ.js";
12
+ } from "./chunk-27ILOE3X.js";
13
13
  import {
14
14
  cwd,
15
15
  resolvePath
@@ -56,4 +56,4 @@ var Demo = class _Demo extends base_command_default {
56
56
  export {
57
57
  Demo
58
58
  };
59
- //# sourceMappingURL=chunk-JF3XJON5.js.map
59
+ //# sourceMappingURL=chunk-YV6SWFDE.js.map
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-QSUS3GJF.js";
4
4
  import {
5
5
  demoStepsSchema
6
- } from "./chunk-X4VIZNM7.js";
6
+ } from "./chunk-4P6VDKXH.js";
7
7
  import {
8
8
  base_command_default
9
- } from "./chunk-MS2XBA2O.js";
9
+ } from "./chunk-7SCNBKRX.js";
10
10
  import {
11
11
  outputInfo,
12
12
  renderInfo
13
- } from "./chunk-YGWIVVUL.js";
13
+ } from "./chunk-VUQJSBXL.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-43SYBNY3.js.map
58
+ //# sourceMappingURL=chunk-ZKXBLV2V.js.map