@shopify/cli 3.59.3 → 3.60.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 (138) hide show
  1. package/dist/assets/cli-ruby/lib/project_types/extension/models/specification_handlers/theme_app_extension.rb +1 -1
  2. package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/proxy.rb +1 -1
  3. package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/syncer/extension_serve_job.rb +1 -18
  4. package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/auth_middleware.rb +1 -1
  5. package/dist/assets/cli-ruby/test/shopify-cli/theme/dev_server/proxy_test.rb +21 -8
  6. package/dist/{chokidar-DGBVSVUZ.js → chokidar-DOC6OXDL.js} +3 -3
  7. package/dist/chunk-23EONB5V.js +2488 -0
  8. package/dist/{chunk-TOONJ2CA.js → chunk-2EVDXDJS.js} +2 -2
  9. package/dist/{chunk-24FJTPDB.js → chunk-2T7IS53S.js} +4 -4
  10. package/dist/{chunk-AXXAG7WU.js → chunk-3JLUTHGR.js} +1 -1
  11. package/dist/{chunk-7ZP3BQHT.js → chunk-3MBQVTEX.js} +1 -1
  12. package/dist/{chunk-37WSDC6Z.js → chunk-3RAXFENB.js} +3 -3
  13. package/dist/{chunk-3MMF34G4.js → chunk-4AOK4O3R.js} +14196 -14093
  14. package/dist/{chunk-4N5YPEOH.js → chunk-4HU62A6V.js} +4 -4
  15. package/dist/{chunk-PNZIXRIF.js → chunk-55F2DQCB.js} +9 -2487
  16. package/dist/{chunk-7D6QIBBS.js → chunk-5R5555YE.js} +2 -2
  17. package/dist/{chunk-LIWGTANH.js → chunk-7ORYLSDK.js} +2 -2
  18. package/dist/{chunk-WBWFZ6IT.js → chunk-7P2SWIQY.js} +1 -1
  19. package/dist/{chunk-WD7SEY5L.js → chunk-7VU6FOLD.js} +6 -6
  20. package/dist/{chunk-FWZYDOOO.js → chunk-B4622FYO.js} +2 -2
  21. package/dist/{chunk-SMULJJG3.js → chunk-BE73NZXB.js} +1 -1
  22. package/dist/{chunk-SIH2DDL6.js → chunk-BIDUT2RV.js} +3 -3
  23. package/dist/{chunk-MWCOJGV6.js → chunk-BSOZ6PRB.js} +2 -2
  24. package/dist/{chunk-LJA4EOTX.js → chunk-BUQTR47W.js} +5 -5
  25. package/dist/{chunk-FS2KWH4D.js → chunk-DQNIIVBG.js} +3 -3
  26. package/dist/{chunk-53M3MKPI.js → chunk-EANTE4MT.js} +5 -5
  27. package/dist/{chunk-JCAIZOYO.js → chunk-FBB6KUZG.js} +1 -1
  28. package/dist/{chunk-SA32EMWV.js → chunk-FQIRJADJ.js} +1 -1
  29. package/dist/{chunk-RRHAA7U3.js → chunk-FVRSV2AX.js} +2 -2
  30. package/dist/{chunk-YLPWACJJ.js → chunk-FWGRGI4R.js} +1 -1
  31. package/dist/{chunk-OVCQRTZZ.js → chunk-G56QICQP.js} +3 -3
  32. package/dist/{chunk-M336AND6.js → chunk-G6FN5VUE.js} +2 -2
  33. package/dist/{chunk-566AK3QG.js → chunk-GXPKATXW.js} +1 -1
  34. package/dist/{chunk-CXG2USMP.js → chunk-IUHH3PST.js} +1 -1
  35. package/dist/{chunk-PAZZ5BCS.js → chunk-IZU2AQEQ.js} +2 -2
  36. package/dist/{chunk-Q3AO7F62.js → chunk-KDOLMUJB.js} +1 -1
  37. package/dist/{chunk-764QFYJX.js → chunk-KEIEB4WC.js} +4 -4
  38. package/dist/{chunk-HEOKQONH.js → chunk-LDKJK42D.js} +14 -11
  39. package/dist/{chunk-6MJ52OLD.js → chunk-LKGDG6WW.js} +1 -1
  40. package/dist/{chunk-BVGYIZ3O.js → chunk-M63RTPGR.js} +0 -7
  41. package/dist/chunk-MSXPXGEQ.js +176 -0
  42. package/dist/{chunk-GPBOTRYV.js → chunk-NAXATNVY.js} +9 -9
  43. package/dist/{chunk-ZQSNWZD4.js → chunk-NQYIB3IR.js} +3 -3
  44. package/dist/{chunk-QI5VKSMW.js → chunk-OVPEO3GL.js} +2 -2
  45. package/dist/{chunk-OIWSTE6V.js → chunk-PU5KGSLR.js} +3 -3
  46. package/dist/{chunk-WI3E2P3B.js → chunk-QTHWTF4X.js} +2 -2
  47. package/dist/{chunk-BEYT7IAV.js → chunk-RNLLSL24.js} +14 -10
  48. package/dist/{chunk-CYG4QPQ3.js → chunk-RQ24VTW4.js} +1 -1
  49. package/dist/{chunk-HVHJU6BK.js → chunk-RZVQGETB.js} +7 -7
  50. package/dist/{chunk-QBOF3CYT.js → chunk-T3QDR67D.js} +5 -5
  51. package/dist/{chunk-7SNGGY5B.js → chunk-TMGCRPEZ.js} +1 -1
  52. package/dist/{chunk-3CU2FNWB.js → chunk-TZ5DL7CA.js} +3 -3
  53. package/dist/{chunk-NLMW7YYN.js → chunk-U2VYZHIW.js} +5 -5
  54. package/dist/{chunk-TKNIQF4H.js → chunk-URD52LAO.js} +2 -2
  55. package/dist/{chunk-LOF3ZXQM.js → chunk-VNBOO6TJ.js} +64 -2
  56. package/dist/{chunk-YNJ3FUKX.js → chunk-W7VW72CK.js} +4 -4
  57. package/dist/{chunk-P52UWCZD.js → chunk-WCNR75S2.js} +1 -1
  58. package/dist/{chunk-DLDVLYHU.js → chunk-Y4AOSTJD.js} +20 -16
  59. package/dist/{chunk-IUKVZDDI.js → chunk-YVHTE4VJ.js} +3 -3
  60. package/dist/{chunk-GG6BKQB7.js → chunk-ZCRCEEIR.js} +4 -4
  61. package/dist/{chunk-SDNI4T2T.js → chunk-ZLSD2RNR.js} +14 -13
  62. package/dist/cli/commands/auth/logout.js +28 -28
  63. package/dist/cli/commands/auth/logout.test.js +30 -30
  64. package/dist/cli/commands/debug/command-flags.js +26 -26
  65. package/dist/cli/commands/demo/catalog.js +28 -28
  66. package/dist/cli/commands/demo/generate-file.js +29 -29
  67. package/dist/cli/commands/demo/index.js +27 -27
  68. package/dist/cli/commands/demo/print-ai-prompt.js +29 -29
  69. package/dist/cli/commands/docs/generate.js +26 -26
  70. package/dist/cli/commands/docs/generate.js.map +1 -1
  71. package/dist/cli/commands/docs/generate.test.js +30 -27
  72. package/dist/cli/commands/help.js +26 -26
  73. package/dist/cli/commands/hydrogen/init.js +26 -26
  74. package/dist/cli/commands/kitchen-sink/async.js +27 -27
  75. package/dist/cli/commands/kitchen-sink/async.test.js +28 -28
  76. package/dist/cli/commands/kitchen-sink/index.js +29 -29
  77. package/dist/cli/commands/kitchen-sink/index.test.js +30 -30
  78. package/dist/cli/commands/kitchen-sink/prompts.js +27 -27
  79. package/dist/cli/commands/kitchen-sink/prompts.test.js +28 -28
  80. package/dist/cli/commands/kitchen-sink/static.js +27 -27
  81. package/dist/cli/commands/kitchen-sink/static.test.js +28 -28
  82. package/dist/cli/commands/search.js +27 -27
  83. package/dist/cli/commands/upgrade.js +26 -26
  84. package/dist/cli/commands/upgrade.test.js +4 -4
  85. package/dist/cli/commands/version.js +27 -27
  86. package/dist/cli/commands/version.test.js +28 -28
  87. package/dist/cli/services/commands/search.js +16 -17
  88. package/dist/cli/services/commands/search.test.js +17 -18
  89. package/dist/cli/services/commands/version.js +19 -19
  90. package/dist/cli/services/commands/version.test.js +21 -21
  91. package/dist/cli/services/demo.js +17 -18
  92. package/dist/cli/services/demo.test.js +18 -19
  93. package/dist/cli/services/kitchen-sink/async.js +16 -17
  94. package/dist/cli/services/kitchen-sink/prompts.js +16 -17
  95. package/dist/cli/services/kitchen-sink/static.js +16 -17
  96. package/dist/cli/services/upgrade.js +18 -18
  97. package/dist/cli/services/upgrade.test.js +21 -21
  98. package/dist/{constants-OQPDSWGZ.js → constants-3B4PKIC7.js} +4 -4
  99. package/dist/{custom-oclif-loader-C3NJVUH5.js → custom-oclif-loader-2FLACCMK.js} +15 -16
  100. package/dist/{del-HVOV3MSN.js → del-5I7QSZXM.js} +7 -8
  101. package/dist/{devtools-SPNRC62Y.js → devtools-KQM4GF6J.js} +1 -1
  102. package/dist/error-handler-RU2ELIV6.js +37 -0
  103. package/dist/hooks/init.js +15 -16
  104. package/dist/hooks/postrun.js +23 -23
  105. package/dist/hooks/prerun.js +19 -19
  106. package/dist/{http-proxy-UXKO35LH.js → http-proxy-42DFA6MY.js} +2 -2
  107. package/dist/index.js +7398 -6797
  108. package/dist/{lib-2EBQB76J.js → lib-AAMRQUES.js} +3 -3
  109. package/dist/lib-KV4KCWH7.js +11 -0
  110. package/dist/{local-LOUQD2TP.js → local-IWFESFES.js} +15 -16
  111. package/dist/{magic-string.es-XWLPTYL2.js → magic-string.es-6WMSFIAX.js} +1 -1
  112. package/dist/{multipart-parser-KUMTOIY4.js → multipart-parser-O2BQODS2.js} +2 -2
  113. package/dist/{node-package-manager-HN2BURTH.js → node-package-manager-HBYFQNJQ.js} +17 -17
  114. package/dist/npa-VW3Y6UCQ.js +2262 -0
  115. package/dist/{open-4QOBUNAV.js → open-B7XFJJCK.js} +2 -2
  116. package/dist/out-MH5VOFOS.js +6 -0
  117. package/dist/{path-NJJ6ID3F.js → path-HO4HBKK5.js} +3 -3
  118. package/dist/system-KY2XFEXZ.js +28 -0
  119. package/dist/templates/ui-extensions/projects/web_pixel_extension/package.json.liquid +1 -1
  120. package/dist/templates/ui-extensions/projects/web_pixel_extension/src/index.liquid +1 -1
  121. package/dist/tsconfig.tsbuildinfo +1 -1
  122. package/dist/{ui-36MRS2GL.js → ui-MN3VE2TA.js} +15 -16
  123. package/oclif.manifest.json +115 -30
  124. package/package.json +7 -6
  125. package/dist/assets/cli-ruby/test/shopify-cli/theme/extension/syncer_test.rb +0 -82
  126. package/dist/chunk-F6GZ5SSL.js +0 -69
  127. package/dist/error-handler-WFXXE3PZ.js +0 -37
  128. package/dist/favicon-4808307e.ico +0 -0
  129. package/dist/index-878807df.js +0 -5
  130. package/dist/index-a69a7f3d.js +0 -7
  131. package/dist/index-e6f8190d.js +0 -953
  132. package/dist/lib-ZHR6CBL4.js +0 -12
  133. package/dist/out-K5X4ON7U.js +0 -6
  134. package/dist/package-9a1ede4a.json +0 -268
  135. package/dist/shell-FSGSHXVH.js +0 -2517
  136. package/dist/style-49513a24.css +0 -58
  137. package/dist/system-PSH5D5DY.js +0 -29
  138. package/dist/yarn-e8df42e5.js +0 -31
