@shopify/cli 3.73.2 → 3.74.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.
- package/dist/assets/dev-console/extensions/dev-console/assets/{index-D7F9wNys.js → index-lyGm6l3x.js} +12 -12
- package/dist/assets/dev-console/index.html +2 -2
- package/dist/assets/speedscope/SourceCodePro-Regular.ttf.f546cbe0.woff2 +0 -0
- package/dist/assets/speedscope/demangle-cpp.1768f4cc.js +4 -0
- package/dist/assets/speedscope/favicon-16x16.f74b3187.png +0 -0
- package/dist/assets/speedscope/favicon-32x32.bc503437.png +0 -0
- package/dist/assets/speedscope/file-format-schema.json +324 -0
- package/dist/assets/speedscope/import.bcbb2033.js +123 -0
- package/dist/assets/speedscope/index.html +2 -0
- package/dist/assets/speedscope/perf-vertx-stacks-01-collapsed-all.2681da68.txt +199 -0
- package/dist/assets/speedscope/release.txt +3 -0
- package/dist/assets/speedscope/reset.8c46b7a1.css +2 -0
- package/dist/assets/speedscope/source-code-pro.52b1676f.css +2 -0
- package/dist/assets/speedscope/source-code-pro.LICENSE.md +93 -0
- package/dist/assets/speedscope/source-map.438fa06b.js +24 -0
- package/dist/assets/speedscope/speedscope.6f107512.js +193 -0
- package/dist/{chokidar-5LLC6S6D.js → chokidar-BLUAYFAB.js} +13 -1044
- package/dist/chokidar-OATAHMV6.js +1122 -0
- package/dist/{chunk-ES3T7FIW.js → chunk-2GCE2GUM.js} +3 -3
- package/dist/chunk-3I3GQNEW.js +95 -0
- package/dist/{chunk-5NHIBL5K.js → chunk-4QRIOWN3.js} +2 -2
- package/dist/{chunk-Y2KXNORY.js → chunk-4W33LVQQ.js} +3 -3
- package/dist/{chunk-CKC5C2DR.js → chunk-53WQGP7S.js} +4 -4
- package/dist/chunk-57Q6OQG4.js +111 -0
- package/dist/{chunk-MHUINF7I.js → chunk-5CLGH5PH.js} +2 -2
- package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
- package/dist/{chunk-ZOCACHGF.js → chunk-5JC3BUPR.js} +3 -3
- package/dist/{chunk-YMB5HUU3.js → chunk-5JWRABV2.js} +8 -8
- package/dist/{chunk-LLWX47E4.js → chunk-6JNRBEP6.js} +7 -9
- package/dist/{chunk-Y43XESY2.js → chunk-76NEANNG.js} +6442 -3165
- package/dist/{chunk-LVEURM2X.js → chunk-7T4EKFVU.js} +16 -2
- package/dist/{chunk-WKN62GWH.js → chunk-ACIVN2Q4.js} +502 -699
- package/dist/{chunk-ZX3L2JKV.js → chunk-AKL7T64Q.js} +80 -133
- package/dist/{chunk-2QGVACPR.js → chunk-B27LGWRZ.js} +3 -3
- package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
- package/dist/{chunk-7VQ2QADA.js → chunk-BWBSJLZN.js} +333 -156
- package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
- package/dist/{chunk-SBPFWO4S.js → chunk-CDQA3SST.js} +56182 -37290
- package/dist/chunk-CP3BRHWK.js +33 -0
- package/dist/{chunk-XEZJEXCU.js → chunk-D5AR5HKB.js} +2 -2
- package/dist/chunk-EMPP4I5H.js +497 -0
- package/dist/{chunk-DVCOVWXF.js → chunk-FCWD4NEK.js} +3 -3
- package/dist/{chunk-PJZVGRJ6.js → chunk-FMXC2O6H.js} +2 -2
- package/dist/{chunk-2GWO5FJL.js → chunk-GVMUVIT5.js} +7 -7
- package/dist/{chunk-KUM3DVPF.js → chunk-HMDWNGIV.js} +142 -471
- package/dist/{chunk-SVSIFM5Y.js → chunk-I6YWZKVU.js} +2 -2
- package/dist/{chunk-7TAOK36E.js → chunk-IYQNHNNP.js} +4 -4
- package/dist/{chunk-KXGCBBJW.js → chunk-JWRRKMF2.js} +2 -2
- package/dist/{chunk-IY7TUSI2.js → chunk-L3FVJFIT.js} +498 -412
- package/dist/{chunk-FJHGD37G.js → chunk-LH6BHL6J.js} +3 -3
- package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
- package/dist/{chunk-ONK6AXDE.js → chunk-MDJOXUMQ.js} +4 -4
- package/dist/{chunk-52WEPVL5.js → chunk-MSBZRBI5.js} +4 -4
- package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
- package/dist/{chunk-O73CKGH7.js → chunk-NUW6LQU4.js} +4 -4
- package/dist/{chunk-ZQ55XXD5.js → chunk-PMOQBQSE.js} +3 -3
- package/dist/{chunk-2RKSPXIM.js → chunk-QEUQO265.js} +5 -7
- package/dist/chunk-QRARFXIM.js +1137 -0
- package/dist/{chunk-NQFTYLP6.js → chunk-R7RENZQC.js} +3 -3
- package/dist/chunk-UB7RN523.js +15933 -0
- package/dist/{chunk-GSPOKRGB.js → chunk-VI4NVMJH.js} +2 -2
- package/dist/{chunk-WNQ6HYKJ.js → chunk-WBTJ7MQU.js} +3 -3
- package/dist/{chunk-2EKHINO6.js → chunk-WKO4CJCL.js} +5 -7
- package/dist/{chunk-YP35ARHU.js → chunk-WNUVUNTL.js} +41 -23
- package/dist/{chunk-AWW6JHWH.js → chunk-XBIDXV7B.js} +4 -4
- package/dist/{chunk-KETZRITQ.js → chunk-XJNTFQIK.js} +5 -5
- package/dist/cli/commands/auth/logout.js +20 -19
- package/dist/cli/commands/auth/logout.test.js +22 -21
- package/dist/cli/commands/cache/clear.js +19 -18
- package/dist/cli/commands/debug/command-flags.js +19 -18
- package/dist/cli/commands/docs/generate.js +19 -18
- package/dist/cli/commands/docs/generate.test.js +20 -19
- package/dist/cli/commands/help.js +19 -18
- package/dist/cli/commands/kitchen-sink/async.js +20 -19
- package/dist/cli/commands/kitchen-sink/async.test.js +21 -20
- package/dist/cli/commands/kitchen-sink/index.js +22 -21
- package/dist/cli/commands/kitchen-sink/index.test.js +23 -22
- package/dist/cli/commands/kitchen-sink/prompts.js +20 -19
- package/dist/cli/commands/kitchen-sink/prompts.test.js +21 -20
- package/dist/cli/commands/kitchen-sink/static.js +20 -19
- package/dist/cli/commands/kitchen-sink/static.test.js +21 -20
- package/dist/cli/commands/notifications/generate.js +20 -19
- package/dist/cli/commands/notifications/list.js +20 -19
- package/dist/cli/commands/search.js +20 -19
- package/dist/cli/commands/upgrade.js +20 -19
- package/dist/cli/commands/upgrade.test.js +2 -1
- package/dist/cli/commands/version.js +20 -19
- package/dist/cli/commands/version.test.js +21 -20
- package/dist/cli/services/commands/notifications.js +14 -13
- package/dist/cli/services/commands/search.js +9 -8
- package/dist/cli/services/commands/search.test.js +10 -9
- package/dist/cli/services/commands/version.js +10 -9
- package/dist/cli/services/commands/version.test.js +12 -11
- package/dist/cli/services/kitchen-sink/async.js +9 -8
- package/dist/cli/services/kitchen-sink/prompts.js +9 -8
- package/dist/cli/services/kitchen-sink/static.js +9 -8
- package/dist/cli/services/upgrade.d.ts +0 -1
- package/dist/cli/services/upgrade.js +11 -10
- package/dist/cli/services/upgrade.test.js +14 -13
- package/dist/configs/all.yml +6 -0
- package/dist/configs/recommended.yml +6 -0
- package/dist/{custom-oclif-loader-4X7Y4CNS.js → custom-oclif-loader-ZY5GUSB3.js} +9 -8
- package/dist/{del-P2RS6GN2.js → del-FBU5JYXS.js} +4 -4
- package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
- package/dist/{error-handler-KHFKBXR4.js → error-handler-YRN4E6SY.js} +17 -16
- package/dist/hooks/postrun.js +18 -16
- package/dist/hooks/prerun.js +15 -14
- package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
- package/dist/index.js +18712 -17414
- package/dist/lib-E2DSNKUX.js +13 -0
- package/dist/{local-PBMBK3CF.js → local-VTZT5Q4L.js} +11 -10
- package/dist/{morph-OSHCID2F.js → morph-ACVSDUS7.js} +3 -3
- package/dist/{node-ENALIQ2H.js → node-ONVZF27D.js} +23 -20
- package/dist/{node-package-manager-CVGCLCTC.js → node-package-manager-BZNXJETD.js} +11 -10
- package/dist/{npa-TM76BGG3.js → npa-JAX2F6CO.js} +2 -2
- package/dist/out-AZBX4ITJ.js +7 -0
- package/dist/{path-2HZUSAGR.js → path-2K5HIMHZ.js} +3 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-BBB46DQS.js → ui-3RKZNTJR.js} +9 -8
- package/dist/{workerd-F7DWDIYO.js → workerd-PSNADDQA.js} +23 -20
- package/oclif.manifest.json +103 -2
- package/package.json +9 -9
- package/LICENSE +0 -8
- package/dist/chunk-KIOWYILS.js +0 -3811
- package/dist/chunk-R4HZPLY4.js +0 -15746
- package/dist/lib-QZGSY5YB.js +0 -13
- package/dist/out-JR4DWQ2G.js +0 -7
- /package/dist/assets/dev-console/extensions/dev-console/assets/{index-Cgb-oKsM.css → index-n8yr6cxq.css} +0 -0
|
@@ -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/
|
|
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
|
|
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("/")
|
|
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
|
-
//
|
|
124
|
-
|
|
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
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
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-
|
|
108
|
+
//# sourceMappingURL=chunk-CDBXAE2F.js.map
|