@shopify/cli 3.72.2 → 3.73.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 (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-NXHZX3WR.js → chunk-3UQTWISO.js} +9 -9
  24. package/dist/{chunk-GVNIHXMX.js → chunk-4SP4IRCQ.js} +38 -60
  25. package/dist/{chunk-QDPQB6WU.js → chunk-4UAFBJXJ.js} +5 -5
  26. package/dist/{chunk-L2J5VM7R.js → chunk-5YYJVU2L.js} +41 -68
  27. package/dist/{chunk-I6R52HNI.js → chunk-6NZVGPSV.js} +39 -68
  28. package/dist/{chunk-XVNW332R.js → chunk-75LV6AQS.js} +6 -10
  29. package/dist/{chunk-N2V4IFX3.js → chunk-7JQIHXLD.js} +3 -3
  30. package/dist/{chunk-2HGYYNE5.js → chunk-B5EXYCV3.js} +5 -9
  31. package/dist/{chunk-NB4NLOEJ.js → chunk-BUFIEXZ5.js} +11 -20
  32. package/dist/{chunk-522OB3EU.js → chunk-CFIKVUNW.js} +2 -2
  33. package/dist/{chunk-KYB6A4PE.js → chunk-CRHXI6PS.js} +13 -23
  34. package/dist/{chunk-SO2RZ6TZ.js → chunk-CXHISGHD.js} +5 -5
  35. package/dist/{chunk-2YCRDHPC.js → chunk-DZHO64DX.js} +4 -4
  36. package/dist/{chunk-KGKTCQ7H.js → chunk-EKIVYQZC.js} +5 -5
  37. package/dist/{chunk-NUP5TATA.js → chunk-EZQWZ57B.js} +2 -2
  38. package/dist/{chunk-UBB7JKND.js → chunk-G2ZZKGSV.js} +2 -2
  39. package/dist/{chunk-CBBS4CV7.js → chunk-G5R6YD27.js} +8 -13
  40. package/dist/{chunk-ECWFBV2F.js → chunk-GLYEBL66.js} +5 -5
  41. package/dist/{chunk-E37RRDIH.js → chunk-HIQDOFZI.js} +4 -4
  42. package/dist/{chunk-HYGCZ6GV.js → chunk-HYVCBINV.js} +68 -49
  43. package/dist/{chunk-ZESD7DR7.js → chunk-I72O5WWR.js} +67 -104
  44. package/dist/{chunk-OXKHBIW7.js → chunk-IG5SOACB.js} +29 -34
  45. package/dist/{chunk-OWLPHMUA.js → chunk-J673ZU5S.js} +4 -4
  46. package/dist/{chunk-K6Y4FYT5.js → chunk-K7HGDAI4.js} +17 -20
  47. package/dist/{chunk-UIRMJZRW.js → chunk-KD7WMX4J.js} +4 -4
  48. package/dist/{chunk-BYPQXSAL.js → chunk-KUM3DVPF.js} +17 -13
  49. package/dist/{chunk-6IUL3QZW.js → chunk-LPBV67AA.js} +4 -4
  50. package/dist/{chunk-WNDN5FAY.js → chunk-MHUINF7I.js} +3 -3
  51. package/dist/{chunk-JDM5VOXB.js → chunk-MJWFXPPX.js} +3 -3
  52. package/dist/{chunk-NE43V3EI.js → chunk-MLL3JKVY.js} +6 -7
  53. package/dist/{chunk-QXIIXX7G.js → chunk-NHV2E73I.js} +16518 -24140
  54. package/dist/{chunk-HMUOOT55.js → chunk-NQZUE7SY.js} +6 -6
  55. package/dist/{chunk-PQQTBTYM.js → chunk-O72ZUVEA.js} +4 -5
  56. package/dist/{chunk-SNOECVP4.js → chunk-OAZFIMJ3.js} +2 -2
  57. package/dist/{chunk-UIAIRQSP.js → chunk-OFYEMT6X.js} +3 -3
  58. package/dist/{chunk-4HTVLK2H.js → chunk-OXS42VB7.js} +1402 -1989
  59. package/dist/{chunk-TAKO7LSJ.js → chunk-P63UVLRS.js} +7 -7
  60. package/dist/{chunk-GKEFW755.js → chunk-PBDGN4T2.js} +6 -6
  61. package/dist/{chunk-POZ5MGPT.js → chunk-PKR7KJ6P.js} +2 -3
  62. package/dist/{chunk-PKJLXLTR.js → chunk-PVMQM44E.js} +5 -5
  63. package/dist/{chunk-KCI6QCAV.js → chunk-PWMEMGZN.js} +4 -4
  64. package/dist/{chunk-KMZ5JSGS.js → chunk-QIM24FVT.js} +3 -3
  65. package/dist/{chunk-VJ7TIVX7.js → chunk-RBLSG22M.js} +6 -7
  66. package/dist/{chunk-K7B4JJLF.js → chunk-RDZJQNFU.js} +4 -4
  67. package/dist/{chunk-YKUYPSCY.js → chunk-RZOW7U2N.js} +3 -3
  68. package/dist/{chunk-OJOHMVV7.js → chunk-SBPFWO4S.js} +294 -448
  69. package/dist/{chunk-O5K4AU7Q.js → chunk-SHWOPMLQ.js} +3 -4
  70. package/dist/{chunk-KWLJTNRE.js → chunk-SNXQ36U2.js} +4 -4
  71. package/dist/{chunk-KVEY52WG.js → chunk-TIXENOYB.js} +4 -4
  72. package/dist/{chunk-RCRRAFH7.js → chunk-X4N2QZOS.js} +3 -3
  73. package/dist/{chunk-VWNWE4HG.js → chunk-X5WKMCE4.js} +111 -84
  74. package/dist/{chunk-PMUQTGZJ.js → chunk-X7YTIMNN.js} +4 -6
  75. package/dist/{chunk-7Q3MMWAC.js → chunk-XE5EOEBL.js} +2 -2
  76. package/dist/{chunk-YXJHYEP7.js → chunk-YVXC5Q6R.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-G2DAJL7B.js → custom-oclif-loader-L4JT3EUD.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-4CU3ZOV7.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 +7234 -7320
  128. package/dist/lib-JVEIEXYB.js +6 -0
  129. package/dist/lib-QZGSY5YB.js +13 -0
  130. package/dist/{local-Q5ZG2NHX.js → local-2K66O4X2.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-S6CM3NTX.js → node-342GUJIM.js} +31 -31
  135. package/dist/{node-package-manager-GUY5IO3W.js → node-package-manager-RJSBCFD7.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-AWSBLSD4.js → ui-YBLW4B72.js} +15 -15
  143. package/dist/{workerd-3HGLHQET.js → workerd-5KR5CP5F.js} +30 -30
  144. package/oclif.manifest.json +81 -1
  145. package/package.json +8 -8
  146. package/dist/error-handler-6HCFKLTC.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,8 +1,8 @@
1
1
  import {
2
2
  init_cjs_shims
3
- } from "./chunk-POZ5MGPT.js";
3
+ } from "./chunk-PKR7KJ6P.js";
4
4
 
