@shopify/cli 3.72.1 → 3.73.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 (149) hide show
  1. package/dist/assets/hydrogen/starter/CHANGELOG.md +814 -0
  2. package/dist/assets/hydrogen/starter/app/components/Aside.tsx +1 -1
  3. package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +3 -4
  4. package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +113 -44
  5. package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +8 -3
  6. package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +6 -5
  7. package/dist/assets/hydrogen/starter/app/lib/variants.ts +3 -3
  8. package/dist/assets/hydrogen/starter/app/routes/account_.logout.tsx +1 -1
  9. package/dist/assets/hydrogen/starter/app/routes/cart.tsx +9 -16
  10. package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +1 -10
  11. package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +1 -10
  12. package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +50 -119
  13. package/dist/assets/hydrogen/starter/app/routes/search.tsx +42 -38
  14. package/dist/assets/hydrogen/starter/app/styles/app.css +25 -1
  15. package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.md +23 -20
  16. package/dist/assets/hydrogen/starter/guides/search/search.md +27 -25
  17. package/dist/assets/hydrogen/starter/package.json +3 -3
  18. package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +177 -194
  19. package/dist/assets/hydrogen/tailwind/tailwind.css +1 -1
  20. package/dist/{chokidar-OESTCX4H.js → chokidar-5LLC6S6D.js} +47 -90
  21. package/dist/{chunk-VSLR7ET4.js → chunk-25IMI7TH.js} +8 -46
  22. package/dist/{chunk-NCKQIOV4.js → chunk-3HBRMIPY.js} +28 -50
  23. package/dist/{chunk-4DZKSJ2R.js → chunk-3OXCI3HX.js} +1402 -1989
  24. package/dist/{chunk-NX2KGZ2W.js → chunk-5OFJTURZ.js} +4 -4
  25. package/dist/{chunk-YITJ52BH.js → chunk-65GSOZHL.js} +7 -7
  26. package/dist/{chunk-5BCHJBAS.js → chunk-66HLUVKV.js} +4 -4
  27. package/dist/{chunk-J6WHIPSP.js → chunk-6PEBJVBW.js} +3 -3
  28. package/dist/{chunk-XVNW332R.js → chunk-75LV6AQS.js} +6 -10
  29. package/dist/{chunk-4ERNAW5E.js → chunk-7RKRCUFA.js} +16518 -24140
  30. package/dist/{chunk-FGSRYMBN.js → chunk-AFPOP3K5.js} +67 -104
  31. package/dist/{chunk-2HGYYNE5.js → chunk-B5EXYCV3.js} +5 -9
  32. package/dist/{chunk-NB4NLOEJ.js → chunk-BUFIEXZ5.js} +11 -20
  33. package/dist/{chunk-EQQFJ434.js → chunk-CEIZT2W3.js} +4 -4
  34. package/dist/{chunk-522OB3EU.js → chunk-CFIKVUNW.js} +2 -2
  35. package/dist/{chunk-KYB6A4PE.js → chunk-CRHXI6PS.js} +13 -23
  36. package/dist/{chunk-QBE6MS4X.js → chunk-ELTOJBOJ.js} +4 -5
  37. package/dist/{chunk-NUP5TATA.js → chunk-EZQWZ57B.js} +2 -2
  38. package/dist/{chunk-HAURZWLZ.js → chunk-F7D333WQ.js} +3 -3
  39. package/dist/{chunk-UBB7JKND.js → chunk-G2ZZKGSV.js} +2 -2
  40. package/dist/{chunk-CBBS4CV7.js → chunk-G5R6YD27.js} +8 -13
  41. package/dist/{chunk-REXJJC44.js → chunk-GDLROW57.js} +3 -3
  42. package/dist/{chunk-TQTXTCOI.js → chunk-I25PGLBO.js} +3 -3
  43. package/dist/{chunk-OXKHBIW7.js → chunk-IG5SOACB.js} +29 -34
  44. package/dist/{chunk-2FXFMB2U.js → chunk-IRHYYIN7.js} +4 -4
  45. package/dist/{chunk-OWLPHMUA.js → chunk-J673ZU5S.js} +4 -4
  46. package/dist/{chunk-U2VX4Q6V.js → chunk-JORKLY7M.js} +68 -49
  47. package/dist/{chunk-K6Y4FYT5.js → chunk-K7HGDAI4.js} +17 -20
  48. package/dist/{chunk-MTXNEHKM.js → chunk-KF2D6QHZ.js} +39 -68
  49. package/dist/{chunk-QBDNLBUG.js → chunk-KMWARALD.js} +5 -5
  50. package/dist/{chunk-E7MQ72JO.js → chunk-KTNFE44J.js} +111 -84
  51. package/dist/{chunk-BYPQXSAL.js → chunk-KUM3DVPF.js} +17 -13
  52. package/dist/{chunk-B2HZKGLW.js → chunk-KZBL6BQ7.js} +4 -4
  53. package/dist/{chunk-WNDN5FAY.js → chunk-MHUINF7I.js} +3 -3
  54. package/dist/{chunk-YDFZISQ3.js → chunk-NFQLKURK.js} +41 -68
  55. package/dist/{chunk-7JVASAC6.js → chunk-O77L7CCL.js} +4 -4
  56. package/dist/{chunk-SNOECVP4.js → chunk-OAZFIMJ3.js} +2 -2
  57. package/dist/{chunk-OYHBLPKV.js → chunk-OE3IXTC5.js} +38 -60
  58. package/dist/{chunk-HLKMRAT5.js → chunk-ONOLOXLM.js} +5 -5
  59. package/dist/{chunk-POZ5MGPT.js → chunk-PKR7KJ6P.js} +2 -3
  60. package/dist/{chunk-YG5QRMVT.js → chunk-PRWEHR2C.js} +3 -3
  61. package/dist/{chunk-72RTT46Y.js → chunk-QNK2EAZ3.js} +5 -5
  62. package/dist/{chunk-3G3CTE4U.js → chunk-RCA7PFH4.js} +4 -4
  63. package/dist/{chunk-OG2XEFVO.js → chunk-RK7JAMCI.js} +6 -6
  64. package/dist/{chunk-QRNLG3CD.js → chunk-SANP6FPA.js} +6 -6
  65. package/dist/{chunk-OJOHMVV7.js → chunk-SBPFWO4S.js} +294 -448
  66. package/dist/{chunk-O5K4AU7Q.js → chunk-SHWOPMLQ.js} +3 -4
  67. package/dist/{chunk-6Z7SI3ZW.js → chunk-SUUVDRTQ.js} +6 -7
  68. package/dist/{chunk-HHAGWNRI.js → chunk-TEHNKBLD.js} +6 -7
  69. package/dist/{chunk-XHR6UC4Y.js → chunk-VPNXQGG6.js} +4 -4
  70. package/dist/{chunk-MWLLV4UV.js → chunk-X5FJXK25.js} +9 -9
  71. package/dist/{chunk-PMUQTGZJ.js → chunk-X7YTIMNN.js} +4 -6
  72. package/dist/{chunk-PC7RDKJJ.js → chunk-XAGT2UNE.js} +3 -3
  73. package/dist/{chunk-7Q3MMWAC.js → chunk-XE5EOEBL.js} +2 -2
  74. package/dist/{chunk-VVD57NWZ.js → chunk-YP7WU5EU.js} +5 -5
  75. package/dist/{chunk-G2WBIWNF.js → chunk-YPTEMDFR.js} +5 -5
  76. package/dist/{chunk-4PXLANQP.js → chunk-ZENVITME.js} +4 -4
  77. package/dist/{chunk-HSTSRNLJ.js → chunk-ZX3L2JKV.js} +64 -86
  78. package/dist/cli/commands/auth/logout.js +28 -28
  79. package/dist/cli/commands/auth/logout.test.js +30 -30
  80. package/dist/cli/commands/cache/clear.js +27 -27
  81. package/dist/cli/commands/debug/command-flags.js +27 -27
  82. package/dist/cli/commands/docs/generate.js +27 -27
  83. package/dist/cli/commands/docs/generate.test.js +28 -28
  84. package/dist/cli/commands/help.js +27 -27
  85. package/dist/cli/commands/kitchen-sink/async.js +28 -28
  86. package/dist/cli/commands/kitchen-sink/async.test.js +29 -29
  87. package/dist/cli/commands/kitchen-sink/index.js +30 -30
  88. package/dist/cli/commands/kitchen-sink/index.test.js +31 -31
  89. package/dist/cli/commands/kitchen-sink/prompts.js +28 -28
  90. package/dist/cli/commands/kitchen-sink/prompts.test.js +29 -29
  91. package/dist/cli/commands/kitchen-sink/static.js +28 -28
  92. package/dist/cli/commands/kitchen-sink/static.test.js +29 -29
  93. package/dist/cli/commands/notifications/generate.js +28 -28
  94. package/dist/cli/commands/notifications/list.js +28 -28
  95. package/dist/cli/commands/search.js +28 -28
  96. package/dist/cli/commands/upgrade.js +28 -28
  97. package/dist/cli/commands/upgrade.test.js +3 -3
  98. package/dist/cli/commands/version.js +28 -28
  99. package/dist/cli/commands/version.test.js +29 -29
  100. package/dist/cli/services/commands/notifications.js +21 -21
  101. package/dist/cli/services/commands/search.js +15 -15
  102. package/dist/cli/services/commands/search.test.js +16 -16
  103. package/dist/cli/services/commands/version.js +16 -16
  104. package/dist/cli/services/commands/version.test.js +18 -18
  105. package/dist/cli/services/kitchen-sink/async.js +15 -15
  106. package/dist/cli/services/kitchen-sink/prompts.js +15 -15
  107. package/dist/cli/services/kitchen-sink/static.js +15 -15
  108. package/dist/cli/services/upgrade.js +17 -17
  109. package/dist/cli/services/upgrade.test.js +20 -20
  110. package/dist/configs/all.yml +12 -0
  111. package/dist/configs/recommended.yml +15 -0
  112. package/dist/configs/theme-app-extension.yml +3 -0
  113. package/dist/{custom-oclif-loader-MUOL3HPQ.js → custom-oclif-loader-V3IB4SYZ.js} +15 -15
  114. package/dist/data/latest.json +1 -1
  115. package/dist/data/manifest_theme.json +1 -0
  116. package/dist/data/preset.json +66 -0
  117. package/dist/data/preset_blocks.json +20 -13
  118. package/dist/data/section.json +1 -15
  119. package/dist/data/setting.json +1 -1
  120. package/dist/data/theme_block.json +1 -15
  121. package/dist/{del-K5ZJEWTD.js → del-P2RS6GN2.js} +9 -9
  122. package/dist/{devtools-KYKGATNX.js → devtools-K7FXBBFZ.js} +3 -3
  123. package/dist/error-handler-WK3AZ7A2.js +38 -0
  124. package/dist/hooks/postrun.js +22 -22
  125. package/dist/hooks/prerun.js +22 -22
  126. package/dist/{http-proxy-GGTVQ6CU.js → http-proxy-FXWKYHZ3.js} +14 -24
  127. package/dist/index.js +7229 -7321
  128. package/dist/lib-JVEIEXYB.js +6 -0
  129. package/dist/lib-QZGSY5YB.js +13 -0
  130. package/dist/{local-YCARFR7T.js → local-3ERK45M5.js} +15 -15
  131. package/dist/{magic-string.es-3RXPUXZF.js → magic-string.es-PJMYOE6F.js} +49 -96
  132. package/dist/{morph-SEECJQ2W.js → morph-OSHCID2F.js} +261 -347
  133. package/dist/{multipart-parser-QKUAJJP5.js → multipart-parser-WSNBP656.js} +8 -7
  134. package/dist/{node-NSRIJ2KL.js → node-2KLEBSMO.js} +31 -31
  135. package/dist/{node-package-manager-TLCUDNS2.js → node-package-manager-QIM24GB3.js} +19 -17
  136. package/dist/{npa-RLWNZ3BM.js → npa-TM76BGG3.js} +10 -16
  137. package/dist/{open-MZGVNFZO.js → open-BHIF7E3E.js} +3 -3
  138. package/dist/out-JR4DWQ2G.js +7 -0
  139. package/dist/{path-NDLRQPLA.js → path-2HZUSAGR.js} +3 -3
  140. package/dist/{source-map-7AAPWPHZ.js → source-map-QCVC46UY.js} +2 -2
  141. package/dist/tsconfig.tsbuildinfo +1 -1
  142. package/dist/{ui-5AEI3FU6.js → ui-5AHG256I.js} +15 -15
  143. package/dist/{workerd-SW7QDYB6.js → workerd-MSNALKI2.js} +30 -30
  144. package/oclif.manifest.json +81 -1
  145. package/package.json +8 -8
  146. package/dist/error-handler-MOT24ECB.js +0 -38
  147. package/dist/lib-PPXZBVZX.js +0 -6
  148. package/dist/lib-XYCLX35G.js +0 -13
  149. package/dist/out-MHEKZJWS.js +0 -7
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  packageManagerFromUserAgent
3
- } from "./chunk-FGSRYMBN.js";
3
+ } from "./chunk-AFPOP3K5.js";
4
4
  import {
5
5
  currentProcessIsGlobal,
6
6
  inferPackageManagerForGlobalCLI,
7
7
  outputContent,
8
8
  outputToken
9
- } from "./chunk-4DZKSJ2R.js";
9
+ } from "./chunk-3OXCI3HX.js";
10
10
  import {
11
11
  init_cjs_shims
12
- } from "./chunk-POZ5MGPT.js";
12
+ } from "./chunk-PKR7KJ6P.js";
13
13
 
