@shopify/create-app 4.1.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 (95) hide show
  1. package/dist/{acorn-B7Z74OJ7.js → acorn-MAWEBG4K.js} +4 -4
  2. package/dist/analytics-3PMXYIP7.js +39 -0
  3. package/dist/analytics-UKSMSQBS.js +33 -0
  4. package/dist/angular-75GZFSHJ.js +3117 -0
  5. package/dist/{babel-CJ53QMMG.js → babel-KZNQAA3R.js} +4 -4
  6. package/dist/{chokidar-HTKREZL3.js → chokidar-JYHMNWDF.js} +4 -4
  7. package/dist/{chunk-TVUF42MB.js → chunk-3HO4OGB2.js} +4 -4
  8. package/dist/{chunk-PKR7KJ6P.js → chunk-3XNI6LP4.js} +13 -4
  9. package/dist/{chunk-A6TJPMVH.js → chunk-5UUZHSUY.js} +28 -28
  10. package/dist/{chunk-SWITKWBS.js → chunk-76IXOUER.js} +4 -4
  11. package/dist/{chunk-DJW2W7VA.js → chunk-7OHJH7BF.js} +2 -2
  12. package/dist/{chunk-DWGHKWV5.js → chunk-BEUNBVME.js} +21 -21
  13. package/dist/{chunk-32DG2OXV.js → chunk-BL35W5EH.js} +25 -18
  14. package/dist/{chunk-S4YEA2XG.js → chunk-BLEIVACU.js} +10911 -2155
  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-C5OLLQWI.js → chunk-EBLNNEPP.js} +61 -55
  18. package/dist/{chunk-VBBBCVMH.js → chunk-G53O4PDO.js} +2 -2
  19. package/dist/{chunk-CEGG2EWP.js → chunk-GYXZK243.js} +3 -3
  20. package/dist/{chunk-7IK72W75.js → chunk-HABWQC37.js} +2 -2
  21. package/dist/{chunk-PVHOBK32.js → chunk-HIWQ3G6P.js} +10 -7
  22. package/dist/{chunk-BMI6QCMV.js → chunk-HJATSDRW.js} +560 -898
  23. package/dist/{chunk-PES3XMQM.js → chunk-JGGOQOPO.js} +2 -2
  24. package/dist/{chunk-UX6FRPFM.js → chunk-KWG6VAVE.js} +592 -351
  25. package/dist/{chunk-G2ZZKGSV.js → chunk-LBXDGVFS.js} +2 -2
  26. package/dist/{chunk-CE4S2SGM.js → chunk-LDYT4FTV.js} +233 -152
  27. package/dist/{chunk-TS6LOJXS.js → chunk-LQOISCOF.js} +31 -30
  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-MIECGF3H.js → chunk-OFTMFPMR.js} +6 -6
  32. package/dist/{chunk-6OOTYTVB.js → chunk-OQ3KXXGH.js} +219 -110
  33. package/dist/{chunk-X7YTIMNN.js → chunk-RIQNGBMO.js} +2 -2
  34. package/dist/{chunk-JT5MT2JE.js → chunk-WJSRZNB2.js} +10 -10
  35. package/dist/{chunk-RB7BXTZQ.js → chunk-ZNNK6ZF5.js} +140 -140
  36. package/dist/{chunk-7OFS6B2C.js → chunk-ZTXAANY4.js} +3 -3
  37. package/dist/{conf-store-R26LOTXD.js → conf-store-HDH4Y2F3.js} +15 -15
  38. package/dist/{custom-oclif-loader-354VAVF4.js → custom-oclif-loader-7BTLNXYR.js} +8 -8
  39. package/dist/{deprecations-JWETMJFF.js → deprecations-AREYHAI7.js} +19 -19
  40. package/dist/{devtools-4EY2MEDN.js → devtools-MQLG4C6G.js} +3 -3
  41. package/dist/dist-CECUBBYR.js +510 -0
  42. package/dist/environments-C3Z4TCZS.js +26 -0
  43. package/dist/error-handler-C3IHDYS6.js +37 -0
  44. package/dist/{estree-UBDGCTT2.js → estree-5HWY3OB4.js} +5 -5
  45. package/dist/{flow-FUOSTAYW.js → flow-2RRPTAWK.js} +4 -4
  46. package/dist/{fs-HPLMOQQD.js → fs-BANPZ2MD.js} +8 -8
  47. package/dist/{glimmer-XBFG6K3P.js → glimmer-CEC5WUBW.js} +4 -4
  48. package/dist/{graphql-C5WOGPMM.js → graphql-HWYKHSDS.js} +4 -4
  49. package/dist/hooks/postrun.js +9 -9
  50. package/dist/hooks/prerun.js +7 -7
  51. package/dist/{html-QRIT6TOU.js → html-QFC3GCRO.js} +925 -831
  52. package/dist/{http-proxy-node16-XB2DSBCB.js → http-proxy-node16-5LMQ6YXS.js} +4 -4
  53. package/dist/index.js +6619 -5437
  54. package/dist/index.test.js +7252 -8137
  55. package/dist/{is-global-OXCPPXM7.js → is-global-G56KES2Y.js} +8 -8
  56. package/dist/{is-wsl-YAJ3DFN7.js → is-wsl-63MHD6QC.js} +7 -6
  57. package/dist/{latest-version-3PFKLJZM.js → latest-version-6X5NXQEO.js} +4 -4
  58. package/dist/lib-NKDE2QNY.js +11 -0
  59. package/dist/{local-6ARTMTVE.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-M5KQ3F3U.js → markdown-4ZM5GKW2.js} +5 -5
  62. package/dist/{meriyah-QX42RF3Q.js → meriyah-SUZXHXAS.js} +4 -4
  63. package/dist/{metadata-Z65VJ53L.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-Q3Y2FSRM.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-MCH67S5U.js → output-SAJPYFUY.js} +8 -8
  70. package/dist/{path-EOPO7QNL.js → path-2WA5R6GG.js} +3 -3
  71. package/dist/{postcss-4PDU7IQT.js → postcss-JKZFHYDB.js} +8 -6
  72. package/dist/{prettier-UAG5TKE4.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-LCSPQIRD.js → typescript-HLNUID2L.js} +4 -4
  77. package/dist/{ui-AYUE37Z3.js → ui-SD2MSDNB.js} +18 -18
  78. package/dist/{upgrade-DNAT5W4B.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-VGESS2QB.js → yaml-Y6GPRGAB.js} +4 -4
  82. package/oclif.manifest.json +1 -1
  83. package/package.json +5 -5
  84. package/dist/analytics-RYQKQ4DG.js +0 -39
  85. package/dist/analytics-ZSO2XN53.js +0 -33
  86. package/dist/angular-IKHE4H7C.js +0 -2771
  87. package/dist/environments-VKYG7DMX.js +0 -26
  88. package/dist/error-handler-YXGIUGKI.js +0 -37
  89. package/dist/lib-HWIFANCM.js +0 -11
  90. package/dist/notifications-system-2HPAOE4P.js +0 -40
  91. package/dist/out-JJWXGPI4.js +0 -7
  92. package/dist/system-YW6RJ2KQ.js +0 -47
  93. package/dist/typescript-TKTDYKKG.js +0 -6
  94. package/dist/version-2J64V5CP.js +0 -8
  95. package/dist/version-V77ZX5N2.js +0 -30