5
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
5
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.3_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
6
6
  init_cjs_shims();
7
7
 
8
8
  // ../../node_modules/.pnpm/get-port@7.1.0/node_modules/get-port/index.js
@@ -94,7 +94,7 @@ function portNumbers(from, to) {
94
94
  }(from, to);
95
95
  }
96
96
 
97
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
97
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.3_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
98
98
  function findPort(portPreference, range = 100) {
99
99
  return getPorts({
100
100
  port: portNumbers(portPreference, portPreference + range)
@@ -104,4 +104,4 @@ function findPort(portPreference, range = 100) {
104
104
  export {
105
105
  findPort
106
106
  };
107
- //# sourceMappingURL=chunk-OWLPHMUA.js.map
107
+ //# sourceMappingURL=chunk-J673ZU5S.js.map
@@ -3,7 +3,7 @@ import {
3
3
  __require,
4
4
  __toESM,
5
5
  init_cjs_shims
6
- } from "./chunk-POZ5MGPT.js";
6
+ } from "./chunk-PKR7KJ6P.js";
7
7
 
8
8
  // ../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js
9
9
  var require_commondir = __commonJS({
@@ -20,8 +20,7 @@ var require_commondir = __commonJS({
20
20
  var res = files.slice(1).reduce(function(ps, file) {
21
21
  if (!file.match(/^([A-Za-z]:)?\/|\\/))
22
22
  throw new Error("relative path without a basedir");
23
- for (var xs = file.split(/\/+|\\+/), i = 0; ps[i] === xs[i] && i < Math.min(ps.length, xs.length); i++)
24
- ;
23
+ for (var xs = file.split(/\/+|\\+/), i = 0; ps[i] === xs[i] && i < Math.min(ps.length, xs.length); i++) ;
25
24
  return ps.slice(0, i);
26
25
  }, files[0].split(/\/+|\\+/));
27
26
  return res.length > 1 ? res.join("/") : "/";
@@ -79,24 +78,22 @@ function normalizeString(path2, allowAboveRoot) {
79
78
  char = "/";
80
79
  }
81
80
  if (char === "/") {
82
- if (!(lastSlash === index - 1 || dots === 1))
83
- if (dots === 2) {
84
- if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
85
- if (res.length > 2) {
86
- let lastSlashIndex = res.lastIndexOf("/");
87
- lastSlashIndex === -1 ? (res = "", lastSegmentLength = 0) : (res = res.slice(0, lastSlashIndex), lastSegmentLength = res.length - 1 - res.lastIndexOf("/")), lastSlash = index, dots = 0;
88
- continue;
89
- } else if (res.length > 0) {
90
- res = "", lastSegmentLength = 0, lastSlash = index, dots = 0;
91
- continue;
92
- }
81
+ if (!(lastSlash === index - 1 || dots === 1)) if (dots === 2) {
82
+ if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
83
+ if (res.length > 2) {
84
+ let lastSlashIndex = res.lastIndexOf("/");
85
+ lastSlashIndex === -1 ? (res = "", lastSegmentLength = 0) : (res = res.slice(0, lastSlashIndex), lastSegmentLength = res.length - 1 - res.lastIndexOf("/")), lastSlash = index, dots = 0;
86
+ continue;
87
+ } else if (res.length > 0) {
88
+ res = "", lastSegmentLength = 0, lastSlash = index, dots = 0;
89
+ continue;
93
90
  }
94
- allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
95
- } else
96
- res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
91
+ }
92
+ allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
93
+ } else
94
+ res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
97
95
  lastSlash = index, dots = 0;
98
- } else
99
- char === "." && dots !== -1 ? ++dots : dots = -1;
96
+ } else char === "." && dots !== -1 ? ++dots : dots = -1;
100
97
  }
101
98
  return res;
102
99
  }
@@ -192,4 +189,4 @@ export {
192
189
  sniffForPath,
193
190
  sniffForJson
194
191
  };
195
- //# sourceMappingURL=chunk-K6Y4FYT5.js.map
192
+ //# sourceMappingURL=chunk-K7HGDAI4.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  versionService
3
- } from "./chunk-YXJHYEP7.js";
3
+ } from "./chunk-YVXC5Q6R.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-GVNIHXMX.js";
6
+ } from "./chunk-4SP4IRCQ.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/version.ts
12
12
  init_cjs_shims();
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
22
22
  export {
23
23
  Version
24
24
  };
