@shopify/create-app 4.2.0 → 4.3.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 (94) hide show
  1. package/dist/{acorn-7AGUHU7X.js → acorn-MAWEBG4K.js} +2 -2
  2. package/dist/analytics-3PMXYIP7.js +39 -0
  3. package/dist/analytics-UKSMSQBS.js +33 -0
  4. package/dist/{angular-WQAMH4CA.js → angular-75GZFSHJ.js} +2 -2
  5. package/dist/{babel-ANYZPGZG.js → babel-KZNQAA3R.js} +2 -2
  6. package/dist/{chokidar-HTKREZL3.js → chokidar-JYHMNWDF.js} +4 -4
  7. package/dist/{chunk-W3I47I43.js → chunk-3HO4OGB2.js} +4 -4
  8. package/dist/{chunk-PKR7KJ6P.js → chunk-3XNI6LP4.js} +13 -4
  9. package/dist/{chunk-EYELFNC7.js → chunk-5UUZHSUY.js} +5 -5
  10. package/dist/{chunk-KAVGZDPZ.js → chunk-76IXOUER.js} +4 -4
  11. package/dist/{chunk-DJW2W7VA.js → chunk-7OHJH7BF.js} +2 -2
  12. package/dist/{chunk-SAVFAAHX.js → chunk-BEUNBVME.js} +16 -16
  13. package/dist/{chunk-M2UQMZTP.js → chunk-BL35W5EH.js} +17 -17
  14. package/dist/{chunk-ZPFFIMXV.js → chunk-BLEIVACU.js} +30 -21
  15. package/dist/{chunk-ACS6S42W.js → chunk-C3J4HVUN.js} +2 -2
  16. package/dist/{chunk-OO33NRTL.js → chunk-D6NYWNY2.js} +2 -2
  17. package/dist/{chunk-HDGI2UBV.js → chunk-EBLNNEPP.js} +13 -13
  18. package/dist/{chunk-VBBBCVMH.js → chunk-G53O4PDO.js} +2 -2
  19. package/dist/{chunk-BGBNK6AD.js → chunk-GYXZK243.js} +3 -3
  20. package/dist/{chunk-7IK72W75.js → chunk-HABWQC37.js} +2 -2
  21. package/dist/{chunk-F6LQTIYO.js → chunk-HIWQ3G6P.js} +8 -8
  22. package/dist/{chunk-RXMZPVTQ.js → chunk-HJATSDRW.js} +12 -12
  23. package/dist/{chunk-PES3XMQM.js → chunk-JGGOQOPO.js} +2 -2
  24. package/dist/{chunk-325YJ3GA.js → chunk-KWG6VAVE.js} +6 -6
  25. package/dist/{chunk-G2ZZKGSV.js → chunk-LBXDGVFS.js} +2 -2
  26. package/dist/{chunk-CJMNB2EJ.js → chunk-LDYT4FTV.js} +2 -2
  27. package/dist/{chunk-S2C3LKO2.js → chunk-LQOISCOF.js} +11 -11
  28. package/dist/{chunk-JCETIRLI.js → chunk-MSED5ZFM.js} +2 -2
  29. package/dist/{chunk-X2WZCKNE.js → chunk-ODCXYGJ2.js} +3 -3
  30. package/dist/{chunk-AROS7RI6.js → chunk-OE3FSIHW.js} +3 -3
  31. package/dist/{chunk-6ZCMRIIK.js → chunk-OFTMFPMR.js} +6 -6
  32. package/dist/{chunk-7FVFOTP5.js → chunk-OQ3KXXGH.js} +2 -2
  33. package/dist/{chunk-X7YTIMNN.js → chunk-RIQNGBMO.js} +2 -2
  34. package/dist/{chunk-RWI7QPAN.js → chunk-WJSRZNB2.js} +10 -10
  35. package/dist/{chunk-AJMNFS2U.js → chunk-ZNNK6ZF5.js} +7 -7
  36. package/dist/{chunk-IEVOZUJ7.js → chunk-ZTXAANY4.js} +3 -3
  37. package/dist/{conf-store-A3JOFSUU.js → conf-store-HDH4Y2F3.js} +15 -15
  38. package/dist/{custom-oclif-loader-5SWH4GTV.js → custom-oclif-loader-7BTLNXYR.js} +8 -8
  39. package/dist/{deprecations-2ELX7ROT.js → deprecations-AREYHAI7.js} +19 -19
  40. package/dist/{devtools-FXOPST2H.js → devtools-MQLG4C6G.js} +3 -3
  41. package/dist/{dist-U3FLPMJE.js → dist-CECUBBYR.js} +2 -2
  42. package/dist/environments-C3Z4TCZS.js +26 -0
  43. package/dist/error-handler-C3IHDYS6.js +37 -0
  44. package/dist/{estree-E53K34OK.js → estree-5HWY3OB4.js} +2 -2
  45. package/dist/{flow-LFBHZSUI.js → flow-2RRPTAWK.js} +2 -2
  46. package/dist/{fs-O3X2BDXD.js → fs-BANPZ2MD.js} +8 -8
  47. package/dist/{glimmer-CVQMANCJ.js → glimmer-CEC5WUBW.js} +2 -2
  48. package/dist/{graphql-ZOTIIZAG.js → graphql-HWYKHSDS.js} +2 -2
  49. package/dist/hooks/postrun.js +9 -9
  50. package/dist/hooks/prerun.js +7 -7
  51. package/dist/{html-WQ23J64T.js → html-QFC3GCRO.js} +2 -2
  52. package/dist/{http-proxy-node16-XB2DSBCB.js → http-proxy-node16-5LMQ6YXS.js} +4 -4
  53. package/dist/index.js +1022 -1010
  54. package/dist/index.test.js +2 -2
  55. package/dist/{is-global-ET3YL7TT.js → is-global-G56KES2Y.js} +8 -8
  56. package/dist/{is-wsl-BJRAPRQU.js → is-wsl-63MHD6QC.js} +2 -2
  57. package/dist/{latest-version-KKU2QQZW.js → latest-version-6X5NXQEO.js} +4 -4
  58. package/dist/lib-NKDE2QNY.js +11 -0
  59. package/dist/{local-QWRI6OFV.js → local-JBCA7C7D.js} +4 -4
  60. package/dist/{magic-string.es-TVG7HRZ2.js → magic-string.es-PUBJJZST.js} +2 -2
  61. package/dist/{markdown-OIW6O7KK.js → markdown-4ZM5GKW2.js} +2 -2
  62. package/dist/{meriyah-KMVSYB54.js → meriyah-SUZXHXAS.js} +2 -2
  63. package/dist/{metadata-VZBMAQQC.js → metadata-FSAZEGLO.js} +5 -5
  64. package/dist/{multipart-parser-WKKMXACL.js → multipart-parser-QFOUP2TT.js} +3 -3
  65. package/dist/{node-package-manager-W33EW2VU.js → node-package-manager-MQEWWORU.js} +20 -20
  66. package/dist/notifications-system-LRNZSYSG.js +40 -0
  67. package/dist/{open-BHIF7E3E.js → open-JSCXNUDN.js} +3 -3
  68. package/dist/out-B5JNCU2S.js +7 -0
  69. package/dist/{output-5PDIDYKG.js → output-SAJPYFUY.js} +8 -8
  70. package/dist/{path-EOPO7QNL.js → path-2WA5R6GG.js} +3 -3
  71. package/dist/{postcss-WSM6XINW.js → postcss-JKZFHYDB.js} +2 -2
  72. package/dist/{prettier-3LMT6EEA.js → prettier-SS3RRDXK.js} +3 -3
  73. package/dist/system-ERPUEL46.js +47 -0
  74. package/dist/tsconfig.tsbuildinfo +1 -1
  75. package/dist/typescript-4FFXOVC6.js +6 -0
  76. package/dist/{typescript-Q4XZM2A4.js → typescript-HLNUID2L.js} +2 -2
  77. package/dist/{ui-IN56X5S4.js → ui-SD2MSDNB.js} +18 -18
  78. package/dist/{upgrade-OAFAJX4I.js → upgrade-UCWZU5UX.js} +26 -26
  79. package/dist/version-ODTNTG3P.js +8 -0
  80. package/dist/version-ZWXWXLYG.js +30 -0
  81. package/dist/{yaml-NI5GGQLI.js → yaml-Y6GPRGAB.js} +2 -2
  82. package/oclif.manifest.json +1 -1
  83. package/package.json +4 -4
  84. package/dist/analytics-DXTA2BTW.js +0 -39
  85. package/dist/analytics-VN37446T.js +0 -33
  86. package/dist/environments-XMNHPGBO.js +0 -26
  87. package/dist/error-handler-YHPBH53J.js +0 -37
  88. package/dist/lib-QBGNJ3PZ.js +0 -11
  89. package/dist/notifications-system-ZFKFHX3O.js +0 -40
  90. package/dist/out-JJWXGPI4.js +0 -7
  91. package/dist/system-X6HCVR7P.js +0 -47
  92. package/dist/typescript-TKTDYKKG.js +0 -6
  93. package/dist/version-D3H6OPFX.js +0 -30
  94. package/dist/version-QYHHSKFX.js +0 -8
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __esm,
3
3
  init_cjs_shims