@@ -4,7 +4,7 @@ import {
4
4
  __require,
5
5
  __toESM,
6
6
  init_cjs_shims
7
- } from "./chunk-BVGYIZ3O.js";
7
+ } from "./chunk-M63RTPGR.js";
8
8
 
9
9
  // ../../node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.js
10
10
  var require_ansi_styles = __commonJS({
@@ -10185,7 +10185,7 @@ function parseErrorStacktrace(e, options = {}) {
10185
10185
  return stackFrames;
10186
10186
  }
10187
10187
  async function saveInlineSnapshots(environment, snapshots) {
10188
- const MagicString = (await import("./magic-string.es-XWLPTYL2.js")).default;
10188
+ const MagicString = (await import("./magic-string.es-6WMSFIAX.js")).default;
10189
10189
  const files = new Set(snapshots.map((i2) => i2.file));
10190
10190
  await Promise.all(Array.from(files).map(async (file) => {
10191
10191
  const snaps = snapshots.filter((i2) => i2.file === file);
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-SDNI4T2T.js";
4
+ } from "./chunk-ZLSD2RNR.js";
5
5
  import {
6
6
  init_cjs_shims
7
- } from "./chunk-BVGYIZ3O.js";
7
+ } from "./chunk-M63RTPGR.js";
8
8
 
9
9
  // ../cli-kit/src/public/node/testing/output.ts
10
10
  init_cjs_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_cjs_shims
3
- } from "./chunk-BVGYIZ3O.js";
3
+ } from "./chunk-M63RTPGR.js";
4
4
 
5
5
  // ../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/index.mjs
6
6
  init_cjs_shims();
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  errorHandler,
3
3
  registerCleanBugsnagErrorsFromWithinPlugins
4
- } from "./chunk-GPBOTRYV.js";
4
+ } from "./chunk-NAXATNVY.js";
5
5
  import {
6
6
  hashString
7
- } from "./chunk-LJA4EOTX.js";
7
+ } from "./chunk-BUQTR47W.js";
8
8
  import {
9
9
  AbortError,
10
10
  addPublicMetadata,
@@ -20,19 +20,19 @@ import {
20
20
  renderWarning,
21
21
  terminalSupportsRawMode,
22
22
  underscore
23
- } from "./chunk-SDNI4T2T.js";
23
+ } from "./chunk-ZLSD2RNR.js";
24
24
  import {
25
25
  require_lib
26
- } from "./chunk-3MMF34G4.js";
26
+ } from "./chunk-4AOK4O3R.js";
27
27
  import {
28
28
  cwd
29
- } from "./chunk-M336AND6.js";
29
+ } from "./chunk-G6FN5VUE.js";
30
30
  import {
31
31
  __commonJS,
32
32
  __require,
33
33
  __toESM,
34
34
  init_cjs_shims
35
- } from "./chunk-BVGYIZ3O.js";
35
+ } from "./chunk-M63RTPGR.js";
36
36
 