@@ -1,36 +1,36 @@
1
1
  import {
2
+ external_exports,
2
3
  fetch,
3
- jsonOutputEnabled,
4
- z
5
- } from "./chunk-S4YEA2XG.js";
4
+ jsonOutputEnabled
5
+ } from "./chunk-BLEIVACU.js";
6
6
  import {
7
7
  versionSatisfies
8
- } from "./chunk-JT5MT2JE.js";
8
+ } from "./chunk-WJSRZNB2.js";
9
9
  import {
10
10
  CLI_KIT_VERSION
11
- } from "./chunk-7OFS6B2C.js";
11
+ } from "./chunk-ZTXAANY4.js";
12
12
  import {
13
13
  cacheRetrieve,
14
14
  cacheStore
15
- } from "./chunk-RB7BXTZQ.js";
15
+ } from "./chunk-ZNNK6ZF5.js";
16
16
  import {
17
17
  exec,
18
18
  renderError,
19
19
  renderInfo,
20
20
  renderWarning
21
- } from "./chunk-C5OLLQWI.js";
21
+ } from "./chunk-EBLNNEPP.js";
22
22
  import {
23
23
  AbortSilentError
24
- } from "./chunk-MIECGF3H.js";
24
+ } from "./chunk-OFTMFPMR.js";
25
25
  import {
26
26
  outputDebug
27
- } from "./chunk-BMI6QCMV.js";
27
+ } from "./chunk-HJATSDRW.js";
28
28
  import {
29
29
  isTruthy
30
- } from "./chunk-A6TJPMVH.js";
30
+ } from "./chunk-5UUZHSUY.js";
31
31
  import {
32
32
  init_cjs_shims
33
- } from "./chunk-PKR7KJ6P.js";
33
+ } from "./chunk-3XNI6LP4.js";
34
34
 
