@shopify/create-app 3.94.3 → 4.0.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 (57) hide show
  1. package/dist/analytics-XLT3JDGP.js +33 -0
  2. package/dist/analytics-XUVDQAYG.js +39 -0
  3. package/dist/chunk-37G3KLO2.js +78 -0
  4. package/dist/chunk-4CS37CS5.js +665 -0
  5. package/dist/chunk-6OOTYTVB.js +1133 -0
  6. package/dist/{chunk-NIYBO6HO.js → chunk-ACS6S42W.js} +3 -3
  7. package/dist/chunk-ANIFE3UR.js +12 -0
  8. package/dist/{chunk-KKIDWI27.js → chunk-DHAC6KEL.js} +47 -12
  9. package/dist/chunk-DJW2W7VA.js +21 -0
  10. package/dist/chunk-DNF3EUMN.js +1771 -0
  11. package/dist/{chunk-LI75HRH4.js → chunk-DWGHKWV5.js} +1 -1
  12. package/dist/chunk-IGDZPTDH.js +371 -0
  13. package/dist/chunk-JCETIRLI.js +30 -0
  14. package/dist/chunk-JUV7D377.js +264 -0
  15. package/dist/{chunk-BRNDLYPU.js → chunk-LNOZTAML.js} +3618 -10143
  16. package/dist/{chunk-IFG7N3S2.js → chunk-OO33NRTL.js} +8 -12671
  17. package/dist/chunk-PES3XMQM.js +70 -0
  18. package/dist/chunk-QMXFPY46.js +55 -0
  19. package/dist/chunk-QN5KFM2B.js +104 -0
  20. package/dist/{chunk-HUNONZYG.js → chunk-STHW3YIX.js} +43773 -43784
  21. package/dist/chunk-UMSYG5WJ.js +110 -0
  22. package/dist/chunk-UX6FRPFM.js +11555 -0
  23. package/dist/{chunk-CXPWSYGC.js → chunk-X2WZCKNE.js} +4 -14
  24. package/dist/chunk-YIHECXVH.js +5652 -0
  25. package/dist/chunk-YUPQUA3D.js +6106 -0
  26. package/dist/conf-store-RAVX2WFV.js +54 -0
  27. package/dist/custom-oclif-loader-354VAVF4.js +54 -0
  28. package/dist/deprecations-2QTB3736.js +55 -0
  29. package/dist/environments-LTWWRWCC.js +26 -0
  30. package/dist/error-handler-KHJE653Z.js +37 -0
  31. package/dist/fs-XENRLBMU.js +109 -0
  32. package/dist/hooks/postrun.js +6 -9
  33. package/dist/hooks/prerun.js +12 -25
  34. package/dist/{http-proxy-node16-U5VBDLS3.js → http-proxy-node16-XB2DSBCB.js} +3 -2
  35. package/dist/index.js +8986 -10517
  36. package/dist/is-global-KZMSAFQT.js +21 -0
  37. package/dist/latest-version-3PFKLJZM.js +7713 -0
  38. package/dist/lib-HWIFANCM.js +11 -0
  39. package/dist/{local-6XZDLEBK.js → local-NQALOHJX.js} +3 -8
  40. package/dist/metadata-FXCUDE5I.js +20 -0
  41. package/dist/{node-package-manager-JVAQNYVX.js → node-package-manager-7R7HDW4R.js} +17 -7
  42. package/dist/notifications-system-7QMDSL5Y.js +40 -0
  43. package/dist/output-PQSQ7U45.js +51 -0
  44. package/dist/{path-NQ6GZ2WO.js → path-EOPO7QNL.js} +2 -2
  45. package/dist/{prettier-67WYXU6J.js → prettier-UAG5TKE4.js} +2 -2
  46. package/dist/system-W4MMMHEV.js +47 -0
  47. package/dist/tsconfig.tsbuildinfo +1 -1
  48. package/dist/typescript-TKTDYKKG.js +6 -0
  49. package/dist/{ui-7HBWZC7M.js → ui-2FROV2IT.js} +15 -6
  50. package/dist/{chunk-PWU6XFUQ.js → upgrade-FAUZ7VAF.js} +77 -125
  51. package/dist/version-HKPHVW5M.js +30 -0
  52. package/dist/version-T73ZLUJK.js +8 -0
  53. package/oclif.manifest.json +63 -66
  54. package/package.json +5 -5
  55. package/dist/chunk-HYOIEQ5O.js +0 -14117
  56. package/dist/error-handler-WFIT65SZ.js +0 -25
  57. package/dist/lib-PPI2FZOR.js +0 -8