37
37
  // ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js
38
38
  var require_parser = __commonJS({
@@ -7,10 +7,10 @@ import {
7
7
  renderSuccess,
8
8
  renderTable,
9
9
  renderWarning
10
- } from "./chunk-SDNI4T2T.js";
10
+ } from "./chunk-ZLSD2RNR.js";
11
11
  import {
12
12
  init_cjs_shims
13
- } from "./chunk-BVGYIZ3O.js";
13
+ } from "./chunk-M63RTPGR.js";
14
14
 
15
15
  // src/cli/services/kitchen-sink/static.ts
16
16
  init_cjs_shims();
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __require,
4
4
  init_cjs_shims
5
- } from "./chunk-BVGYIZ3O.js";
5
+ } from "./chunk-M63RTPGR.js";
6
6
 
7
7
  // ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
8
8
  var require_windows = __commonJS({
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-WD7SEY5L.js";
3
+ } from "./chunk-7VU6FOLD.js";
4
4
  import {
5
5
  exec,
6
6
  outputInfo
7
- } from "./chunk-SDNI4T2T.js";
7
+ } from "./chunk-ZLSD2RNR.js";
8
8
  import {
9
9
  init_cjs_shims
10
- } from "./chunk-BVGYIZ3O.js";
10
+ } from "./chunk-M63RTPGR.js";
11
11
 
