@shopify/create-app 4.0.0 → 4.2.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 (65) hide show
  1. package/README.md +2 -2
  2. package/dist/{acorn-B7Z74OJ7.js → acorn-7AGUHU7X.js} +3 -3
  3. package/dist/{analytics-XUVDQAYG.js → analytics-DXTA2BTW.js} +13 -13
  4. package/dist/{analytics-XLT3JDGP.js → analytics-VN37446T.js} +13 -13
  5. package/dist/angular-WQAMH4CA.js +3117 -0
  6. package/dist/{babel-CJ53QMMG.js → babel-ANYZPGZG.js} +3 -3
  7. package/dist/{chunk-UX6FRPFM.js → chunk-325YJ3GA.js} +588 -347
  8. package/dist/{chunk-JUV7D377.js → chunk-6ZCMRIIK.js} +4 -4
  9. package/dist/{chunk-6OOTYTVB.js → chunk-7FVFOTP5.js} +218 -109
  10. package/dist/{chunk-YUPQUA3D.js → chunk-AJMNFS2U.js} +138 -138
  11. package/dist/{chunk-QN5KFM2B.js → chunk-BGBNK6AD.js} +2 -2
  12. package/dist/{chunk-CE4S2SGM.js → chunk-CJMNB2EJ.js} +232 -151
  13. package/dist/{chunk-4CS37CS5.js → chunk-EYELFNC7.js} +29 -33
  14. package/dist/{chunk-DNF3EUMN.js → chunk-F6LQTIYO.js} +8 -5
  15. package/dist/{chunk-YIHECXVH.js → chunk-HDGI2UBV.js} +60 -86
  16. package/dist/{chunk-ANIFE3UR.js → chunk-IEVOZUJ7.js} +2 -2
  17. package/dist/{chunk-37G3KLO2.js → chunk-KAVGZDPZ.js} +3 -3
  18. package/dist/{chunk-UMSYG5WJ.js → chunk-M2UQMZTP.js} +24 -17
  19. package/dist/{chunk-IGDZPTDH.js → chunk-RWI7QPAN.js} +8 -8
  20. package/dist/{chunk-LNOZTAML.js → chunk-RXMZPVTQ.js} +559 -898
  21. package/dist/{chunk-DHAC6KEL.js → chunk-S2C3LKO2.js} +30 -29
  22. package/dist/{chunk-DWGHKWV5.js → chunk-SAVFAAHX.js} +20 -20
  23. package/dist/{chunk-QMXFPY46.js → chunk-W3I47I43.js} +3 -3
  24. package/dist/{chunk-STHW3YIX.js → chunk-ZPFFIMXV.js} +10894 -2147
  25. package/dist/{conf-store-RAVX2WFV.js → conf-store-A3JOFSUU.js} +7 -7
  26. package/dist/{custom-oclif-loader-354VAVF4.js → custom-oclif-loader-5SWH4GTV.js} +3 -3
  27. package/dist/{deprecations-2QTB3736.js → deprecations-2ELX7ROT.js} +9 -9
  28. package/dist/{devtools-4EY2MEDN.js → devtools-FXOPST2H.js} +2 -2
  29. package/dist/dist-U3FLPMJE.js +510 -0
  30. package/dist/{environments-LTWWRWCC.js → environments-XMNHPGBO.js} +10 -10
  31. package/dist/{error-handler-KHJE653Z.js → error-handler-YHPBH53J.js} +13 -13
  32. package/dist/{estree-UBDGCTT2.js → estree-E53K34OK.js} +4 -4
  33. package/dist/{flow-FUOSTAYW.js → flow-LFBHZSUI.js} +3 -3
  34. package/dist/{fs-XENRLBMU.js → fs-O3X2BDXD.js} +3 -3
  35. package/dist/{glimmer-XBFG6K3P.js → glimmer-CVQMANCJ.js} +3 -3
  36. package/dist/{graphql-C5WOGPMM.js → graphql-ZOTIIZAG.js} +3 -3
  37. package/dist/hooks/postrun.js +4 -4
  38. package/dist/hooks/prerun.js +6 -6
  39. package/dist/{html-QRIT6TOU.js → html-WQ23J64T.js} +924 -830
  40. package/dist/index.js +5847 -4583
  41. package/dist/index.test.js +7251 -8136
  42. package/dist/{is-global-KZMSAFQT.js → is-global-ET3YL7TT.js} +3 -3
  43. package/dist/{is-wsl-YAJ3DFN7.js → is-wsl-BJRAPRQU.js} +6 -5
  44. package/dist/{latest-version-3PFKLJZM.js → latest-version-KKU2QQZW.js} +2 -2
  45. package/dist/{lib-HWIFANCM.js → lib-QBGNJ3PZ.js} +3 -3
  46. package/dist/{local-NQALOHJX.js → local-QWRI6OFV.js} +2 -4
  47. package/dist/{markdown-M5KQ3F3U.js → markdown-OIW6O7KK.js} +4 -4
  48. package/dist/{meriyah-QX42RF3Q.js → meriyah-KMVSYB54.js} +3 -3
  49. package/dist/{metadata-FXCUDE5I.js → metadata-VZBMAQQC.js} +3 -3
  50. package/dist/{node-package-manager-7R7HDW4R.js → node-package-manager-W33EW2VU.js} +11 -11
  51. package/dist/{notifications-system-7QMDSL5Y.js → notifications-system-ZFKFHX3O.js} +14 -14
  52. package/dist/{output-PQSQ7U45.js → output-5PDIDYKG.js} +3 -3
  53. package/dist/{postcss-4PDU7IQT.js → postcss-WSM6XINW.js} +7 -5
  54. package/dist/{prettier-UAG5TKE4.js → prettier-3LMT6EEA.js} +2 -2
  55. package/dist/{system-W4MMMHEV.js → system-X6HCVR7P.js} +9 -9
  56. package/dist/tsconfig.tsbuildinfo +1 -1
  57. package/dist/{typescript-LCSPQIRD.js → typescript-Q4XZM2A4.js} +3 -3
  58. package/dist/{ui-2FROV2IT.js → ui-IN56X5S4.js} +9 -9
  59. package/dist/{upgrade-FAUZ7VAF.js → upgrade-OAFAJX4I.js} +15 -15
  60. package/dist/{version-HKPHVW5M.js → version-D3H6OPFX.js} +10 -10
  61. package/dist/{version-T73ZLUJK.js → version-QYHHSKFX.js} +2 -2
  62. package/dist/{yaml-VGESS2QB.js → yaml-NI5GGQLI.js} +3 -3
  63. package/oclif.manifest.json +1 -1
  64. package/package.json +4 -4
  65. package/dist/angular-IKHE4H7C.js +0 -2771
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  treeKill
3
- } from "./chunk-QN5KFM2B.js";
3
+ } from "./chunk-BGBNK6AD.js";
4
4
  import {
5
5
  init_cjs_shims
6
6
  } from "./chunk-PKR7KJ6P.js";