14
14
  // ../cli-kit/dist/public/node/upgrade.js
15
15
  init_cjs_shims();
@@ -25,4 +25,4 @@ export {
25
25
  cliInstallCommand,
26
26
  getOutputUpdateCLIReminder
27
27
  };
28
- //# sourceMappingURL=chunk-NX2KGZ2W.js.map
28
+ //# sourceMappingURL=chunk-5OFJTURZ.js.map
@@ -2,16 +2,16 @@ import {
2
2
  fetch,
3
3
  jsonOutputEnabled,
4
4
  z
5
- } from "./chunk-E7MQ72JO.js";
5
+ } from "./chunk-KTNFE44J.js";
6
6
  import {
7
7
  CLI_KIT_VERSION
8
- } from "./chunk-TQTXTCOI.js";
8
+ } from "./chunk-I25PGLBO.js";
9
9
  import {
10
10
  cacheRetrieve,
11
11
  cacheRetrieveOrRepopulate,
12
12
  cacheStore,
13
13
  versionSatisfies
14
- } from "./chunk-FGSRYMBN.js";
14
+ } from "./chunk-AFPOP3K5.js";
15
15
  import {
16
16
  AbortSilentError,
17
17
  isTruthy,
@@ -19,10 +19,10 @@ import {
19
19
  renderError,
20
20
  renderInfo,
21
21
  renderWarning
22
- } from "./chunk-4DZKSJ2R.js";
22
+ } from "./chunk-3OXCI3HX.js";
23
23
  import {
24
24
  init_cjs_shims
25
- } from "./chunk-POZ5MGPT.js";
25
+ } from "./chunk-PKR7KJ6P.js";
26
26
 