12
12
  // src/cli/commands/hydrogen/init.ts
13
13
  init_cjs_shims();
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  renderConcurrent,
3
3
  renderTasks
4
- } from "./chunk-SDNI4T2T.js";
4
+ } from "./chunk-ZLSD2RNR.js";
5
5
  import {
6
6
  init_cjs_shims
7
- } from "./chunk-BVGYIZ3O.js";
7
+ } from "./chunk-M63RTPGR.js";
8
8
 
9
9
  // src/cli/services/kitchen-sink/async.ts
10
10
  init_cjs_shims();
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  platformAndArch
3
- } from "./chunk-TKNIQF4H.js";
3
+ } from "./chunk-URD52LAO.js";
4
4
  import {
5
5
  getPackageManager,
6
6
  packageManagerFromUserAgent
7
- } from "./chunk-PNZIXRIF.js";
7
+ } from "./chunk-55F2DQCB.js";
8
8
  import {
9
9
  addPublicMetadata,
10
10
  addSensitiveMetadata,
@@ -12,13 +12,13 @@ import {
12
12
  cloudEnvironment,
13
13
  currentProcessIsGlobal,
14
14
  macAddress
15
- } from "./chunk-SDNI4T2T.js";
15
+ } from "./chunk-ZLSD2RNR.js";
16
16
  import {
17
17
  cwd
18
- } from "./chunk-M336AND6.js";
18
+ } from "./chunk-G6FN5VUE.js";
19
19
  import {
20
20
  init_cjs_shims
21
- } from "./chunk-BVGYIZ3O.js";
21
+ } from "./chunk-M63RTPGR.js";
22
22
 