@@ -26,15 +26,22 @@ function waitForPostRunHookAndExit() {
26
26
  }
27
27
  var hook = async ({ config, Command }) => {
28
28
  await detectStopCommand(Command);
29
- let { reportAnalyticsEvent } = await import("./analytics-XUVDQAYG.js");
30
- await reportAnalyticsEvent({ config, exitMode: "ok" });
31
- let { postrun: deprecationsHook } = await import("./deprecations-2QTB3736.js");
29
+ let metadata = await import("./metadata-VZBMAQQC.js"), { commandStartOptions } = metadata.getAllSensitiveMetadata();
30
+ commandStartOptions && await metadata.addSensitiveMetadata(() => ({
31
+ commandStartOptions: {
32
+ ...commandStartOptions,
33
+ endTime: (/* @__PURE__ */ new Date()).getTime()
34
+ }
35
+ }));
36
+ let { postrun: deprecationsHook } = await import("./deprecations-2ELX7ROT.js");
32
37
  deprecationsHook(Command);
33
- let { outputDebug } = await import("./output-PQSQ7U45.js"), command = Command.id.replace(/:/g, " ");
34
- outputDebug(`Completed command ${command}`), !command.includes("notifications") && !command.includes("upgrade") && await autoUpgradeIfNeeded(), postRunHookCompleted = !0;
38
+ let { outputDebug } = await import("./output-5PDIDYKG.js"), command = Command.id.replace(/:/g, " ");
39
+ outputDebug(`Completed command ${command}`), !command.includes("notifications") && !command.includes("upgrade") && await autoUpgradeIfNeeded();
40
+ let { reportAnalyticsEvent } = await import("./analytics-DXTA2BTW.js");
41
+ await reportAnalyticsEvent({ config, exitMode: "ok" }), postRunHookCompleted = !0;
35
42
  };