35
35
  // ../cli-kit/dist/public/node/notifications-system.js
36
36
  init_cjs_shims();
@@ -61,24 +61,24 @@ var URL = "https://cdn.shopify.com/static/cli/notifications.json", EMPTY_CACHE_M
61
61
  function url() {
62
62
  return process.env.SHOPIFY_CLI_NOTIFICATIONS_URL ?? URL;
63
63
  }
64
- var NotificationSchema = z.object({
65
- id: z.string(),
66
- message: z.string(),
67
- type: z.enum(["info", "warning", "error"]),
68
- frequency: z.enum(["always", "once", "once_a_day", "once_a_week"]),
69
- ownerChannel: z.string(),
70
- cta: z.object({
71
- label: z.string(),
72
- url: z.string().url()
64
+ var NotificationSchema = external_exports.object({
65
+ id: external_exports.string(),
66
+ message: external_exports.string(),
67
+ type: external_exports.enum(["info", "warning", "error"]),
68
+ frequency: external_exports.enum(["always", "once", "once_a_day", "once_a_week"]),
69
+ ownerChannel: external_exports.string(),
70
+ cta: external_exports.object({
71
+ label: external_exports.string(),
72
+ url: external_exports.string().url()
73
73
  }).optional(),
74
- title: z.string().optional(),
75
- minVersion: z.string().optional(),
76
- maxVersion: z.string().optional(),
77
- minDate: z.string().optional(),
78
- maxDate: z.string().optional(),
79
- commands: z.array(z.string()).optional(),
80
- surface: z.string().optional()
81
- }), NotificationsSchema = z.object({ notifications: z.array(NotificationSchema) });
74
+ title: external_exports.string().optional(),
75
+ minVersion: external_exports.string().optional(),
76
+ maxVersion: external_exports.string().optional(),
77
+ minDate: external_exports.string().optional(),
78
+ maxDate: external_exports.string().optional(),
79
+ commands: external_exports.array(external_exports.string()).optional(),
80
+ surface: external_exports.string().optional()
81
+ }), NotificationsSchema = external_exports.object({ notifications: external_exports.array(NotificationSchema) });
82
82
  async function showNotificationsIfNeeded(currentSurfaces, environment = process.env) {
83
83
  try {
84
84
  let commandId = getCurrentCommandId();
@@ -95,7 +95,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
95
95
  throw new AbortSilentError();
96
96
  let errorMessage = `Error showing notifications: ${error.message}`;
97
97
  outputDebug(errorMessage);
98
- let { sendErrorToBugsnag } = await import("./error-handler-YXGIUGKI.js");
98
+ let { sendErrorToBugsnag } = await import("./error-handler-C3IHDYS6.js");
99
99
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
100
100
  }
101
101
  }
@@ -201,6 +201,7 @@ function stringifyFilters(notification) {
201
201
  }
202
202
 
203
203
  export {
204
+ getCurrentCommandId,
204
205
  setCurrentCommandId,
205
206
  showNotificationsIfNeeded,
206
207
  getNotifications,
@@ -209,4 +210,4 @@ export {
209
210
  filterNotifications,
210
211
  stringifyFilters
211
212
  };
212
- //# sourceMappingURL=chunk-TS6LOJXS.js.map
213
+ //# sourceMappingURL=chunk-LQOISCOF.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/private/node/context/deprecations-store.js
6
6
  init_cjs_shims();
@@ -27,4 +27,4 @@ export {
27
27
  getNextDeprecationDate,
28
28
  setNextDeprecationDate
29
29
  };
30
- //# sourceMappingURL=chunk-JCETIRLI.js.map
30
+ //# sourceMappingURL=chunk-MSED5ZFM.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  require_has_flag
3
- } from "./chunk-DJW2W7VA.js";
3
+ } from "./chunk-7OHJH7BF.js";
4
4
  import {
5
5
  __commonJS,
6
6
  __require,
7
7
  init_cjs_shims
8
- } from "./chunk-PKR7KJ6P.js";
8
+ } from "./chunk-3XNI6LP4.js";
9
9
 