@@ -0,0 +1,33 @@
1
+ import {
2
+ getEnvironmentData,
3
+ getSensitiveEnvironmentData,
4
+ startAnalytics
5
+ } from "./chunk-STHW3YIX.js";
6
+ import "./chunk-JCETIRLI.js";
7
+ import "./chunk-IGDZPTDH.js";
8
+ import "./chunk-ANIFE3UR.js";
9
+ import "./chunk-VBBBCVMH.js";
10
+ import "./chunk-YUPQUA3D.js";
11
+ import "./chunk-YIHECXVH.js";
12
+ import "./chunk-37G3KLO2.js";
13
+ import "./chunk-JUV7D377.js";
14
+ import "./chunk-UX6FRPFM.js";
15
+ import "./chunk-X2WZCKNE.js";
16
+ import "./chunk-G2ZZKGSV.js";
17
+ import "./chunk-OO33NRTL.js";
18
+ import "./chunk-PES3XMQM.js";
19
+ import "./chunk-6OOTYTVB.js";
20
+ import "./chunk-QN5KFM2B.js";
21
+ import "./chunk-LNOZTAML.js";
22
+ import "./chunk-4CS37CS5.js";
23
+ import "./chunk-DJW2W7VA.js";
24
+ import "./chunk-ACS6S42W.js";
25
+ import "./chunk-AROS7RI6.js";
26
+ import "./chunk-7IK72W75.js";
27
+ import "./chunk-PKR7KJ6P.js";
28
+ export {
29
+ getEnvironmentData,
30
+ getSensitiveEnvironmentData,
31
+ startAnalytics
32
+ };
33
+ //# sourceMappingURL=analytics-XLT3JDGP.js.map
@@ -0,0 +1,39 @@
1
+ import {
2
+ compileData,
3
+ recordError,
4
+ recordEvent,
5
+ recordRetry,
6
+ recordTiming,
7
+ reportAnalyticsEvent
8
+ } from "./chunk-STHW3YIX.js";
9
+ import "./chunk-JCETIRLI.js";
10
+ import "./chunk-IGDZPTDH.js";
11
+ import "./chunk-ANIFE3UR.js";
12
+ import "./chunk-VBBBCVMH.js";
13
+ import "./chunk-YUPQUA3D.js";
14
+ import "./chunk-YIHECXVH.js";
15
+ import "./chunk-37G3KLO2.js";
16
+ import "./chunk-JUV7D377.js";
17
+ import "./chunk-UX6FRPFM.js";
18
+ import "./chunk-X2WZCKNE.js";
19
+ import "./chunk-G2ZZKGSV.js";
20
+ import "./chunk-OO33NRTL.js";
21
+ import "./chunk-PES3XMQM.js";
22
+ import "./chunk-6OOTYTVB.js";
23
+ import "./chunk-QN5KFM2B.js";
24
+ import "./chunk-LNOZTAML.js";
25
+ import "./chunk-4CS37CS5.js";
26
+ import "./chunk-DJW2W7VA.js";
27
+ import "./chunk-ACS6S42W.js";
28
+ import "./chunk-AROS7RI6.js";
29
+ import "./chunk-7IK72W75.js";
30
+ import "./chunk-PKR7KJ6P.js";
31
+ export {
32
+ compileData,
33
+ recordError,
34
+ recordEvent,
35
+ recordRetry,
36
+ recordTiming,
37
+ reportAnalyticsEvent
38
+ };
39
+ //# sourceMappingURL=analytics-XUVDQAYG.js.map
@@ -0,0 +1,78 @@
1
+ import {
2
+ isUnitTest
3
+ } from "./chunk-4CS37CS5.js";
4
+ import {
5
+ init_cjs_shims
6
+ } from "./chunk-PKR7KJ6P.js";
7
+
8
+ // ../cli-kit/dist/public/node/metadata.js
9
+ init_cjs_shims();
10
+ import { performance } from "node:perf_hooks";
11
+ function getMetadataErrorHandlingStrategy() {
12
+ return isUnitTest() ? "bubble" : "mute-and-report";
13
+ }
14
+ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
15
+ let raw = {
16
+ sensitive: {},
17
+ public: {
18
+ ...defaultPublicMetadata
19
+ }
20
+ }, addPublic = (data) => {
21
+ Object.assign(raw.public, data);
22
+ }, addSensitive = (data) => {
23
+ Object.assign(raw.sensitive, data);
24
+ }, addMetadata = async (addFn, getFn, onError) => {
25
+ let errorHandling = onError === "auto" ? getMetadataErrorHandlingStrategy() : onError, getAndSet = async () => {
26
+ let data = await getFn();
27
+ addFn(data);
28
+ };
29
+ if (errorHandling === "bubble")
30
+ await getAndSet();
31
+ else
32
+ try {
33
+ await getAndSet();
34
+ } catch (error) {
35
+ let { sendErrorToBugsnag } = await import("./error-handler-KHJE653Z.js");
36
+ await sendErrorToBugsnag(error, "unexpected_error");
37
+ }
38
+ }, durationStack = [];
39
+ return {
40
+ getAllPublicMetadata: () => ({ ...raw.public }),
41
+ getAllSensitiveMetadata: () => ({ ...raw.sensitive }),
42
+ addPublicMetadata: async (getData, onError = "auto") => addMetadata(addPublic, getData, onError),
43
+ addSensitiveMetadata: async (getData, onError = "auto") => addMetadata(addSensitive, getData, onError),
44
+ runWithTimer: (field) => async (fn) => {
45
+ durationStack.push(0);
46
+ let start = performance.now();
47
+ try {
48
+ return await fn();
49
+ } finally {
50
+ let end = performance.now();
51
+ end = Math.max(start, end);
52
+ let wallClockDuration = Math.max(end - start, 0), childDurations = durationStack.pop(), duration = Math.max(wallClockDuration - childDurations, 0);
53
+ durationStack.length > 0 && (durationStack[durationStack.length - 1] = (durationStack[durationStack.length - 1] ?? 0) + wallClockDuration), performance.measure(`${field}#measurable`, {
54
+ start,
55
+ duration
56
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
57
+ }), performance.measure(`${field}#wall`, {
58
+ start,
59
+ end
60
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
61
+ });
62
+ let currentValue = raw.public[field] || 0;
63
+ currentValue += duration, raw.public[field] = currentValue;
64
+ }
65
+ }
66
+ };
67
+ }
68
+ var coreData = createRuntimeMetadataContainer({ cmd_all_timing_network_ms: 0, cmd_all_timing_prompts_ms: 0 }), { getAllPublicMetadata, getAllSensitiveMetadata, addPublicMetadata, addSensitiveMetadata, runWithTimer } = coreData;
69
+
70
+ export {
71
+ createRuntimeMetadataContainer,
72
+ getAllPublicMetadata,
73
+ getAllSensitiveMetadata,
74
+ addPublicMetadata,
75
+ addSensitiveMetadata,
76
+ runWithTimer
77
+ };
78
+ //# sourceMappingURL=chunk-37G3KLO2.js.map