23
23
  // ../cli-kit/src/private/node/analytics.ts
24
24
  init_cjs_shims();
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-WD7SEY5L.js";
3
+ } from "./chunk-7VU6FOLD.js";
4
4
  import {
5
5
  require_lib
6
- } from "./chunk-3MMF34G4.js";
6
+ } from "./chunk-4AOK4O3R.js";
7
7
  import {
8
8
  __toESM,
9
9
  init_cjs_shims
10
- } from "./chunk-BVGYIZ3O.js";
10
+ } from "./chunk-M63RTPGR.js";
11
11
 
12
12
  // src/cli/commands/help.ts
13
13
  init_cjs_shims();
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  staticService
3
- } from "./chunk-FWZYDOOO.js";
3
+ } from "./chunk-B4622FYO.js";
4
4
  import {
5
5
  asyncTasks
6
- } from "./chunk-MWCOJGV6.js";
6
+ } from "./chunk-BSOZ6PRB.js";
7
7
  import {
8
8
  prompts
9
- } from "./chunk-RRHAA7U3.js";
9
+ } from "./chunk-FVRSV2AX.js";
10
10
  import {
11
11
  base_command_default
12
- } from "./chunk-WD7SEY5L.js";
12
+ } from "./chunk-7VU6FOLD.js";
13
13
  import {
14
14
  init_cjs_shims
15
- } from "./chunk-BVGYIZ3O.js";
15
+ } from "./chunk-M63RTPGR.js";
16
16
 
17
17
  // src/cli/commands/kitchen-sink/index.ts
18
18
  init_cjs_shims();
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __require,
4
4
  init_cjs_shims
5
- } from "./chunk-BVGYIZ3O.js";
5
+ } from "./chunk-M63RTPGR.js";
6
6
 
7
7
  // ../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js
8
8
  var require_polyfills = __commonJS({
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __require,
4
4
  init_cjs_shims
5
- } from "./chunk-BVGYIZ3O.js";
5
+ } from "./chunk-M63RTPGR.js";
6
6
 
7
7
  // ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js
8
8
  var require_signals = __commonJS({
@@ -5,10 +5,10 @@ import {
5
5
  renderDangerousConfirmationPrompt,
6
6
  renderSelectPrompt,
7
7
  renderTextPrompt
8
- } from "./chunk-SDNI4T2T.js";
8
+ } from "./chunk-ZLSD2RNR.js";
9
9
  import {
10
10
  init_cjs_shims
11
- } from "./chunk-BVGYIZ3O.js";
11
+ } from "./chunk-M63RTPGR.js";
12
12
 
13
13
  // src/cli/services/kitchen-sink/prompts.ts
14
14
  init_cjs_shims();
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __require,
4
4
  init_cjs_shims
5
- } from "./chunk-BVGYIZ3O.js";
5
+ } from "./chunk-M63RTPGR.js";
6
6
 
7
7
  // ../../node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js
8
8
  var require_ms = __commonJS({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  z
3
- } from "./chunk-WBWFZ6IT.js";
3
+ } from "./chunk-7P2SWIQY.js";
4
4
  import {
5
5
  AbortError,
6
6
  BugError,
@@ -17,10 +17,10 @@ import {
17
17
  renderTextPrompt,
18
18
  renderWarning,
19
19
  sleep
20
- } from "./chunk-SDNI4T2T.js";
20
+ } from "./chunk-ZLSD2RNR.js";
21
21
  import {
22
22
  init_cjs_shims
23
- } from "./chunk-BVGYIZ3O.js";
23
+ } from "./chunk-M63RTPGR.js";
24
24
 
25
25
  // src/cli/services/demo.ts
26
26
  init_cjs_shims();