4
- } from "./chunk-PKR7KJ6P.js";
4
+ } from "./chunk-3XNI6LP4.js";
5
5
 
6
6
  // ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/acorn.mjs
7
7
  function je(e, t) {
@@ -3013,4 +3013,4 @@ export {
3013
3013
  Pi as default,
3014
3014
  dr as parsers
3015
3015
  };
3016
- //# sourceMappingURL=acorn-7AGUHU7X.js.map
3016
+ //# sourceMappingURL=acorn-MAWEBG4K.js.map
@@ -0,0 +1,39 @@
1
+ import {
2
+ compileData,
3
+ recordError,
4
+ recordEvent,
5
+ recordRetry,
6
+ recordTiming,
7
+ reportAnalyticsEvent
8
+ } from "./chunk-BLEIVACU.js";
9
+ import "./chunk-MSED5ZFM.js";
10
+ import "./chunk-WJSRZNB2.js";
11
+ import "./chunk-ZTXAANY4.js";
12
+ import "./chunk-G53O4PDO.js";
13
+ import "./chunk-ZNNK6ZF5.js";
14
+ import "./chunk-EBLNNEPP.js";
15
+ import "./chunk-76IXOUER.js";
16
+ import "./chunk-OFTMFPMR.js";
17
+ import "./chunk-KWG6VAVE.js";
18
+ import "./chunk-ODCXYGJ2.js";
19
+ import "./chunk-LBXDGVFS.js";
20
+ import "./chunk-D6NYWNY2.js";
21
+ import "./chunk-JGGOQOPO.js";
22
+ import "./chunk-OQ3KXXGH.js";
23
+ import "./chunk-GYXZK243.js";
24
+ import "./chunk-HJATSDRW.js";
25
+ import "./chunk-5UUZHSUY.js";
26
+ import "./chunk-7OHJH7BF.js";
27
+ import "./chunk-C3J4HVUN.js";
28
+ import "./chunk-OE3FSIHW.js";
29
+ import "./chunk-HABWQC37.js";
30
+ import "./chunk-3XNI6LP4.js";
31
+ export {
32
+ compileData,
33
+ recordError,
34
+ recordEvent,
35
+ recordRetry,
36
+ recordTiming,
37
+ reportAnalyticsEvent
38
+ };
39
+ //# sourceMappingURL=analytics-3PMXYIP7.js.map
@@ -0,0 +1,33 @@
1
+ import {
2
+ getEnvironmentData,
3
+ getSensitiveEnvironmentData,
4
+ startAnalytics
5
+ } from "./chunk-BLEIVACU.js";
6
+ import "./chunk-MSED5ZFM.js";
7
+ import "./chunk-WJSRZNB2.js";
8
+ import "./chunk-ZTXAANY4.js";
9
+ import "./chunk-G53O4PDO.js";
10
+ import "./chunk-ZNNK6ZF5.js";
11
+ import "./chunk-EBLNNEPP.js";
12
+ import "./chunk-76IXOUER.js";
13
+ import "./chunk-OFTMFPMR.js";
14
+ import "./chunk-KWG6VAVE.js";
15
+ import "./chunk-ODCXYGJ2.js";
16
+ import "./chunk-LBXDGVFS.js";
17
+ import "./chunk-D6NYWNY2.js";
18
+ import "./chunk-JGGOQOPO.js";
19
+ import "./chunk-OQ3KXXGH.js";
20
+ import "./chunk-GYXZK243.js";
21
+ import "./chunk-HJATSDRW.js";
22
+ import "./chunk-5UUZHSUY.js";
23
+ import "./chunk-7OHJH7BF.js";
24
+ import "./chunk-C3J4HVUN.js";
25
+ import "./chunk-OE3FSIHW.js";
26
+ import "./chunk-HABWQC37.js";
27
+ import "./chunk-3XNI6LP4.js";
28
+ export {
29
+ getEnvironmentData,
30
+ getSensitiveEnvironmentData,
31
+ startAnalytics
32
+ };
33
+ //# sourceMappingURL=analytics-UKSMSQBS.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __esm,
3
3
  init_cjs_shims
4
- } from "./chunk-PKR7KJ6P.js";
4
+ } from "./chunk-3XNI6LP4.js";
5
5
 
