@shopify/cli 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 (128) hide show
  1. package/dist/assets/dev-console/extensions/dev-console/assets/{index-D7F9wNys.js → index-lyGm6l3x.js} +12 -12
  2. package/dist/assets/dev-console/index.html +2 -2
  3. package/dist/assets/speedscope/SourceCodePro-Regular.ttf.f546cbe0.woff2 +0 -0
  4. package/dist/assets/speedscope/demangle-cpp.1768f4cc.js +4 -0
  5. package/dist/assets/speedscope/favicon-16x16.f74b3187.png +0 -0
  6. package/dist/assets/speedscope/favicon-32x32.bc503437.png +0 -0
  7. package/dist/assets/speedscope/file-format-schema.json +324 -0
  8. package/dist/assets/speedscope/import.bcbb2033.js +123 -0
  9. package/dist/assets/speedscope/index.html +2 -0
  10. package/dist/assets/speedscope/perf-vertx-stacks-01-collapsed-all.2681da68.txt +199 -0
  11. package/dist/assets/speedscope/release.txt +3 -0
  12. package/dist/assets/speedscope/reset.8c46b7a1.css +2 -0
  13. package/dist/assets/speedscope/source-code-pro.52b1676f.css +2 -0
  14. package/dist/assets/speedscope/source-code-pro.LICENSE.md +93 -0
  15. package/dist/assets/speedscope/source-map.438fa06b.js +24 -0
  16. package/dist/assets/speedscope/speedscope.6f107512.js +193 -0
  17. package/dist/{chokidar-5LLC6S6D.js → chokidar-BLUAYFAB.js} +13 -1044
  18. package/dist/chokidar-OATAHMV6.js +1122 -0
  19. package/dist/chunk-3I3GQNEW.js +95 -0
  20. package/dist/{chunk-ZQ55XXD5.js → chunk-4VWVAF7H.js} +3 -3
  21. package/dist/chunk-57Q6OQG4.js +111 -0
  22. package/dist/{chunk-MHUINF7I.js → chunk-5CLGH5PH.js} +2 -2
  23. package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
  24. package/dist/{chunk-O73CKGH7.js → chunk-5L3V3XN7.js} +4 -4
  25. package/dist/{chunk-PJZVGRJ6.js → chunk-6J2OGZ3N.js} +2 -2
  26. package/dist/{chunk-AWW6JHWH.js → chunk-6N46HJWX.js} +4 -4
  27. package/dist/{chunk-Y2KXNORY.js → chunk-7DCZ4PEB.js} +3 -3
  28. package/dist/{chunk-2GWO5FJL.js → chunk-7HJY7CZB.js} +7 -7
  29. package/dist/{chunk-ZX3L2JKV.js → chunk-AKL7T64Q.js} +80 -133
  30. package/dist/{chunk-YMB5HUU3.js → chunk-AQFGEPN5.js} +8 -8
  31. package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
  32. package/dist/{chunk-SVSIFM5Y.js → chunk-BGCAU2LM.js} +2 -2
  33. package/dist/{chunk-GSPOKRGB.js → chunk-C2KCEZK7.js} +2 -2
  34. package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
  35. package/dist/{chunk-SBPFWO4S.js → chunk-CDQA3SST.js} +56182 -37290
  36. package/dist/{chunk-ES3T7FIW.js → chunk-CGXWFHRF.js} +3 -3
  37. package/dist/{chunk-YP35ARHU.js → chunk-CKTTNTVQ.js} +41 -23
  38. package/dist/chunk-CP3BRHWK.js +33 -0
  39. package/dist/{chunk-7VQ2QADA.js → chunk-DDHWVLT7.js} +333 -156
  40. package/dist/{chunk-LLWX47E4.js → chunk-DH65BORI.js} +7 -9
  41. package/dist/{chunk-2RKSPXIM.js → chunk-DNKTPUYV.js} +5 -7
  42. package/dist/chunk-EMPP4I5H.js +497 -0
  43. package/dist/{chunk-KETZRITQ.js → chunk-FKB56THZ.js} +5 -5
  44. package/dist/{chunk-WNQ6HYKJ.js → chunk-GSDR4V4C.js} +3 -3
  45. package/dist/{chunk-XEZJEXCU.js → chunk-H6V3ZAMP.js} +2 -2
  46. package/dist/{chunk-KUM3DVPF.js → chunk-HMDWNGIV.js} +142 -471
  47. package/dist/{chunk-WKN62GWH.js → chunk-IVI5VH2V.js} +502 -699
  48. package/dist/{chunk-KXGCBBJW.js → chunk-L5L7GDSR.js} +2 -2
  49. package/dist/chunk-LOKVDI3S.js +1137 -0
  50. package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
  51. package/dist/{chunk-7TAOK36E.js → chunk-MCL7WC6G.js} +4 -4
  52. package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
  53. package/dist/{chunk-5NHIBL5K.js → chunk-P6UIGUUZ.js} +2 -2
  54. package/dist/{chunk-2QGVACPR.js → chunk-PLIMIFMY.js} +3 -3
  55. package/dist/{chunk-Y43XESY2.js → chunk-POBZPEHK.js} +6442 -3165
  56. package/dist/{chunk-FJHGD37G.js → chunk-POKIPHUC.js} +3 -3
  57. package/dist/{chunk-NQFTYLP6.js → chunk-QVSOZYZT.js} +3 -3
  58. package/dist/{chunk-DVCOVWXF.js → chunk-RAAPXB5S.js} +3 -3
  59. package/dist/chunk-S7L4E7JJ.js +15933 -0
  60. package/dist/{chunk-2EKHINO6.js → chunk-TKPN642B.js} +5 -7
  61. package/dist/{chunk-IY7TUSI2.js → chunk-TLXMY7OM.js} +498 -412
  62. package/dist/{chunk-52WEPVL5.js → chunk-VKUWRIWE.js} +4 -4
  63. package/dist/{chunk-ZOCACHGF.js → chunk-WYNFQEFV.js} +3 -3
  64. package/dist/{chunk-ONK6AXDE.js → chunk-X2GSBUQM.js} +4 -4
  65. package/dist/{chunk-LVEURM2X.js → chunk-XCOZPDGL.js} +16 -2
  66. package/dist/{chunk-CKC5C2DR.js → chunk-Z4WWAZEY.js} +4 -4
  67. package/dist/cli/commands/auth/logout.js +20 -19
  68. package/dist/cli/commands/auth/logout.test.js +22 -21
  69. package/dist/cli/commands/cache/clear.js +19 -18
  70. package/dist/cli/commands/debug/command-flags.js +19 -18
  71. package/dist/cli/commands/docs/generate.js +19 -18
  72. package/dist/cli/commands/docs/generate.test.js +20 -19
  73. package/dist/cli/commands/help.js +19 -18
  74. package/dist/cli/commands/kitchen-sink/async.js +20 -19
  75. package/dist/cli/commands/kitchen-sink/async.test.js +21 -20
  76. package/dist/cli/commands/kitchen-sink/index.js +22 -21
  77. package/dist/cli/commands/kitchen-sink/index.test.js +23 -22
  78. package/dist/cli/commands/kitchen-sink/prompts.js +20 -19
  79. package/dist/cli/commands/kitchen-sink/prompts.test.js +21 -20
  80. package/dist/cli/commands/kitchen-sink/static.js +20 -19
  81. package/dist/cli/commands/kitchen-sink/static.test.js +21 -20
  82. package/dist/cli/commands/notifications/generate.js +20 -19
  83. package/dist/cli/commands/notifications/list.js +20 -19
  84. package/dist/cli/commands/search.js +20 -19
  85. package/dist/cli/commands/upgrade.js +20 -19
  86. package/dist/cli/commands/upgrade.test.js +2 -1
  87. package/dist/cli/commands/version.js +20 -19
  88. package/dist/cli/commands/version.test.js +21 -20
  89. package/dist/cli/services/commands/notifications.js +14 -13
  90. package/dist/cli/services/commands/search.js +9 -8
  91. package/dist/cli/services/commands/search.test.js +10 -9
  92. package/dist/cli/services/commands/version.js +10 -9
  93. package/dist/cli/services/commands/version.test.js +12 -11
  94. package/dist/cli/services/kitchen-sink/async.js +9 -8
  95. package/dist/cli/services/kitchen-sink/prompts.js +9 -8
  96. package/dist/cli/services/kitchen-sink/static.js +9 -8
  97. package/dist/cli/services/upgrade.d.ts +0 -1
  98. package/dist/cli/services/upgrade.js +11 -10
  99. package/dist/cli/services/upgrade.test.js +14 -13
  100. package/dist/configs/all.yml +6 -0
  101. package/dist/configs/recommended.yml +6 -0
  102. package/dist/{custom-oclif-loader-4X7Y4CNS.js → custom-oclif-loader-YCFOTKOV.js} +9 -8
  103. package/dist/{del-P2RS6GN2.js → del-FBU5JYXS.js} +4 -4
  104. package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
  105. package/dist/{error-handler-KHFKBXR4.js → error-handler-S6ZLT6DF.js} +17 -16
  106. package/dist/hooks/postrun.js +18 -16
  107. package/dist/hooks/prerun.js +15 -14
  108. package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
  109. package/dist/index.js +18715 -17414
  110. package/dist/lib-E2DSNKUX.js +13 -0
  111. package/dist/{local-PBMBK3CF.js → local-62JTGJVG.js} +11 -10
  112. package/dist/{morph-OSHCID2F.js → morph-ACVSDUS7.js} +3 -3
  113. package/dist/{node-ENALIQ2H.js → node-M7KO76D7.js} +23 -20
  114. package/dist/{node-package-manager-CVGCLCTC.js → node-package-manager-RXCBZVWU.js} +11 -10
  115. package/dist/{npa-TM76BGG3.js → npa-JAX2F6CO.js} +2 -2
  116. package/dist/out-AZBX4ITJ.js +7 -0
  117. package/dist/{path-2HZUSAGR.js → path-2K5HIMHZ.js} +3 -2
  118. package/dist/tsconfig.tsbuildinfo +1 -1
  119. package/dist/{ui-BBB46DQS.js → ui-CEJ6R3AV.js} +9 -8
  120. package/dist/{workerd-F7DWDIYO.js → workerd-WLX2SY5E.js} +23 -20
  121. package/oclif.manifest.json +103 -2
  122. package/package.json +9 -9
  123. package/LICENSE +0 -8
  124. package/dist/chunk-KIOWYILS.js +0 -3811
  125. package/dist/chunk-R4HZPLY4.js +0 -15746
  126. package/dist/lib-QZGSY5YB.js +0 -13
  127. package/dist/out-JR4DWQ2G.js +0 -7
  128. /package/dist/assets/dev-console/extensions/dev-console/assets/{index-Cgb-oKsM.css → index-n8yr6cxq.css} +0 -0
