@shopify/create-app 3.73.2 → 3.74.1

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 (39) hide show
  1. package/dist/{chokidar-5LLC6S6D.js → chokidar-LYCK7UIU.js} +20 -574
  2. package/dist/chunk-3I3GQNEW.js +95 -0
  3. package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
  4. package/dist/{chunk-7BLDARWR.js → chunk-7LUJ2Y3A.js} +40 -22
  5. package/dist/{chunk-Z2K6T5HO.js → chunk-A2CUF3IE.js} +2 -2
  6. package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
  7. package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
  8. package/dist/chunk-CP3BRHWK.js +33 -0
  9. package/dist/{chunk-5MQK53ZB.js → chunk-IS43CUN4.js} +490 -411
  10. package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
  11. package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
  12. package/dist/{chunk-BOBYVF6Z.js → chunk-NBA3G6YQ.js} +55430 -36539
  13. package/dist/chunk-UV6IYZ3Q.js +15929 -0
  14. package/dist/{chunk-55N7E5WW.js → chunk-VS6UX7CH.js} +1849 -4319
  15. package/dist/{chunk-U52U2BAX.js → chunk-XENZIRXB.js} +640 -1166
  16. package/dist/{chunk-EZFQXNK5.js → chunk-ZKGBK6WQ.js} +2 -2
  17. package/dist/chunk-ZUCWDIGE.js +111 -0
  18. package/dist/{custom-oclif-loader-COXUWDRX.js → custom-oclif-loader-N77DUCDG.js} +9 -8
  19. package/dist/{del-WGII2Y5S.js → del-CKAQ44SX.js} +5 -5
  20. package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
  21. package/dist/{error-handler-NLEDBRP4.js → error-handler-OVH57TNJ.js} +13 -12
  22. package/dist/hooks/postrun.js +14 -12
  23. package/dist/hooks/prerun.js +27 -12
  24. package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
  25. package/dist/index.js +19915 -17261
  26. package/dist/index.test.js +80 -133
  27. package/dist/lib-ZAUU5FOJ.js +11 -0
  28. package/dist/{local-WM5Y2GKE.js → local-ERLG2ZPN.js} +11 -10
  29. package/dist/{node-package-manager-U4IKWNRD.js → node-package-manager-YQCLDJCT.js} +10 -9
  30. package/dist/out-AZBX4ITJ.js +7 -0
  31. package/dist/{path-2HZUSAGR.js → path-GWAZZN2N.js} +3 -2
  32. package/dist/tsconfig.tsbuildinfo +1 -1
  33. package/dist/{ui-NMBUMLWD.js → ui-J4ZQO6RP.js} +9 -8
  34. package/oclif.manifest.json +1 -1
  35. package/package.json +3 -4
  36. package/dist/chunk-JHSNPAK4.js +0 -15742
  37. package/dist/chunk-TKDPJ4ZU.js +0 -27
  38. package/dist/lib-CKTRCGTR.js +0 -11
  39. package/dist/out-JR4DWQ2G.js +0 -7
@@ -0,0 +1,95 @@
1
+ import {
2
+ __commonJS,
3
+ __require,
4
+ init_cjs_shims
5
+ } from "./chunk-PKR7KJ6P.js";
6
+
7
+ // ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
8
+ var require_has_flag = __commonJS({
9
+ "../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module) {
10
+ "use strict";
11
+ init_cjs_shims();
12
+ module.exports = (flag, argv = process.argv) => {
13
+ let prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--", position = argv.indexOf(prefix + flag), terminatorPosition = argv.indexOf("--");
14
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
15
+ };
16
+ }
17
+ });
18
+
19
+ // ../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js
20
+ var require_supports_color = __commonJS({
21
+ "../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js"(exports, module) {
22
+ "use strict";
23
+ init_cjs_shims();
24
+ var os = __require("os"), tty = __require("tty"), hasFlag = require_has_flag(), { env } = process, flagForceColor;
25
+ hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never") ? flagForceColor = 0 : (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) && (flagForceColor = 1);
26
+ function envForceColor() {
27
+ if ("FORCE_COLOR" in env)
28
+ return env.FORCE_COLOR === "true" ? 1 : env.FORCE_COLOR === "false" ? 0 : env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
29
+ }
30
+ function translateLevel(level) {
31
+ return level === 0 ? !1 : {
32
+ level,
33
+ hasBasic: !0,
34
+ has256: level >= 2,
35
+ has16m: level >= 3
36
+ };
37
+ }
38
+ function supportsColor(haveStream, { streamIsTTY, sniffFlags = !0 } = {}) {
39
+ let noFlagForceColor = envForceColor();
40
+ noFlagForceColor !== void 0 && (flagForceColor = noFlagForceColor);
41
+ let forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
42
+ if (forceColor === 0)
43
+ return 0;
44
+ if (sniffFlags) {
45
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor"))
46
+ return 3;
47
+ if (hasFlag("color=256"))
48
+ return 2;
49
+ }
50
+ if (haveStream && !streamIsTTY && forceColor === void 0)
51
+ return 0;
52
+ let min = forceColor || 0;
53
+ if (env.TERM === "dumb")
54
+ return min;
55
+ if (process.platform === "win32") {
56
+ let osRelease = os.release().split(".");
57
+ return Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ? Number(osRelease[2]) >= 14931 ? 3 : 2 : 1;
58
+ }
59
+ if ("CI" in env)
60
+ return ["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship" ? 1 : min;
61
+ if ("TEAMCITY_VERSION" in env)
62
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
63
+ if (env.COLORTERM === "truecolor")
64
+ return 3;
65
+ if ("TERM_PROGRAM" in env) {
66
+ let version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
67
+ switch (env.TERM_PROGRAM) {
68
+ case "iTerm.app":
69
+ return version >= 3 ? 3 : 2;
70
+ case "Apple_Terminal":
71
+ return 2;
72
+ }
73
+ }
74
+ return /-256(color)?$/i.test(env.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM) || "COLORTERM" in env ? 1 : min;
75
+ }
76
+ function getSupportLevel(stream, options = {}) {
77
+ let level = supportsColor(stream, {
78
+ streamIsTTY: stream && stream.isTTY,
79
+ ...options
80
+ });
81
+ return translateLevel(level);
82
+ }
83
+ module.exports = {
84
+ supportsColor: getSupportLevel,
85
+ stdout: getSupportLevel({ isTTY: tty.isatty(1) }),
86
+ stderr: getSupportLevel({ isTTY: tty.isatty(2) })
87
+ };
88
+ }
89
+ });
90
+
91
+ export {
92
+ require_has_flag,
93
+ require_supports_color
94
+ };
95
+ //# sourceMappingURL=chunk-3I3GQNEW.js.map