6
6
  // ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/angular.mjs
7
7
  function Fr(t29) {
@@ -3114,4 +3114,4 @@ export {
3114
3114
  Rr as default,
3115
3115
  fn as parsers
3116
3116
  };
3117
- //# sourceMappingURL=angular-WQAMH4CA.js.map
3117
+ //# sourceMappingURL=angular-75GZFSHJ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __esm,
3
3
  init_cjs_shims
4
- } from "./chunk-PKR7KJ6P.js";
4
+ } from "./chunk-3XNI6LP4.js";
5
5
 
6
6
  // ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/babel.mjs
7
7
  function Ws(a2, t) {
@@ -7165,4 +7165,4 @@ export {
7165
7165
  Ks as default,
7166
7166
  ra as parsers
7167
7167
  };
7168
- //# sourceMappingURL=babel-ANYZPGZG.js.map
7168
+ //# sourceMappingURL=babel-KZNQAA3R.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  require_normalize_path
3
- } from "./chunk-X7YTIMNN.js";
3
+ } from "./chunk-RIQNGBMO.js";
4
4
  import {
5
5
  require_braces,
6
6
  require_glob_parent,
7
7
  require_is_glob,
8
8
  require_picomatch
9
- } from "./chunk-7IK72W75.js";
9
+ } from "./chunk-HABWQC37.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __require,
13
13
  init_cjs_shims
14
- } from "./chunk-PKR7KJ6P.js";
14
+ } from "./chunk-3XNI6LP4.js";
15
15
 
16
16
  // ../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js
17
17
  var require_readdirp = __commonJS({
@@ -1594,4 +1594,4 @@ var require_chokidar = __commonJS({
1594
1594
  }
1595
1595
  });
1596
1596
  export default require_chokidar();
1597
- //# sourceMappingURL=chokidar-HTKREZL3.js.map
1597
+ //# sourceMappingURL=chokidar-JYHMNWDF.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  captureOutput,
3
3
  require_lib
4
- } from "./chunk-HDGI2UBV.js";
4
+ } from "./chunk-EBLNNEPP.js";
5
5
  import {
6
6
  require_semver
7
- } from "./chunk-7FVFOTP5.js";
7
+ } from "./chunk-OQ3KXXGH.js";
8
8
  import {
9
9
  __toESM,
10
10
  init_cjs_shims
11
- } from "./chunk-PKR7KJ6P.js";
11
+ } from "./chunk-3XNI6LP4.js";
12
12
 
13
13
  // ../cli-kit/dist/public/node/version.js
