@shopify/create-app 3.94.3 → 4.1.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 (58) hide show
  1. package/README.md +2 -2
  2. package/dist/analytics-RYQKQ4DG.js +39 -0
  3. package/dist/analytics-ZSO2XN53.js +33 -0
  4. package/dist/chunk-32DG2OXV.js +110 -0
  5. package/dist/chunk-6OOTYTVB.js +1133 -0
  6. package/dist/chunk-7OFS6B2C.js +12 -0
  7. package/dist/chunk-A6TJPMVH.js +661 -0
  8. package/dist/{chunk-NIYBO6HO.js → chunk-ACS6S42W.js} +3 -3
  9. package/dist/{chunk-BRNDLYPU.js → chunk-BMI6QCMV.js} +3617 -10143
  10. package/dist/chunk-C5OLLQWI.js +5620 -0
  11. package/dist/chunk-CEGG2EWP.js +104 -0
  12. package/dist/chunk-DJW2W7VA.js +21 -0
  13. package/dist/{chunk-LI75HRH4.js → chunk-DWGHKWV5.js} +1 -1
  14. package/dist/chunk-JCETIRLI.js +30 -0
  15. package/dist/chunk-JT5MT2JE.js +371 -0
  16. package/dist/chunk-MIECGF3H.js +264 -0
  17. package/dist/{chunk-IFG7N3S2.js → chunk-OO33NRTL.js} +8 -12671
  18. package/dist/chunk-PES3XMQM.js +70 -0
  19. package/dist/chunk-PVHOBK32.js +1771 -0
  20. package/dist/chunk-RB7BXTZQ.js +6106 -0
  21. package/dist/{chunk-HUNONZYG.js → chunk-S4YEA2XG.js} +43774 -43785
  22. package/dist/chunk-SWITKWBS.js +78 -0
  23. package/dist/{chunk-KKIDWI27.js → chunk-TS6LOJXS.js} +47 -12
  24. package/dist/chunk-TVUF42MB.js +55 -0
  25. package/dist/chunk-UX6FRPFM.js +11555 -0
  26. package/dist/{chunk-CXPWSYGC.js → chunk-X2WZCKNE.js} +4 -14
  27. package/dist/conf-store-R26LOTXD.js +54 -0
  28. package/dist/custom-oclif-loader-354VAVF4.js +54 -0
  29. package/dist/deprecations-JWETMJFF.js +55 -0
  30. package/dist/environments-VKYG7DMX.js +26 -0
  31. package/dist/error-handler-YXGIUGKI.js +37 -0
  32. package/dist/fs-HPLMOQQD.js +109 -0
  33. package/dist/hooks/postrun.js +6 -9
  34. package/dist/hooks/prerun.js +12 -25
  35. package/dist/{http-proxy-node16-U5VBDLS3.js → http-proxy-node16-XB2DSBCB.js} +3 -2
  36. package/dist/index.js +9175 -10612
  37. package/dist/is-global-OXCPPXM7.js +21 -0
  38. package/dist/latest-version-3PFKLJZM.js +7713 -0
  39. package/dist/lib-HWIFANCM.js +11 -0
  40. package/dist/{local-6XZDLEBK.js → local-6ARTMTVE.js} +3 -10
  41. package/dist/metadata-Z65VJ53L.js +20 -0
  42. package/dist/{node-package-manager-JVAQNYVX.js → node-package-manager-Q3Y2FSRM.js} +17 -7
  43. package/dist/notifications-system-2HPAOE4P.js +40 -0
  44. package/dist/output-MCH67S5U.js +51 -0
  45. package/dist/{path-NQ6GZ2WO.js → path-EOPO7QNL.js} +2 -2
  46. package/dist/{prettier-67WYXU6J.js → prettier-UAG5TKE4.js} +2 -2
  47. package/dist/system-YW6RJ2KQ.js +47 -0
  48. package/dist/tsconfig.tsbuildinfo +1 -1
  49. package/dist/typescript-TKTDYKKG.js +6 -0
  50. package/dist/{ui-7HBWZC7M.js → ui-AYUE37Z3.js} +15 -6
  51. package/dist/{chunk-PWU6XFUQ.js → upgrade-DNAT5W4B.js} +77 -125
  52. package/dist/version-2J64V5CP.js +8 -0
  53. package/dist/version-V77ZX5N2.js +30 -0
  54. package/oclif.manifest.json +63 -66
  55. package/package.json +5 -5
  56. package/dist/chunk-HYOIEQ5O.js +0 -14117
  57. package/dist/error-handler-WFIT65SZ.js +0 -25
  58. package/dist/lib-PPI2FZOR.js +0 -8