36
43
  async function autoUpgradeIfNeeded() {
37
- let { versionToAutoUpgrade, warnIfUpgradeAvailable } = await import("./upgrade-FAUZ7VAF.js"), newerVersion = versionToAutoUpgrade();
44
+ let { versionToAutoUpgrade, warnIfUpgradeAvailable } = await import("./upgrade-OAFAJX4I.js"), newerVersion = versionToAutoUpgrade();
38
45
  if (!newerVersion) {
39
46
  await warnIfUpgradeAvailable();
40
47
  return;
@@ -42,7 +49,7 @@ async function autoUpgradeIfNeeded() {
42
49
  if (process.env.SHOPIFY_CLI_FORCE_AUTO_UPGRADE === "1")
43
50
  await performAutoUpgrade(newerVersion);
44
51
  else {
45
- let { runAtMinimumInterval } = await import("./conf-store-RAVX2WFV.js");
52
+ let { runAtMinimumInterval } = await import("./conf-store-A3JOFSUU.js");
46
53
  await runAtMinimumInterval("auto-upgrade", { days: 1 }, async () => {
47
54
  await performAutoUpgrade(newerVersion);
48
55
  });
@@ -50,11 +57,11 @@ async function autoUpgradeIfNeeded() {
50
57
  }
51
58
  async function performAutoUpgrade(newerVersion) {
52
59
  let [{ CLI_KIT_VERSION }, { isMajorVersionChange }, { outputWarn, outputDebug }, { getOutputUpdateCLIReminder, runCLIUpgrade, hasBlockingAutoUpgradeNotification }, metadata] = await Promise.all([
53
- import("./version-T73ZLUJK.js"),
54
- import("./version-HKPHVW5M.js"),
55
- import("./output-PQSQ7U45.js"),
56
- import("./upgrade-FAUZ7VAF.js"),
57
- import("./metadata-FXCUDE5I.js")
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")
58
65
  ]);
59
66
  if (isMajorVersionChange(CLI_KIT_VERSION, newerVersion)) {
60
67
  outputWarn(getOutputUpdateCLIReminder(newerVersion, !0)), await metadata.addPublicMetadata(() => ({
@@ -74,8 +81,8 @@ async function performAutoUpgrade(newerVersion) {
74
81
  let errorMessage = `Auto-upgrade failed: ${error}`;
75
82
  outputDebug(errorMessage), outputWarn(getOutputUpdateCLIReminder(newerVersion)), await metadata.addPublicMetadata(() => ({ env_auto_upgrade_success: !1 }));
76
83
  let [{ sendErrorToBugsnag }, { inferPackageManagerForGlobalCLI }] = await Promise.all([
77
- import("./error-handler-KHJE653Z.js"),
78
- import("./is-global-KZMSAFQT.js")
84
+ import("./error-handler-YHPBH53J.js"),
85
+ import("./is-global-ET3YL7TT.js")
79
86
  ]), enrichedError = Object.assign(new Error(errorMessage), {
80
87
  packageManager: inferPackageManagerForGlobalCLI(),
81
88
  platform: process.platform,
@@ -89,7 +96,7 @@ async function detectStopCommand(commandClass) {
89
96
  if (commandClass && "analyticsStopCommand" in commandClass && typeof commandClass.analyticsStopCommand == "function") {
90
97
  let stopCommand = commandClass.analyticsStopCommand();
91
98
  if (stopCommand) {
92
- let metadata = await import("./metadata-FXCUDE5I.js"), { commandStartOptions } = metadata.getAllSensitiveMetadata();
99
+ let metadata = await import("./metadata-VZBMAQQC.js"), { commandStartOptions } = metadata.getAllSensitiveMetadata();
93
100
  if (!commandStartOptions)
94
101
  return;
95
102
  await metadata.addSensitiveMetadata(() => ({
@@ -107,4 +114,4 @@ export {
107
114
  waitForPostRunHookAndExit,
108
115
  hook
109
116
  };
110
- //# sourceMappingURL=chunk-UMSYG5WJ.js.map
117
+ //# sourceMappingURL=chunk-M2UQMZTP.js.map
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  cacheRetrieve,
3
3
  cacheRetrieveOrRepopulate
4
- } from "./chunk-YUPQUA3D.js";
4
+ } from "./chunk-AJMNFS2U.js";
5
5
  import {
6
6
  AbortController,
7
7
  exec
8
- } from "./chunk-YIHECXVH.js";
8
+ } from "./chunk-HDGI2UBV.js";
9
9
  import {
10
10
  runWithTimer
11
- } from "./chunk-37G3KLO2.js";
11
+ } from "./chunk-KAVGZDPZ.js";
12
12
  import {
13
13
  AbortError,
14
14
  BugError
15
- } from "./chunk-JUV7D377.js";
15
+ } from "./chunk-6ZCMRIIK.js";
16
16
  import {
17
17
  require_semver
18
- } from "./chunk-6OOTYTVB.js";
18
+ } from "./chunk-7FVFOTP5.js";
19
19
  import {
20
20
  fileExists,
21
21
  fileExistsSync,
@@ -27,7 +27,7 @@ import {
27
27
  outputToken,
28
28
  readFile,
29
29
  writeFile
30
- } from "./chunk-LNOZTAML.js";
30
+ } from "./chunk-RXMZPVTQ.js";
31
31
  import {
32
32
  dirname,
33
33
  joinPath
@@ -316,7 +316,7 @@ async function addResolutionOrOverride(directory, dependencies) {
316
316
  }
317
317
  async function getLatestNPMPackageVersion(name) {
318
318
  return outputDebug(outputContent`Getting the latest version of NPM package: ${outputToken.raw(name)}`), runWithTimer("cmd_all_timing_network_ms")(async () => {
319
- let { default: latestVersion } = await import("./latest-version-3PFKLJZM.js");
319
+ let { default: latestVersion } = await import("./latest-version-KKU2QQZW.js");
320
320
  return latestVersion(name);
321
321
  });
322
322
  }
@@ -368,4 +368,4 @@ export {
368
368
  writePackageJSON,
369
369
  inferPackageManager
370
370
  };
371
- //# sourceMappingURL=chunk-IGDZPTDH.js.map
371
+ //# sourceMappingURL=chunk-RWI7QPAN.js.map