14
14
  init_cjs_shims();
@@ -52,4 +52,4 @@ export {
52
52
  isPreReleaseVersion,
53
53
  isMajorVersionChange
54
54
  };
55
- //# sourceMappingURL=chunk-W3I47I43.js.map
55
+ //# sourceMappingURL=chunk-3HO4OGB2.js.map
@@ -9,11 +9,20 @@ var __require = /* @__PURE__ */ ((x) => typeof require < "u" ? require : typeof
9
9
  if (typeof require < "u") return require.apply(this, arguments);
10
10
  throw Error('Dynamic require of "' + x + '" is not supported');
11
11
  });
12
- var __esm = (fn, res) => function() {
13
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
12
+ var __esm = (fn, res, err) => function() {
13
+ if (err) throw err[0];
14
+ try {
15
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
16
+ } catch (e) {
17
+ throw err = [e], e;
18
+ }
14
19
  };
15
20
  var __commonJS = (cb, mod) => function() {
16
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
21
+ try {
22
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
23
+ } catch (e) {
24
+ throw mod = 0, e;
25
+ }
17
26
  };
18
27
  var __export = (target, all) => {
19
28
  for (var name in all)
@@ -55,4 +64,4 @@ export {
55
64
  __toCommonJS,
56
65
  init_cjs_shims
57
66
  };
58
- //# sourceMappingURL=chunk-PKR7KJ6P.js.map
67
+ //# sourceMappingURL=chunk-3XNI6LP4.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  joinPath
3
- } from "./chunk-ACS6S42W.js";
3
+ } from "./chunk-C3J4HVUN.js";
4
4
  import {
5
5
  __commonJS,
6
6
  __require,
7
7
  __toESM,
8
8
  init_cjs_shims
9
- } from "./chunk-PKR7KJ6P.js";
9
+ } from "./chunk-3XNI6LP4.js";
10
10
 
11
11
  // ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/util.js
12
12
  var require_util = __commonJS({
@@ -530,11 +530,11 @@ var environmentVariables = {
530
530
  var import_macaddress = __toESM(require_macaddress(), 1);
531
531
  import { homedir as homedir2 } from "os";
532
532
  async function lazyFileExists(path2) {
533
- let { fileExists } = await import("./fs-O3X2BDXD.js");
533
+ let { fileExists } = await import("./fs-BANPZ2MD.js");
534
534
  return fileExists(path2);
535
535
  }
536
536
  async function lazyExec(command, args) {
537
- let { exec } = await import("./system-X6HCVR7P.js");
537
+ let { exec } = await import("./system-ERPUEL46.js");
538
538
  await exec(command, args);
539
539
  }
540
540
  function isTerminalInteractive() {
@@ -658,4 +658,4 @@ export {
658
658
  getThemeKitAccessDomain,
659
659
  opentelemetryDomain
660
660
  };
661
- //# sourceMappingURL=chunk-EYELFNC7.js.map
661
+ //# sourceMappingURL=chunk-5UUZHSUY.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isUnitTest
3
- } from "./chunk-EYELFNC7.js";
3
+ } from "./chunk-5UUZHSUY.js";
4
4
  import {
5
5
  init_cjs_shims
6
- } from "./chunk-PKR7KJ6P.js";
6
+ } from "./chunk-3XNI6LP4.js";
7
7
 
8
8
  // ../cli-kit/dist/public/node/metadata.js
9
9
  init_cjs_shims();
@@ -32,7 +32,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
32
32
  try {
33
33
  await getAndSet();
34
34
  } catch (error) {
35
- let { sendErrorToBugsnag } = await import("./error-handler-YHPBH53J.js");
35
+ let { sendErrorToBugsnag } = await import("./error-handler-C3IHDYS6.js");
36
36
  await sendErrorToBugsnag(error, "unexpected_error");
37
37
  }
38
38
  }, durationStack = [];
@@ -75,4 +75,4 @@ export {
75
75
  addSensitiveMetadata,
76
76
  runWithTimer
77
77
  };
78
- //# sourceMappingURL=chunk-KAVGZDPZ.js.map
78
+ //# sourceMappingURL=chunk-76IXOUER.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  init_cjs_shims
4
- } from "./chunk-PKR7KJ6P.js";
4
+ } from "./chunk-3XNI6LP4.js";
5
5
 
6
6
  // ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