@@ -0,0 +1,70 @@
1
+ import {
2
+ __commonJS,
3
+ __require,
4
+ init_cjs_shims
5
+ } from "./chunk-PKR7KJ6P.js";
6
+
7
+ // ../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js
8
+ var require_buffer_stream = __commonJS({
9
+ "../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js"(exports, module) {
10
+ "use strict";
11
+ init_cjs_shims();
12
+ var { PassThrough: PassThroughStream } = __require("stream");
13
+ module.exports = (options) => {
14
+ options = { ...options };
15
+ let { array } = options, { encoding } = options, isBuffer = encoding === "buffer", objectMode = !1;
16
+ array ? objectMode = !(encoding || isBuffer) : encoding = encoding || "utf8", isBuffer && (encoding = null);
17
+ let stream = new PassThroughStream({ objectMode });
18
+ encoding && stream.setEncoding(encoding);
19
+ let length = 0, chunks = [];
20
+ return stream.on("data", (chunk) => {
21
+ chunks.push(chunk), objectMode ? length = chunks.length : length += chunk.length;
22
+ }), stream.getBufferedValue = () => array ? chunks : isBuffer ? Buffer.concat(chunks, length) : chunks.join(""), stream.getBufferedLength = () => length, stream;
23
+ };
24
+ }
25
+ });
26
+
27
+ // ../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js
28
+ var require_get_stream = __commonJS({
29
+ "../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js"(exports, module) {
30
+ "use strict";
31
+ init_cjs_shims();
32
+ var { constants: BufferConstants } = __require("buffer"), stream = __require("stream"), { promisify } = __require("util"), bufferStream = require_buffer_stream(), streamPipelinePromisified = promisify(stream.pipeline), MaxBufferError = class extends Error {
33
+ constructor() {
34
+ super("maxBuffer exceeded"), this.name = "MaxBufferError";
35
+ }
36
+ };
37
+ async function getStream(inputStream, options) {
38
+ if (!inputStream)
39
+ throw new Error("Expected a stream");
40
+ options = {
41
+ maxBuffer: 1 / 0,
42
+ ...options
43
+ };
44
+ let { maxBuffer } = options, stream2 = bufferStream(options);
45
+ return await new Promise((resolve, reject) => {
46
+ let rejectPromise = (error) => {
47
+ error && stream2.getBufferedLength() <= BufferConstants.MAX_LENGTH && (error.bufferedData = stream2.getBufferedValue()), reject(error);
48
+ };
49
+ (async () => {
50
+ try {
51
+ await streamPipelinePromisified(inputStream, stream2), resolve();
52
+ } catch (error) {
53
+ rejectPromise(error);
54
+ }
55
+ })(), stream2.on("data", () => {
56
+ stream2.getBufferedLength() > maxBuffer && rejectPromise(new MaxBufferError());
57
+ });
58
+ }), stream2.getBufferedValue();
59
+ }
60
+ module.exports = getStream;
61
+ module.exports.buffer = (stream2, options) => getStream(stream2, { ...options, encoding: "buffer" });
62
+ module.exports.array = (stream2, options) => getStream(stream2, { ...options, array: !0 });
63
+ module.exports.MaxBufferError = MaxBufferError;
64
+ }
65
+ });
66
+
67
+ export {
68
+ require_get_stream
69
+ };
70
+ //# sourceMappingURL=chunk-PES3XMQM.js.map