27
27
  // ../cli-kit/dist/public/node/notifications-system.js
28
28
  init_cjs_shims();
@@ -74,7 +74,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
74
74
  throw new AbortSilentError();
75
75
  let errorMessage = `Error retrieving notifications: ${error.message}`;
76
76
  outputDebug(errorMessage);
77
- let { sendErrorToBugsnag } = await import("./error-handler-MOT24ECB.js");
77
+ let { sendErrorToBugsnag } = await import("./error-handler-WK3AZ7A2.js");
78
78
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
79
79
  }
80
80
  }
@@ -162,4 +162,4 @@ export {
162
162
  getNotifications,
163
163
  stringifyFilters
164
164
  };
165
- //# sourceMappingURL=chunk-YITJ52BH.js.map
165
+ //# sourceMappingURL=chunk-65GSOZHL.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-QRNLG3CD.js";
3
+ } from "./chunk-SANP6FPA.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-OYHBLPKV.js";
6
+ } from "./chunk-OE3IXTC5.js";
7
7
  import {
8
8
  init_cjs_shims
9
- } from "./chunk-POZ5MGPT.js";
9
+ } from "./chunk-PKR7KJ6P.js";
10
10
 
11
11
  // src/cli/commands/notifications/generate.ts
12
12
  init_cjs_shims();