7
7
  var require_has_flag = __commonJS({
@@ -18,4 +18,4 @@ var require_has_flag = __commonJS({
18
18
  export {
19
19
  require_has_flag
20
20
  };
21
- //# sourceMappingURL=chunk-DJW2W7VA.js.map
21
+ //# sourceMappingURL=chunk-7OHJH7BF.js.map
@@ -2,7 +2,7 @@ import {
2
2
  __esm,
3
3
  __export,
4
4
  init_cjs_shims
5
- } from "./chunk-PKR7KJ6P.js";
5
+ } from "./chunk-3XNI6LP4.js";
6
6
 
7
7
  // ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/doc.mjs
8
8
  var doc_exports = {};
@@ -2247,7 +2247,7 @@ async function loadConfigFromPackageYaml(file) {
2247
2247
  }
2248
2248
  async function loadYaml(file) {
2249
2249
  let content = await read_file_default(file);
2250
- parseYaml || ({ __parsePrettierYamlConfig: parseYaml } = await import("./yaml-NI5GGQLI.js"));
2250
+ parseYaml || ({ __parsePrettierYamlConfig: parseYaml } = await import("./yaml-Y6GPRGAB.js"));
2251
2251
  try {
2252
2252
  return parseYaml(content);
2253
2253
  } catch (error) {
@@ -13650,7 +13650,7 @@ The range will extend backwards to the start of the first line containing the se
13650
13650
  }, options_default6 = options6;
13651
13651
  estreePlugin = createParsersAndPrinters([
13652
13652
  {
13653
- importPlugin: () => import("./estree-E53K34OK.js"),
13653
+ importPlugin: () => import("./estree-5HWY3OB4.js"),
13654
13654
  printers: ["estree", "estree-json"]
13655
13655
  }
13656
13656
  ]), options7 = {
@@ -13671,11 +13671,11 @@ The range will extend backwards to the start of the first line containing the se
13671
13671
  ...languages_evaluate_default8
13672
13672
  ], { parsers, printers } = createParsersAndPrinters([
13673
13673
  {
13674
- importPlugin: () => import("./acorn-7AGUHU7X.js"),
13674
+ importPlugin: () => import("./acorn-MAWEBG4K.js"),
13675
13675
  parsers: ["acorn", "espree"]
13676
13676
  },
13677
13677
  {
13678
- importPlugin: () => import("./angular-WQAMH4CA.js"),
13678
+ importPlugin: () => import("./angular-75GZFSHJ.js"),
13679
13679
  parsers: [
13680
13680
  "__ng_action",
13681
13681
  "__ng_binding",
@@ -13684,7 +13684,7 @@ The range will extend backwards to the start of the first line containing the se
13684
13684
  ]
13685
13685
  },
13686
13686
  {
13687
- importPlugin: () => import("./babel-ANYZPGZG.js"),
13687
+ importPlugin: () => import("./babel-KZNQAA3R.js"),
13688
13688
  parsers: [
13689
13689
  "babel",
13690
13690
  "babel-flow",
@@ -13703,44 +13703,44 @@ The range will extend backwards to the start of the first line containing the se
13703
13703
  ]
13704
13704
  },
13705
13705
  {
13706
- importPlugin: () => import("./flow-LFBHZSUI.js"),
13706
+ importPlugin: () => import("./flow-2RRPTAWK.js"),
13707
13707
  parsers: ["flow"]
13708
13708
  },
13709
13709
  {
13710
- importPlugin: () => import("./glimmer-CVQMANCJ.js"),
13710
+ importPlugin: () => import("./glimmer-CEC5WUBW.js"),
13711
13711
  parsers: ["glimmer"],
13712
13712
  printers: ["glimmer"]
13713
13713
  },
13714
13714
  {
13715
- importPlugin: () => import("./graphql-ZOTIIZAG.js"),
13715
+ importPlugin: () => import("./graphql-HWYKHSDS.js"),
13716
13716
  parsers: ["graphql"],
13717
13717
  printers: ["graphql"]
13718
13718
  },
13719
13719
  {
13720
- importPlugin: () => import("./html-WQ23J64T.js"),
13720
+ importPlugin: () => import("./html-QFC3GCRO.js"),
13721
13721
  parsers: ["html", "angular", "vue", "lwc", "mjml"],
13722
13722
  printers: ["html"]
13723
13723
  },
13724
13724
  {
13725
- importPlugin: () => import("./markdown-OIW6O7KK.js"),
13725
+ importPlugin: () => import("./markdown-4ZM5GKW2.js"),
13726
13726
  parsers: ["markdown", "mdx", "remark"],
13727
13727
  printers: ["mdast"]
13728
13728
  },
13729
13729
  {
13730
- importPlugin: () => import("./meriyah-KMVSYB54.js"),
13730
+ importPlugin: () => import("./meriyah-SUZXHXAS.js"),
13731
13731
  parsers: ["meriyah"]
13732
13732
  },
13733
13733
  {
13734
- importPlugin: () => import("./postcss-WSM6XINW.js"),
13734
+ importPlugin: () => import("./postcss-JKZFHYDB.js"),
13735
13735
  parsers: ["css", "less", "scss"],
13736
13736
  printers: ["postcss"]
13737
13737
  },
13738
13738
  {
13739
- importPlugin: () => import("./typescript-Q4XZM2A4.js"),
13739
+ importPlugin: () => import("./typescript-HLNUID2L.js"),
13740
13740
  parsers: ["typescript"]
13741
13741
  },
13742
13742
  {
13743
- importPlugin: () => import("./yaml-NI5GGQLI.js"),
13743
+ importPlugin: () => import("./yaml-Y6GPRGAB.js"),
13744
13744
  parsers: ["yaml"],
13745
13745
  printers: ["yaml"]
13746
13746
  }
@@ -13859,4 +13859,4 @@ export {
13859
13859
  debugApis,
13860
13860
  init_prettier
13861
13861
  };
13862
- //# sourceMappingURL=chunk-SAVFAAHX.js.map
13862
+ //# sourceMappingURL=chunk-BEUNBVME.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  treeKill
3
- } from "./chunk-BGBNK6AD.js";
3
+ } from "./chunk-GYXZK243.js";
4
4
  import {
5
5
  init_cjs_shims
6
- } from "./chunk-PKR7KJ6P.js";
6
+ } from "./chunk-3XNI6LP4.js";
7
7
 
8
8
  // ../cli-kit/dist/public/node/hooks/postrun.js
9
9
  init_cjs_shims();
@@ -26,22 +26,22 @@ function waitForPostRunHookAndExit() {
26
26
  }
27
27
  var hook = async ({ config, Command }) => {
28
28
  await detectStopCommand(Command);
29
- let metadata = await import("./metadata-VZBMAQQC.js"), { commandStartOptions } = metadata.getAllSensitiveMetadata();
29
+ let metadata = await import("./metadata-FSAZEGLO.js"), { commandStartOptions } = metadata.getAllSensitiveMetadata();
30
30
  commandStartOptions && await metadata.addSensitiveMetadata(() => ({
31
31
  commandStartOptions: {
32
32
  ...commandStartOptions,
33
33
  endTime: (/* @__PURE__ */ new Date()).getTime()
34
34
  }
35
35
  }));
36
- let { postrun: deprecationsHook } = await import("./deprecations-2ELX7ROT.js");
36
+ let { postrun: deprecationsHook } = await import("./deprecations-AREYHAI7.js");
37
37
  deprecationsHook(Command);
38
- let { outputDebug } = await import("./output-5PDIDYKG.js"), command = Command.id.replace(/:/g, " ");
38
+ let { outputDebug } = await import("./output-SAJPYFUY.js"), command = Command.id.replace(/:/g, " ");
39
39
  outputDebug(`Completed command ${command}`), !command.includes("notifications") && !command.includes("upgrade") && await autoUpgradeIfNeeded();
40
- let { reportAnalyticsEvent } = await import("./analytics-DXTA2BTW.js");
40
+ let { reportAnalyticsEvent } = await import("./analytics-3PMXYIP7.js");
41
41
  await reportAnalyticsEvent({ config, exitMode: "ok" }), postRunHookCompleted = !0;
42
42
  };
43
43
  async function autoUpgradeIfNeeded() {
44
- let { versionToAutoUpgrade, warnIfUpgradeAvailable } = await import("./upgrade-OAFAJX4I.js"), newerVersion = versionToAutoUpgrade();
44
+ let { versionToAutoUpgrade, warnIfUpgradeAvailable } = await import("./upgrade-UCWZU5UX.js"), newerVersion = versionToAutoUpgrade();
45
45
  if (!newerVersion) {
46
46
  await warnIfUpgradeAvailable();
47
47
  return;
@@ -49,7 +49,7 @@ async function autoUpgradeIfNeeded() {
49
49
  if (process.env.SHOPIFY_CLI_FORCE_AUTO_UPGRADE === "1")
50
50
  await performAutoUpgrade(newerVersion);
51
51
  else {
52
- let { runAtMinimumInterval } = await import("./conf-store-A3JOFSUU.js");
52
+ let { runAtMinimumInterval } = await import("./conf-store-HDH4Y2F3.js");
53
53
  await runAtMinimumInterval("auto-upgrade", { days: 1 }, async () => {
54
54
  await performAutoUpgrade(newerVersion);
55
55
  });
@@ -57,11 +57,11 @@ async function autoUpgradeIfNeeded() {
57
57
  }
58
58
  async function performAutoUpgrade(newerVersion) {
59
59
  let [{ CLI_KIT_VERSION }, { isMajorVersionChange }, { outputWarn, outputDebug }, { getOutputUpdateCLIReminder, runCLIUpgrade, hasBlockingAutoUpgradeNotification }, metadata] = await Promise.all([
60
- import("./version-QYHHSKFX.js"),
61
- import("./version-D3H6OPFX.js"),
62
- import("./output-5PDIDYKG.js"),
63
- import("./upgrade-OAFAJX4I.js"),
64
- import("./metadata-VZBMAQQC.js")
60
+ import("./version-ODTNTG3P.js"),
61
+ import("./version-ZWXWXLYG.js"),
62
+ import("./output-SAJPYFUY.js"),
63
+ import("./upgrade-UCWZU5UX.js"),
64
+ import("./metadata-FSAZEGLO.js")
65
65
  ]);
66
66
  if (isMajorVersionChange(CLI_KIT_VERSION, newerVersion)) {
67
67
  outputWarn(getOutputUpdateCLIReminder(newerVersion, !0)), await metadata.addPublicMetadata(() => ({
@@ -81,8 +81,8 @@ async function performAutoUpgrade(newerVersion) {
81
81
  let errorMessage = `Auto-upgrade failed: ${error}`;
82
82
  outputDebug(errorMessage), outputWarn(getOutputUpdateCLIReminder(newerVersion)), await metadata.addPublicMetadata(() => ({ env_auto_upgrade_success: !1 }));
83
83
  let [{ sendErrorToBugsnag }, { inferPackageManagerForGlobalCLI }] = await Promise.all([
84
- import("./error-handler-YHPBH53J.js"),
85
- import("./is-global-ET3YL7TT.js")
84
+ import("./error-handler-C3IHDYS6.js"),
85
+ import("./is-global-G56KES2Y.js")
86
86
  ]), enrichedError = Object.assign(new Error(errorMessage), {
87
87
  packageManager: inferPackageManagerForGlobalCLI(),
88
88
  platform: process.platform,
@@ -96,7 +96,7 @@ async function detectStopCommand(commandClass) {
96
96
  if (commandClass && "analyticsStopCommand" in commandClass && typeof commandClass.analyticsStopCommand == "function") {
97
97
  let stopCommand = commandClass.analyticsStopCommand();
98
98
  if (stopCommand) {
99
- let metadata = await import("./metadata-VZBMAQQC.js"), { commandStartOptions } = metadata.getAllSensitiveMetadata();
99
+ let metadata = await import("./metadata-FSAZEGLO.js"), { commandStartOptions } = metadata.getAllSensitiveMetadata();
100
100
  if (!commandStartOptions)
101
101
  return;
102
102
  await metadata.addSensitiveMetadata(() => ({
@@ -114,4 +114,4 @@ export {
114
114
  waitForPostRunHookAndExit,
115
115
  hook
116
116
  };
117
- //# sourceMappingURL=chunk-M2UQMZTP.js.map
117
+ //# sourceMappingURL=chunk-BL35W5EH.js.map
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  setNextDeprecationDate
3
- } from "./chunk-JCETIRLI.js";
3
+ } from "./chunk-MSED5ZFM.js";
4
4
  import {
5
5
  getPackageManager,
6
6
  packageManagerFromUserAgent
7
- } from "./chunk-RWI7QPAN.js";
7
+ } from "./chunk-WJSRZNB2.js";
8
8
  import {
9
9
  CLI_KIT_VERSION
10
- } from "./chunk-IEVOZUJ7.js";
10
+ } from "./chunk-ZTXAANY4.js";
11
11
  import {
12
12
  FormData,
13
13
  fetch_blob_default,
14
14
  formDataToBlob
15
- } from "./chunk-VBBBCVMH.js";
15
+ } from "./chunk-G53O4PDO.js";
16
16
  import {
17
17
  Environment,
18
18
  cacheRetrieveOrRepopulate,
@@ -27,7 +27,7 @@ import {
27
27
  setCurrentSessionId,
28
28
  setSessions,
29
29
  timeIntervalToMilliseconds
30
- } from "./chunk-AJMNFS2U.js";
30
+ } from "./chunk-ZNNK6ZF5.js";
31
31
  import {
32
32
  isCI,
33
33
  isWsl,
@@ -36,14 +36,14 @@ import {
36
36
  require_baseForOwn,
37
37
  require_stacktracey,
38
38
  sleep
39
- } from "./chunk-HDGI2UBV.js";
39
+ } from "./chunk-EBLNNEPP.js";
40
40
  import {
41
41
  addPublicMetadata,
42
42
  addSensitiveMetadata,
43
43
  getAllPublicMetadata,
44
44
  getAllSensitiveMetadata,
45
45
  runWithTimer
46
- } from "./chunk-KAVGZDPZ.js";
46
+ } from "./chunk-76IXOUER.js";
47
47
  import {
48
48
  AbortError,
49
49
  AbortSilentError,
@@ -55,10 +55,10 @@ import {
55
55
  handler,
56
56
  import_ts_error,
57
57
  shouldReportErrorAsUnexpected
58
- } from "./chunk-6ZCMRIIK.js";
58
+ } from "./chunk-OFTMFPMR.js";
59
59
  import {
60
60
  require_lib
61
- } from "./chunk-325YJ3GA.js";
61
+ } from "./chunk-KWG6VAVE.js";
62
62
  import {
63
63
  currentProcessIsGlobal,
64
64
  formatPackageManagerCommand,
@@ -103,7 +103,7 @@ import {
103
103
  require_toKey,
104
104
  stringifyMessage,
105
105
  uniq
106
- } from "./chunk-RXMZPVTQ.js";
106
+ } from "./chunk-HJATSDRW.js";
107
107
  import {
108
108
  alwaysLogAnalytics,
109
109
  alwaysLogMetrics,
@@ -123,7 +123,7 @@ import {
123
123
  sessionConstants,
124
124
  systemEnvironmentVariables,
125
125
  themeToken
126
- } from "./chunk-EYELFNC7.js";
126
+ } from "./chunk-5UUZHSUY.js";
127
127
  import {
128
128
  cwd,
129
129
  isAbsolutePath,
@@ -131,7 +131,7 @@ import {
131
131
  normalizePath,
132
132
  relativePath,
133
133
  sniffForJson
134
- } from "./chunk-ACS6S42W.js";
134
+ } from "./chunk-C3J4HVUN.js";
135
135
  import {
136
136
  __commonJS,
137
137
  __esm,
@@ -140,7 +140,7 @@ import {
140
140
  __toCommonJS,
141
141
  __toESM,
142
142
  init_cjs_shims
143
- } from "./chunk-PKR7KJ6P.js";
143
+ } from "./chunk-3XNI6LP4.js";
144
144
 
145
145
  // ../../node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.js
146
146
  var require_delayed_stream = __commonJS({
@@ -60158,7 +60158,7 @@ var pipeline = promisify(Stream.pipeline), INTERNALS = /* @__PURE__ */ Symbol("B
60158
60158
  formData2.append(name, value);
60159
60159
  return formData2;
60160
60160
  }
60161
- let { toFormData } = await import("./multipart-parser-WKKMXACL.js");
60161
+ let { toFormData } = await import("./multipart-parser-QFOUP2TT.js");
60162
60162
  return toFormData(this.body, ct);
60163
60163
  }
60164
60164
  /**
@@ -60978,7 +60978,7 @@ async function shopifyFetch(url4, init, preferredBehaviour) {
60978
60978
  }
60979
60979
 
60980
60980
  // ../cli-kit/dist/public/node/monorail.js
60981
- var url = "https://monorail-edge.shopifysvc.com/v1/produce", MONORAIL_COMMAND_TOPIC = "app_cli3_command/1.26", publishedCommandNames = /* @__PURE__ */ new Set();
60981
+ var url = "https://monorail-edge.shopifysvc.com/v1/produce", MONORAIL_COMMAND_TOPIC = "app_cli3_command/1.28", publishedCommandNames = /* @__PURE__ */ new Set();
60982
60982
  async function publishMonorailEvent(schemaId, publicData, sensitiveData) {
60983
60983
  let commandName = publicData.command;
60984
60984
  if (commandName && typeof commandName == "string") {
@@ -62608,7 +62608,7 @@ async function identityFqdn() {
62608
62608
  }
62609
62609
  function normalizeStoreFqdn(store2) {
62610
62610
  let storeFqdn = store2.replace(/^https?:\/\//, "").replace(/\/$/, "").replace(/\/admin$/, ""), addDomain = (storeFqdn2) => serviceEnvironment() === "local" ? new DevServerCore().host(storeFqdn2) : `${storeFqdn2}.myshopify.com`;
62611
- return ((storeFqdn2) => storeFqdn2.endsWith(".myshopify.com") || storeFqdn2.endsWith("shopify.io") || storeFqdn2.endsWith(".shop.dev"))(storeFqdn) ? storeFqdn : addDomain(storeFqdn);
62611
+ return ((storeFqdn2) => storeFqdn2.endsWith(".myshopify.com") || storeFqdn2.endsWith(".myshopify.io") || storeFqdn2.endsWith(".shop.dev"))(storeFqdn) ? storeFqdn : addDomain(storeFqdn);
62612
62612
  }
62613
62613
  function storeAdminUrl(storeFqdn) {
62614
62614
  return serviceEnvironment() === "local" && storeFqdn.endsWith(".my.shop.dev") ? `admin.shop.dev/store/${storeFqdn.replace(".my.shop.dev", "")}` : storeFqdn;
@@ -62936,7 +62936,16 @@ async function fetch3() {
62936
62936
  let content = getSessions();
62937
62937
  if (!content)
62938
62938
  return;
62939
- let contentJson = JSON.parse(content), parsedSessions = await SessionsSchema.safeParseAsync(contentJson);
62939
+ let contentJson;
62940
+ try {
62941
+ contentJson = JSON.parse(content);
62942
+ } catch (error) {
62943
+ if (!(error instanceof SyntaxError))
62944
+ throw error;
62945
+ await remove();
62946
+ return;
62947
+ }
62948
+ let parsedSessions = await SessionsSchema.safeParseAsync(contentJson);
62940
62949
  if (parsedSessions.success)
62941
62950
  return parsedSessions.data;
62942
62951
  await remove();
@@ -63115,11 +63124,11 @@ ${outputToken.json(scopes)}
63115
63124
  }
63116
63125
  return ensureAuthenticatedAdmin(store2, scopes, options2);
63117
63126
  }
63118
- async function ensureAuthenticatedBusinessPlatform(scopes = []) {
63127
+ async function ensureAuthenticatedBusinessPlatform(scopes = [], options2 = {}) {
63119
63128
  outputDebug(outputContent`Ensuring that the user is authenticated with the Business Platform API with the following scopes:
63120
63129
  ${outputToken.json(scopes)}
63121
63130
  `);
63122
- let tokens = await ensureAuthenticated({ businessPlatformApi: { scopes } }, process.env);
63131
+ let tokens = await ensureAuthenticated({ businessPlatformApi: { scopes } }, process.env, options2);
63123
63132
  if (!tokens.businessPlatform)
63124
63133
  throw new BugError("No business-platform token found after ensuring authenticated");
63125
63134
  return tokens.businessPlatform;
@@ -63382,7 +63391,7 @@ var addCursorAndFiltersToAppLogsUrl = (baseUrl, cursor, filters) => {
63382
63391
  };
63383
63392
 
63384
63393
  // ../cli-kit/dist/public/node/api/partners.js
63385
- var import_bottleneck = __toESM(require_lib4(), 1), limiter = new import_bottleneck.default({
63394
+ var import_bottleneck = __toESM(require_lib4()), limiter = new import_bottleneck.default({
63386
63395
  minTime: 150,
63387
63396
  maxConcurrent: 10
63388
63397
  });
@@ -63815,4 +63824,4 @@ mime-types/index.js:
63815
63824
  * MIT Licensed
63816
63825
  *)
63817
63826
  */
63818
- //# sourceMappingURL=chunk-ZPFFIMXV.js.map
63827
+ //# sourceMappingURL=chunk-BLEIVACU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_cjs_shims
3
- } from "./chunk-PKR7KJ6P.js";
3
+ } from "./chunk-3XNI6LP4.js";
4
4
 
5
5
  // ../cli-kit/dist/public/node/path.js
6
6
  init_cjs_shims();
@@ -196,4 +196,4 @@ export {
196
196
  sniffForJson,
197
197
  sanitizeRelativePath
198
198
  };
199
- //# sourceMappingURL=chunk-ACS6S42W.js.map
199
+ //# sourceMappingURL=chunk-C3J4HVUN.js.map