@@ -7,13 +7,13 @@ import {
7
7
  normalize,
8
8
  relative,
9
9
  resolve
10
- } from "./chunk-566AK3QG.js";
10
+ } from "./chunk-GXPKATXW.js";
11
11
  import {
12
12
  __commonJS,
13
13
  __require,
14
14
  __toESM,
15
15
  init_cjs_shims
16
- } from "./chunk-BVGYIZ3O.js";
16
+ } from "./chunk-M63RTPGR.js";
17
17
 
18
18
  // ../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js
19
19
  var require_commondir = __commonJS({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_cjs_shims
3
- } from "./chunk-BVGYIZ3O.js";
3
+ } from "./chunk-M63RTPGR.js";
4
4
 
5
5
  // ../../node_modules/.pnpm/pathe@1.1.1/node_modules/pathe/dist/shared/pathe.92c04245.mjs
6
6
  init_cjs_shims();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  init_cjs_shims
4
- } from "./chunk-BVGYIZ3O.js";
4
+ } from "./chunk-M63RTPGR.js";
5
5
 
6
6
  // ../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/helpers/util.js
7
7
  var require_util = __commonJS({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  openURL
3
- } from "./chunk-SDNI4T2T.js";
3
+ } from "./chunk-ZLSD2RNR.js";
4
4
  import {
5
5
  init_cjs_shims
6
- } from "./chunk-BVGYIZ3O.js";
6
+ } from "./chunk-M63RTPGR.js";
7
7
 
8
8
  // src/cli/services/commands/search.ts
9
9
  init_cjs_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_cjs_shims
3
- } from "./chunk-BVGYIZ3O.js";
3
+ } from "./chunk-M63RTPGR.js";
4
4
 
5
5
  // ../cli-kit/src/private/node/context/deprecations-store.ts
6
6
  init_cjs_shims();
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  searchService
3
- } from "./chunk-PAZZ5BCS.js";
3
+ } from "./chunk-IZU2AQEQ.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-WD7SEY5L.js";
6
+ } from "./chunk-7VU6FOLD.js";
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-3MMF34G4.js";
9
+ } from "./chunk-4AOK4O3R.js";
10
10
  import {
11
11
  __toESM,
12
12
  init_cjs_shims
13
- } from "./chunk-BVGYIZ3O.js";
13
+ } from "./chunk-M63RTPGR.js";
14
14
 
15
15
  // src/cli/commands/search.ts
16
16
  init_cjs_shims();
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  setNextDeprecationDate
3
- } from "./chunk-Q3AO7F62.js";
3
+ } from "./chunk-KDOLMUJB.js";
4
4
  import {
5
5
  z
6
- } from "./chunk-WBWFZ6IT.js";
6
+ } from "./chunk-7P2SWIQY.js";
7
7
  import {
8
8
  base_command_default
9
- } from "./chunk-WD7SEY5L.js";
9
+ } from "./chunk-7VU6FOLD.js";
10
10
  import {
11
11
  ClientError,
12
12
  GraphQLClient,
@@ -21,16 +21,16 @@ import {
21
21
  httpsAgent,
22
22
  sanitizedHeadersOutput,
23
23
  shopifyFetch
24
- } from "./chunk-DLDVLYHU.js";
24
+ } from "./chunk-Y4AOSTJD.js";
25
25
  import {
26
26
  base64URLEncode,
27
27
  randomBytes,
28
28
  randomHex,
29
29
  sha256
30
- } from "./chunk-LJA4EOTX.js";
30
+ } from "./chunk-BUQTR47W.js";
31
31
  import {
32
32
  require_semver
33
- } from "./chunk-PNZIXRIF.js";
33
+ } from "./chunk-23EONB5V.js";
34
34
  import {
35
35
  AbortError,
36
36
  BugError,
@@ -40,6 +40,7 @@ import {
40
40
  firstPartyDev,
41
41
  import_ts_error,
42
42
  isSpinEnvironment,
43
+ isTruthy,
43
44
  keypress,
44
45
  mimicFunction,
45
46
  openURL,
@@ -57,20 +58,20 @@ import {
57
58
  spinFqdn,
58
59
  stringifyMessage,
59
60
  useDeviceAuth
60
- } from "./chunk-SDNI4T2T.js";
61
+ } from "./chunk-ZLSD2RNR.js";
61
62
  import {
62
63
  envPaths,
63
64
  sessionConstants
64
- } from "./chunk-QI5VKSMW.js";
65
+ } from "./chunk-OVPEO3GL.js";
65
66
  import {
66
67
  moduleDirectory
67
- } from "./chunk-M336AND6.js";
68
+ } from "./chunk-G6FN5VUE.js";
68
69
  import {
69
70
  __commonJS,
70
71
  __require,
71
72
  __toESM,
72
73
  init_cjs_shims
73
- } from "./chunk-BVGYIZ3O.js";
74
+ } from "./chunk-M63RTPGR.js";
74
75
 