25
- //# sourceMappingURL=chunk-UIRMJZRW.js.map
25
+ //# sourceMappingURL=chunk-KD7WMX4J.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  init_cjs_shims
4
- } from "./chunk-POZ5MGPT.js";
4
+ } from "./chunk-PKR7KJ6P.js";
5
5
 
6
6
  // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/constants.js
7
7
  var require_constants = __commonJS({
@@ -234,6 +234,8 @@ var require_semver = __commonJS({
234
234
  case "prepatch":
235
235
  this.prerelease.length = 0, this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
236
236
  break;
237
+ // If the input is a non-prerelease version, this acts the same as
238
+ // prepatch.
237
239
  case "prerelease":
238
240
  this.prerelease.length === 0 && this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
239
241
  break;
@@ -246,6 +248,8 @@ var require_semver = __commonJS({
246
248
  case "patch":
247
249
  this.prerelease.length === 0 && this.patch++, this.prerelease = [];
248
250
  break;
251
+ // This probably shouldn't be used publicly.
252
+ // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
249
253
  case "pre": {
250
254
  let base = Number(identifierBase) ? 1 : 0;
251
255
  if (!identifier && identifierBase === !1)
@@ -871,8 +875,7 @@ var require_lru_cache = __commonJS({
871
875
  return hit.length > this[MAX] ? (this[DISPOSE] && this[DISPOSE](key, value), !1) : (this[LENGTH] += hit.length, this[LRU_LIST].unshift(hit), this[CACHE].set(key, this[LRU_LIST].head), trim(this), !0);
872
876
  }
873
877
  has(key) {
874
- if (!this[CACHE].has(key))
875
- return !1;
878
+ if (!this[CACHE].has(key)) return !1;
876
879
  let hit = this[CACHE].get(key).value;
877
880
  return !isStale(this, hit);
878
881
  }
@@ -1195,6 +1198,7 @@ var require_min_version = __commonJS({
1195
1198
  switch (comparator.operator) {
1196
1199
  case ">":
1197
1200
  compver.prerelease.length === 0 ? compver.patch++ : compver.prerelease.push(0), compver.raw = compver.format();
1201
+ /* fallthrough */
1198
1202
  case "":
1199
1203
  case ">=":
1200
1204
  (!setMin || gt(compver, setMin)) && (setMin = compver);
@@ -1202,6 +1206,7 @@ var require_min_version = __commonJS({
1202
1206
  case "<":
1203
1207
  case "<=":
1204
1208
  break;
1209
+ /* istanbul ignore next */
1205
1210
  default:
1206
1211
  throw new Error(`Unexpected operation: ${comparator.operator}`);
1207
1212
  }
@@ -1317,16 +1322,15 @@ var require_subset = __commonJS({
1317
1322
  return !0;
1318
1323
  sub = new Range(sub, options), dom = new Range(dom, options);
1319
1324
  let sawNonNull = !1;
1320
- OUTER:
1321
- for (let simpleSub of sub.set) {
1322
- for (let simpleDom of dom.set) {
1323
- let isSub = simpleSubset(simpleSub, simpleDom, options);
1324
- if (sawNonNull = sawNonNull || isSub !== null, isSub)
1325
- continue OUTER;
1326
- }
1327
- if (sawNonNull)
1328
- return !1;
1325
+ OUTER: for (let simpleSub of sub.set) {
1326
+ for (let simpleDom of dom.set) {
1327
+ let isSub = simpleSubset(simpleSub, simpleDom, options);
1328
+ if (sawNonNull = sawNonNull || isSub !== null, isSub)
1329
+ continue OUTER;
1329
1330
  }
1331
+ if (sawNonNull)
1332
+ return !1;
1333
+ }
1330
1334
  return !0;
1331
1335
  }, minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")], minimumVersion = [new Comparator(">=0.0.0")], simpleSubset = (sub, dom, options) => {
1332
1336
  if (sub === dom)
@@ -1455,4 +1459,4 @@ var require_semver2 = __commonJS({
1455
1459
  export {
1456
1460
  require_semver2 as require_semver
1457
1461
  };
1458
- //# sourceMappingURL=chunk-BYPQXSAL.js.map
1462
+ //# sourceMappingURL=chunk-KUM3DVPF.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-HMUOOT55.js";
3
+ } from "./chunk-NQZUE7SY.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-GVNIHXMX.js";
6
+ } from "./chunk-4SP4IRCQ.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-6IUL3QZW.js.map
28
+ //# sourceMappingURL=chunk-LPBV67AA.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  require_merge2,
3
3
  require_out
4
- } from "./chunk-KYB6A4PE.js";
4
+ } from "./chunk-CRHXI6PS.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require,
8
8
  init_cjs_shims
9
- } from "./chunk-POZ5MGPT.js";
9
+ } from "./chunk-PKR7KJ6P.js";
10
10
 
11
11
  // ../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js
12
12
  var require_slash = __commonJS({
@@ -622,4 +622,4 @@ export {
622
622
  require_slash,
623
623
  require_globby
624
624
  };
625
- //# sourceMappingURL=chunk-WNDN5FAY.js.map
625
+ //# sourceMappingURL=chunk-MHUINF7I.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-4HTVLK2H.js";
4
+ } from "./chunk-OXS42VB7.js";
5
5
  import {
6
6
  init_cjs_shims
7
- } from "./chunk-POZ5MGPT.js";
7
+ } from "./chunk-PKR7KJ6P.js";
8
8
 
9
9
  // ../cli-kit/dist/public/node/testing/output.js
10
10
  init_cjs_shims();
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
33
33
  export {
34
34
  mockAndCaptureOutput
35
35
  };
36
- //# sourceMappingURL=chunk-JDM5VOXB.js.map
36
+ //# sourceMappingURL=chunk-MJWFXPPX.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-GVNIHXMX.js";
3
+ } from "./chunk-4SP4IRCQ.js";
4
4
  import {
5
5
  mkdir,
6
6
  outputInfo,
7
7
  rmdir,
8
8
  writeFile
9
- } from "./chunk-4HTVLK2H.js";
9
+ } from "./chunk-OXS42VB7.js";
10
10
  import {
11
11
  cwd,
12
12
  joinPath
13
- } from "./chunk-K6Y4FYT5.js";
13
+ } from "./chunk-K7HGDAI4.js";
14
14
  import {
15
15
  init_cjs_shims
16
- } from "./chunk-POZ5MGPT.js";
16
+ } from "./chunk-PKR7KJ6P.js";
17
17
 
18
18
  // src/cli/commands/docs/generate.ts
19
19
  init_cjs_shims();
@@ -85,8 +85,7 @@ export default data`;
85
85
  async function writeCommandFlagInterface(command, { fileName, interfaceName }) {
86
86
  let flagsDetails = Object.keys(command.flags).map((flagName) => {
87
87
  let flag = command.flags[flagName];
88
- if (!flag || flag.hidden)
89
- return;
88
+ if (!flag || flag.hidden) return;
90
89
  let flagDescription = flag.description || "", char = flag.char ? `-${flag.char}, ` : "", type = flag.type === "option" ? "string" : "''", value = flag.type === "option" ? " <value>" : "", optional = flag.required ? "" : "?", envValue = flag.env !== void 0 ? ` @environment ${flag.env}` : "";
91
90
  return ` /**
92
91
  * ${flagDescription}
@@ -116,4 +115,4 @@ export {
116
115
  writeCommandFlagInterface,
117
116
  writeCommandUsageExampleFile
118
117
  };
119
- //# sourceMappingURL=chunk-NE43V3EI.js.map
118
+ //# sourceMappingURL=chunk-MLL3JKVY.js.map