@@ -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
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-2RKSPXIM.js";
3
+ } from "./chunk-DNKTPUYV.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-LLWX47E4.js";
6
+ } from "./chunk-DH65BORI.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var Generate = class extends base_command_default {
25
25
  export {
26
26
  Generate
27
27
  };
28
- //# sourceMappingURL=chunk-ZQ55XXD5.js.map
28
+ //# sourceMappingURL=chunk-4VWVAF7H.js.map
@@ -0,0 +1,111 @@
1
+ import {
2
+ basename,
3
+ dirname,
4
+ extname,
5
+ isAbsolute,
6
+ join,
7
+ normalize,
8
+ relative,
9
+ resolve
10
+ } from "./chunk-CDBXAE2F.js";
11
+ import {
12
+ __commonJS,
13
+ __require,
14
+ __toESM,
15
+ init_cjs_shims
16
+ } from "./chunk-PKR7KJ6P.js";
17
+
18
+ // ../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js
19
+ var require_commondir = __commonJS({
20
+ "../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js"(exports, module) {
21
+ init_cjs_shims();
22
+ var path = __require("path");
23
+ module.exports = function(basedir, relfiles) {
24
+ if (relfiles)
25
+ var files = relfiles.map(function(r) {
26
+ return path.resolve(basedir, r);
27
+ });
28
+ else
29
+ var files = basedir;
30
+ var res = files.slice(1).reduce(function(ps, file) {
31
+ if (!file.match(/^([A-Za-z]:)?\/|\\/))
32
+ throw new Error("relative path without a basedir");
33
+ for (var xs = file.split(/\/+|\\+/), i = 0; ps[i] === xs[i] && i < Math.min(ps.length, xs.length); i++) ;
34
+ return ps.slice(0, i);
35
+ }, files[0].split(/\/+|\\+/));
36
+ return res.length > 1 ? res.join("/") : "/";
37
+ };
38
+ }
39
+ });
40
+
41
+ // ../cli-kit/dist/public/node/path.js
42
+ init_cjs_shims();
43
+ var import_commondir = __toESM(require_commondir());
44
+ import { fileURLToPath } from "url";
45
+ function joinPath(...paths) {
46
+ return join(...paths);
47
+ }
48
+ function normalizePath(path) {
49
+ return normalize(path);
50
+ }
51
+ function resolvePath(...paths) {
52
+ return resolve(...paths);
53
+ }
54
+ function relativePath(from, to) {
55
+ return relative(from, to);
56
+ }
57
+ function isAbsolutePath(path) {
58
+ return isAbsolute(path);
59
+ }
60
+ function dirname2(path) {
61
+ return dirname(path);
62
+ }
63
+ function basename2(path, ext) {
64
+ return basename(path, ext);
65
+ }
66
+ function extname2(path) {
67
+ return extname(path);
68
+ }
69
+ function relativizePath(path, dir = cwd()) {
70
+ let result = (0, import_commondir.default)([path, dir]), relativePath2 = relative(dir, path), relativeComponents = relativePath2.split("/").filter((component) => component === "..").length;
71
+ return result === "/" || relativePath2 === "" || relativeComponents > 2 ? path : relativePath2;
72
+ }
73
+ function isSubpath(mainPath, subpath) {
74
+ let relativePath2 = relative(mainPath, subpath);
75
+ return !relativePath2.startsWith("..") && !isAbsolutePath(relativePath2);
76
+ }
77
+ function moduleDirectory(moduleURL) {
78
+ return dirname2(fileURLToPath(moduleURL));
79
+ }
80
+ function cwd() {
81
+ return normalize(process.env.INIT_CWD ? process.env.INIT_CWD : process.cwd());
82
+ }
83
+ function sniffForPath(argv = process.argv) {
84
+ let pathFlagIndex = argv.indexOf("--path");
85
+ if (pathFlagIndex === -1)
86
+ return argv.find((arg) => arg.startsWith("--path="))?.split("=")[1];
87
+ let pathFlag = argv[pathFlagIndex + 1];
88
+ if (!(!pathFlag || pathFlag.startsWith("-")))
89
+ return pathFlag;
90
+ }
91
+ function sniffForJson(argv = process.argv) {
92
+ return argv.includes("--json") || argv.includes("-j");
93
+ }
94
+
95
+ export {
96
+ joinPath,
97
+ normalizePath,
98
+ resolvePath,
99
+ relativePath,
100
+ isAbsolutePath,
101
+ dirname2 as dirname,
102
+ basename2 as basename,
103
+ extname2 as extname,
104
+ relativizePath,
105
+ isSubpath,
106
+ moduleDirectory,
107
+ cwd,
108
+ sniffForPath,
109
+ sniffForJson
110
+ };
111
+ //# sourceMappingURL=chunk-57Q6OQG4.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  require_merge2,
3
3
  require_out
4
- } from "./chunk-CRHXI6PS.js";
4
+ } from "./chunk-5DBS6QOU.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require,
@@ -622,4 +622,4 @@ export {
622
622
  require_slash,
623
623
  require_globby
624
624
  };
625
- //# sourceMappingURL=chunk-MHUINF7I.js.map
625
+ //# sourceMappingURL=chunk-5CLGH5PH.js.map