75
76
  // ../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/codegen/code.js
76
77
  var require_code = __commonJS({
@@ -12835,7 +12836,7 @@ function generateRandomChallengePair() {
12835
12836
  return { codeVerifier, codeChallenge };
12836
12837
  }
12837
12838
  async function validateRedirectionPortAvailability(port) {
12838
- const { killPortProcess } = await import("./lib-2EBQB76J.js");
12839
+ const { killPortProcess } = await import("./lib-AAMRQUES.js");
12839
12840
  if (await checkPort(port)) {
12840
12841
  return;
12841
12842
  }
@@ -13140,6 +13141,8 @@ async function executeCompleteFlow(applications, identityFqdn2) {
13140
13141
  return session;
13141
13142
  }
13142
13143
  async function ensureUserHasPartnerAccount(partnersToken) {
13144
+ if (isTruthy(process.env.USE_SHOPIFY_DEVELOPERS_CLIENT))
13145
+ return;
13143
13146
  outputDebug(outputContent`Verifying that the user has a Partner organization`);
13144
13147
  if (!await hasPartnerAccount(partnersToken)) {
13145
13148
  outputInfo(`
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  init_cjs_shims
4
- } from "./chunk-BVGYIZ3O.js";
4
+ } from "./chunk-M63RTPGR.js";
5
5
 
6
6
  // ../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js
7
7
  var require_wrappy = __commonJS({
@@ -11,12 +11,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
11
11
  return require.apply(this, arguments);
12
12
  throw Error('Dynamic require of "' + x + '" is not supported');
13
13
  });
14
- var __glob = (map) => (path2) => {
15
- var fn = map[path2];
16
- if (fn)
17
- return fn();
18
- throw new Error("Module not found in bundle: " + path2);
19
- };
20
14
  var __esm = (fn, res) => function __init() {
21
15
  return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
22
16
  };
@@ -60,7 +54,6 @@ var init_cjs_shims = __esm({
60
54
 
61
55
  export {
62
56
  __require,
63
- __glob,
64
57
  __esm,
65
58
  __commonJS,
66
59
  __export,
@@ -0,0 +1,176 @@
1
+ import {
2
+ require_semver
3
+ } from "./chunk-23EONB5V.js";
4
+ import {
5
+ __commonJS,
6
+ init_cjs_shims
7
+ } from "./chunk-M63RTPGR.js";
8
+
9
+ // ../../node_modules/.pnpm/builtins@5.0.1/node_modules/builtins/index.js
10
+ var require_builtins = __commonJS({
11
+ "../../node_modules/.pnpm/builtins@5.0.1/node_modules/builtins/index.js"(exports, module) {
12
+ "use strict";
13
+ init_cjs_shims();
14
+ var semver = require_semver();
15
+ var permanentModules = [
16
+ "assert",
17
+ "buffer",
18
+ "child_process",
19
+ "cluster",
20
+ "console",
21
+ "constants",
22
+ "crypto",
23
+ "dgram",
24
+ "dns",
25
+ "domain",
26
+ "events",
27
+ "fs",
28
+ "http",
29
+ "https",
30
+ "module",
31
+ "net",
32
+ "os",
33
+ "path",
34
+ "punycode",
35
+ "querystring",
36
+ "readline",
37
+ "repl",
38
+ "stream",
39
+ "string_decoder",
40
+ "sys",
41
+ "timers",
42
+ "tls",
43
+ "tty",
44
+ "url",
45
+ "util",
46
+ "vm",
47
+ "zlib"
48
+ ];
49
+ var versionLockedModules = {
50
+ freelist: "<6.0.0",
51
+ v8: ">=1.0.0",
52
+ process: ">=1.1.0",
53
+ inspector: ">=8.0.0",
54
+ async_hooks: ">=8.1.0",
55
+ http2: ">=8.4.0",
56
+ perf_hooks: ">=8.5.0",
57
+ trace_events: ">=10.0.0",
58
+ worker_threads: ">=12.0.0",
59
+ "node:test": ">=18.0.0"
60
+ };
61
+ var experimentalModules = {
62
+ worker_threads: ">=10.5.0",
63
+ wasi: ">=12.16.0",
64
+ diagnostics_channel: "^14.17.0 || >=15.1.0"
65
+ };
66
+ module.exports = ({ version = process.version, experimental = false } = {}) => {
67
+ const builtins = [...permanentModules];
68
+ for (const [name, semverRange] of Object.entries(versionLockedModules)) {
69
+ if (version === "*" || semver.satisfies(version, semverRange)) {
70
+ builtins.push(name);
71
+ }
72
+ }
73
+ if (experimental) {
74
+ for (const [name, semverRange] of Object.entries(experimentalModules)) {
75
+ if (!builtins.includes(name) && (version === "*" || semver.satisfies(version, semverRange))) {
76
+ builtins.push(name);
77
+ }
78
+ }
79
+ }
80
+ return builtins;
81
+ };
82
+ }
83
+ });
84
+
85
+ // ../../node_modules/.pnpm/validate-npm-package-name@5.0.0/node_modules/validate-npm-package-name/lib/index.js
86
+ var require_lib = __commonJS({
87
+ "../../node_modules/.pnpm/validate-npm-package-name@5.0.0/node_modules/validate-npm-package-name/lib/index.js"(exports, module) {
88
+ "use strict";
89
+ init_cjs_shims();
90
+ var scopedPackagePattern = new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$");
91
+ var builtins = require_builtins();
92
+ var blacklist = [
93
+ "node_modules",
94
+ "favicon.ico"
95
+ ];
96
+ function validate(name) {
97
+ var warnings = [];
98
+ var errors = [];
99
+ if (name === null) {
100
+ errors.push("name cannot be null");
101
+ return done(warnings, errors);
102
+ }
103
+ if (name === void 0) {
104
+ errors.push("name cannot be undefined");
105
+ return done(warnings, errors);
106
+ }
107
+ if (typeof name !== "string") {
108
+ errors.push("name must be a string");
109
+ return done(warnings, errors);
110
+ }
111
+ if (!name.length) {
112
+ errors.push("name length must be greater than zero");
113
+ }
114
+ if (name.match(/^\./)) {
115
+ errors.push("name cannot start with a period");
116
+ }
117
+ if (name.match(/^_/)) {
118
+ errors.push("name cannot start with an underscore");
119
+ }
120
+ if (name.trim() !== name) {
121
+ errors.push("name cannot contain leading or trailing spaces");
122
+ }
123
+ blacklist.forEach(function(blacklistedName) {
124
+ if (name.toLowerCase() === blacklistedName) {
125
+ errors.push(blacklistedName + " is a blacklisted name");
126
+ }
127
+ });
128
+ builtins({ version: "*" }).forEach(function(builtin) {
129
+ if (name.toLowerCase() === builtin) {
130
+ warnings.push(builtin + " is a core module name");
131
+ }
132
+ });
133
+ if (name.length > 214) {
134
+ warnings.push("name can no longer contain more than 214 characters");
135
+ }
136
+ if (name.toLowerCase() !== name) {
137
+ warnings.push("name can no longer contain capital letters");
138
+ }
139
+ if (/[~'!()*]/.test(name.split("/").slice(-1)[0])) {
140
+ warnings.push(`name can no longer contain special characters ("~'!()*")`);
141
+ }
142
+ if (encodeURIComponent(name) !== name) {
143
+ var nameMatch = name.match(scopedPackagePattern);
144
+ if (nameMatch) {
145
+ var user = nameMatch[1];
146
+ var pkg = nameMatch[2];
147
+ if (encodeURIComponent(user) === user && encodeURIComponent(pkg) === pkg) {
148
+ return done(warnings, errors);
149
+ }
150
+ }
151
+ errors.push("name can only contain URL-friendly characters");
152
+ }
153
+ return done(warnings, errors);
154
+ }
155
+ var done = function(warnings, errors) {
156
+ var result = {
157
+ validForNewPackages: errors.length === 0 && warnings.length === 0,
158
+ validForOldPackages: errors.length === 0,
159
+ warnings,
160
+ errors
161
+ };
162
+ if (!result.warnings.length) {
163
+ delete result.warnings;
164
+ }
165
+ if (!result.errors.length) {
166
+ delete result.errors;
167
+ }
168
+ return result;
169
+ };
170
+ module.exports = validate;
171
+ }
172
+ });
173
+
174
+ export {
175
+ require_lib
176
+ };