10
10
  // ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
11
11
  var require_ms = __commonJS({
@@ -565,4 +565,4 @@ export {
565
565
  require_supports_color,
566
566
  require_src
567
567
  };
568
- //# sourceMappingURL=chunk-X2WZCKNE.js.map
568
+ //# sourceMappingURL=chunk-ODCXYGJ2.js.map
@@ -3,12 +3,12 @@ import {
3
3
  require_glob_parent,
4
4
  require_picomatch,
5
5
  require_utils
6
- } from "./chunk-7IK72W75.js";
6
+ } from "./chunk-HABWQC37.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __require,
10
10
  init_cjs_shims
11
- } from "./chunk-PKR7KJ6P.js";
11
+ } from "./chunk-3XNI6LP4.js";
12
12
 
13
13
  // ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js
14
14
  var require_array = __commonJS({
@@ -2062,4 +2062,4 @@ queue-microtask/index.js:
2062
2062
  run-parallel/index.js:
2063
2063
  (*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
2064
2064
  */
2065
- //# sourceMappingURL=chunk-AROS7RI6.js.map
2065
+ //# sourceMappingURL=chunk-OE3FSIHW.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-UX6FRPFM.js";
3
+ } from "./chunk-KWG6VAVE.js";
4
4
  import {
5
5
  TokenizedString,
6
6
  stringifyMessage,
7
7
  tokenItemToString
8
- } from "./chunk-BMI6QCMV.js";
8
+ } from "./chunk-HJATSDRW.js";
9
9
  import {
10
10
  normalizePath
11
- } from "./chunk-ACS6S42W.js";
11
+ } from "./chunk-C3J4HVUN.js";
12
12
  import {
13
13
  __commonJS,
14
14
  __toESM,
15
15
  init_cjs_shims
16
- } from "./chunk-PKR7KJ6P.js";
16
+ } from "./chunk-3XNI6LP4.js";
17
17
 
18
18
  // ../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/helpers.js
19
19
  var require_helpers = __commonJS({
@@ -174,7 +174,7 @@ async function handler(error) {
174
174
  let maybeError = error;
175
175
  fatal = new BugError(maybeError?.message ?? "Unknown error"), maybeError?.stack && (fatal.stack = maybeError?.stack);
176
176
  }
177
- let { renderFatalError } = await import("./ui-AYUE37Z3.js");
177
+ let { renderFatalError } = await import("./ui-SD2MSDNB.js");
178
178
  return renderFatalError(fatal), Promise.resolve(error);
179
179
  }
180
180
  function errorMapper(error) {
@@ -261,4 +261,4 @@ export {
261
261
  cleanSingleStackTracePath,
262
262
  import_ts_error
263
263
  };
264
- //# sourceMappingURL=chunk-MIECGF3H.js.map
264
+ //# sourceMappingURL=chunk-OFTMFPMR.js.map