@@ -25,4 +25,4 @@ var Generate = class extends base_command_default {
25
25
  export {
26
26
  Generate
27
27
  };
28
- //# sourceMappingURL=chunk-5BCHJBAS.js.map
28
+ //# sourceMappingURL=chunk-66HLUVKV.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  openURL
3
- } from "./chunk-4DZKSJ2R.js";
3
+ } from "./chunk-3OXCI3HX.js";
4
4
  import {
5
5
  init_cjs_shims
6
- } from "./chunk-POZ5MGPT.js";
6
+ } from "./chunk-PKR7KJ6P.js";
7
7
 
8
8
  // src/cli/services/commands/search.ts
9
9
  init_cjs_shims();
@@ -15,4 +15,4 @@ async function searchService(query) {
15
15
  export {
16
16
  searchService
17
17
  };
18
- //# sourceMappingURL=chunk-J6WHIPSP.js.map
18
+ //# sourceMappingURL=chunk-6PEBJVBW.js.map
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __require,
4
4
  init_cjs_shims
5
- } from "./chunk-POZ5MGPT.js";
5
+ } from "./chunk-PKR7KJ6P.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({
@@ -150,8 +150,7 @@ var require_polyfills = __commonJS({
150
150
  try {
151
151
  return orig.call(fs, target, mode);
152
152
  } catch (er) {
153
- if (!chownErOk(er))
154
- throw er;
153
+ if (!chownErOk(er)) throw er;
155
154
  }
156
155
  };
157
156
  }
