@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
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-IY7TUSI2.js";
4
+ } from "./chunk-TLXMY7OM.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-PKR7KJ6P.js";
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
33
33
  export {
34
34
  mockAndCaptureOutput
35
35
  };
36
- //# sourceMappingURL=chunk-SVSIFM5Y.js.map
36
+ //# sourceMappingURL=chunk-BGCAU2LM.js.map
@@ -5,7 +5,7 @@ import {
5
5
  renderDangerousConfirmationPrompt,
6
6
  renderSelectPrompt,
7
7
  renderTextPrompt
8
- } from "./chunk-IY7TUSI2.js";
8
+ } from "./chunk-TLXMY7OM.js";
9
9
  import {
10
10
  init_cjs_shims
11
11
  } from "./chunk-PKR7KJ6P.js";
@@ -175,4 +175,4 @@ async function prompts() {
175
175
  export {
176
176
  prompts
177
177
  };
178
- //# sourceMappingURL=chunk-GSPOKRGB.js.map
178
+ //# sourceMappingURL=chunk-C2KCEZK7.js.map
@@ -1,46 +1,14 @@
1
1
  import {
2
- __commonJS,
3
- __require,
4
- __toESM,
5
2
  init_cjs_shims
6
3
  } from "./chunk-PKR7KJ6P.js";
7
4
 
8
- // ../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js
9
- var require_commondir = __commonJS({
10
- "../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js"(exports, module) {
11
- init_cjs_shims();
12
- var path2 = __require("path");
13
- module.exports = function(basedir, relfiles) {
14
- if (relfiles)
15
- var files = relfiles.map(function(r) {
16
- return path2.resolve(basedir, r);
17
- });
18
- else
19
- var files = basedir;
20
- var res = files.slice(1).reduce(function(ps, file) {
21
- if (!file.match(/^([A-Za-z]:)?\/|\\/))
22
- throw new Error("relative path without a basedir");
23
- for (var xs = file.split(/\/+|\\+/), i = 0; ps[i] === xs[i] && i < Math.min(ps.length, xs.length); i++) ;
24
- return ps.slice(0, i);
25
- }, files[0].split(/\/+|\\+/));
26
- return res.length > 1 ? res.join("/") : "/";
27
- };
28
- }
29
- });
30
-
31
- // ../cli-kit/dist/public/node/path.js
32
- init_cjs_shims();
33
- var import_commondir = __toESM(require_commondir());
34
-
35
- // ../../node_modules/.pnpm/pathe@1.1.1/node_modules/pathe/dist/index.mjs
36
- init_cjs_shims();
37
-
38
- // ../../node_modules/.pnpm/pathe@1.1.1/node_modules/pathe/dist/shared/pathe.92c04245.mjs
5
+ // ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
39
6
  init_cjs_shims();
7
+ var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
40
8
  function normalizeWindowsPath(input = "") {
41
- return !input || !input.includes("\\") ? input : input.replace(/\\/g, "/");
9
+ return input && input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
42
10
  }
43
- var _UNC_REGEX = /^[/\\]{2}/, _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
11
+ var _UNC_REGEX = /^[/\\]{2}/, _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, _DRIVE_LETTER_RE = /^[A-Za-z]:$/, _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
44
12
  var delimiter = ":", normalize = function(path2) {
45
13
  if (path2.length === 0)
46
14
  return ".";
@@ -56,7 +24,7 @@ var delimiter = ":", normalize = function(path2) {
56
24
  return joined === void 0 ? "." : normalize(joined.replace(/\/\/+/g, "/"));
57
25
  };
58
26
  function cwd() {
59
- return typeof process < "u" ? process.cwd().replace(/\\/g, "/") : "/";
27
+ return typeof process < "u" && typeof process.cwd == "function" ? process.cwd().replace(/\\/g, "/") : "/";
60
28
  }
61
29
  var resolve = function(...arguments_) {
62
30
  arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
@@ -104,7 +72,10 @@ var _EXTNAME_RE = /.(\.[^./]+)$/, extname = function(p) {
104
72
  let match = _EXTNAME_RE.exec(normalizeWindowsPath(p));
105
73
  return match && match[1] || "";
106
74
  }, relative = function(from, to) {
107
- let _from = resolve(from).split("/"), _to = resolve(to).split("/"), _fromCopy = [..._from];
75
+ let _from = resolve(from).replace(_ROOT_FOLDER_RE, "$1").split("/"), _to = resolve(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
76
+ if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0])
77
+ return _to.join("/");
78
+ let _fromCopy = [..._from];
108
79
  for (let segment of _fromCopy) {
109
80
  if (_to[0] !== segment)
110
81
  break;
@@ -120,73 +91,18 @@ var basename = function(p, extension) {
120
91
  return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
121
92
  };
122
93
 
123
- // ../cli-kit/dist/public/node/path.js
124
- import { fileURLToPath } from "url";
125
- function joinPath(...paths) {
126
- return join(...paths);
127
- }
128
- function normalizePath(path2) {
129
- return normalize(path2);
130
- }
131
- function resolvePath(...paths) {
132
- return resolve(...paths);
133
- }
134
- function relativePath(from, to) {
135
- return relative(from, to);
136
- }
137
- function isAbsolutePath(path2) {
138
- return isAbsolute(path2);
139
- }
140
- function dirname2(path2) {
141
- return dirname(path2);
142
- }
143
- function basename2(path2, ext) {
144
- return basename(path2, ext);
145
- }
146
- function extname2(path2) {
147
- return extname(path2);
148
- }
149
- function relativizePath(path2, dir = cwd2()) {
150
- let result = (0, import_commondir.default)([path2, dir]), relativePath2 = relative(dir, path2), relativeComponents = relativePath2.split("/").filter((component) => component === "..").length;
151
- return result === "/" || relativePath2 === "" || relativeComponents > 2 ? path2 : relativePath2;
152
- }
153
- function isSubpath(mainPath, subpath) {
154
- let relativePath2 = relative(mainPath, subpath);
155
- return !relativePath2.startsWith("..") && !isAbsolutePath(relativePath2);
156
- }
157
- function moduleDirectory(moduleURL) {
158
- return dirname2(fileURLToPath(moduleURL));
159
- }
160
- function cwd2() {
161
- return normalize(process.env.INIT_CWD ? process.env.INIT_CWD : process.cwd());
162
- }
163
- function sniffForPath(argv = process.argv) {
164
- let pathFlagIndex = argv.indexOf("--path");
165
- if (pathFlagIndex === -1)
166
- return argv.find((arg) => arg.startsWith("--path="))?.split("=")[1];
167
- let pathFlag = argv[pathFlagIndex + 1];
168
- if (!(!pathFlag || pathFlag.startsWith("-")))
169
- return pathFlag;
170
- }
171
- function sniffForJson(argv = process.argv) {
172
- return argv.includes("--json") || argv.includes("-j");
173
- }
94
+ // ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/index.mjs
95
+ init_cjs_shims();
174
96
 
175
97
  export {
176
98
  delimiter,
177
- joinPath,
178
- normalizePath,
179
- resolvePath,
180
- relativePath,
181
- isAbsolutePath,
182
- dirname2 as dirname,
183
- basename2 as basename,
184
- extname2 as extname,
185
- relativizePath,
186
- isSubpath,
187
- moduleDirectory,
188
- cwd2 as cwd,
189
- sniffForPath,
190
- sniffForJson
99
+ normalize,
100
+ join,
101
+ resolve,
102
+ isAbsolute,
103
+ extname,
104
+ relative,
105
+ dirname,
106
+ basename
191
107
  };
192
- //# sourceMappingURL=chunk-K7HGDAI4.js.map
108
+ //# sourceMappingURL=chunk-CDBXAE2F.js.map