@@ -167,8 +166,7 @@ var require_polyfills = __commonJS({
167
166
  try {
168
167
  return orig.call(fs, target, uid, gid);
169
168
  } catch (er) {
170
- if (!chownErOk(er))
171
- throw er;
169
+ if (!chownErOk(er)) throw er;
172
170
  }
173
171
  };
174
172
  }
@@ -209,8 +207,7 @@ var require_legacy_streams = __commonJS({
209
207
  WriteStream
210
208
  };
211
209
  function ReadStream(path, options) {
212
- if (!(this instanceof ReadStream))
213
- return new ReadStream(path, options);
210
+ if (!(this instanceof ReadStream)) return new ReadStream(path, options);
214
211
  Stream.call(this);
215
212
  var self = this;
216
213
  this.path = path, this.fd = null, this.readable = !0, this.paused = !1, this.flags = "r", this.mode = 438, this.bufferSize = 64 * 1024, options = options || {};
@@ -244,8 +241,7 @@ var require_legacy_streams = __commonJS({
244
241
  });
245
242
  }
246
243
  function WriteStream(path, options) {
247
- if (!(this instanceof WriteStream))
248
- return new WriteStream(path, options);
244
+ if (!(this instanceof WriteStream)) return new WriteStream(path, options);
249
245
  Stream.call(this), this.path = path, this.fd = null, this.writable = !0, this.flags = "w", this.encoding = "binary", this.mode = 438, this.bytesWritten = 0, options = options || {};
250
246
  for (var keys = Object.keys(options), index = 0, length = keys.length; index < length; index++) {
251
247
  var key = keys[index];
@@ -521,4 +517,4 @@ GFS4: `), console.error(m);
521
517
  export {
522
518
  require_graceful_fs
523
519
  };
524
- //# sourceMappingURL=chunk-XVNW332R.js.map
520
+ //# sourceMappingURL=chunk-75LV6AQS.js.map