@shopify/cli 3.84.2 → 3.85.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.
- package/README.md +1 -1
- package/dist/{chokidar-KCZH6DIC.js → chokidar-TTCYG5AA.js} +5 -5
- package/dist/{chokidar-XPSJ2FUJ.js → chokidar-XUA2BN3J.js} +5 -5
- package/dist/{chunk-OCEWRJZI.js → chunk-62H2KYOJ.js} +17 -21
- package/dist/{chunk-6A27UWO7.js → chunk-6YB46YWH.js} +4 -4
- package/dist/{chunk-L5OKA4W4.js → chunk-7JE3EHN3.js} +7 -7
- package/dist/chunk-7LEPNDDJ.js +87 -0
- package/dist/{chunk-MXDBI4PG.js → chunk-7N5JGLLX.js} +5 -5
- package/dist/{chunk-HMDWNGIV.js → chunk-AM4QB5OM.js} +206 -100
- package/dist/{chunk-W5G2YPO2.js → chunk-BQ3PZIHZ.js} +7 -7
- package/dist/{chunk-TFVMB62A.js → chunk-CKYPRLQQ.js} +19 -18
- package/dist/{chunk-AQVXNWM2.js → chunk-CNY4KRKG.js} +2 -2
- package/dist/{del-SAZHGAZZ.js → chunk-EFOOQV72.js} +17 -378
- package/dist/{chunk-3FBDJEGD.js → chunk-F7F4BQYW.js} +1824 -762
- package/dist/{chunk-66VZYBID.js → chunk-F7J5CUMZ.js} +4 -4
- package/dist/{chunk-2TBGVDDK.js → chunk-FLHWGFGH.js} +3 -3
- package/dist/{chunk-JHLYV5K7.js → chunk-G6OERDCU.js} +7 -7
- package/dist/{chunk-6JFZSZKE.js → chunk-GGNBWCCE.js} +16380 -5793
- package/dist/chunk-IWFYXDPH.js +109 -0
- package/dist/{chunk-7UHRC35E.js → chunk-J3DHMVKN.js} +2 -2
- package/dist/{chunk-Z6MEYGAG.js → chunk-JDI5KJ6D.js} +3 -3
- package/dist/chunk-KIC7OBUL.js +4654 -0
- package/dist/{chunk-YUI23PKV.js → chunk-KJT4XRJY.js} +2 -2
- package/dist/{chunk-46YOOMEM.js → chunk-LOJKECKW.js} +2 -2
- package/dist/{chunk-TAA5HGRT.js → chunk-MHFD5A4P.js} +666 -589
- package/dist/{chunk-QS5WPZTS.js → chunk-O47I6ERR.js} +10 -9
- package/dist/{chunk-KHBZ52PT.js → chunk-OXCV2R7K.js} +43 -19
- package/dist/{chunk-XD5EFQE2.js → chunk-OXVB7GS3.js} +5 -5
- package/dist/{chunk-UOLT7THS.js → chunk-PYZUPEOA.js} +3 -3
- package/dist/{chunk-G74IQQ6M.js → chunk-Q64LTCDT.js} +3 -3
- package/dist/{chunk-DCU33ZNP.js → chunk-R7QUG5YH.js} +3 -3
- package/dist/{chunk-YPRC4TK6.js → chunk-S3MBABAK.js} +187 -43
- package/dist/{chunk-ZRU5CKDG.js → chunk-TRKSH2XY.js} +4 -4
- package/dist/{chunk-BSKQ4RKV.js → chunk-TVWMGUCW.js} +3 -3
- package/dist/{chunk-G5R6YD27.js → chunk-UATXMR5F.js} +2 -103
- package/dist/{chunk-DZCCH5OM.js → chunk-UYWDOH6Y.js} +8 -8
- package/dist/{chunk-BX2C6EVM.js → chunk-VCGC2OW6.js} +2 -2
- package/dist/{chunk-YNNUWX3I.js → chunk-VMPHJR5V.js} +4 -4
- package/dist/{chunk-7YVG6N4O.js → chunk-W54BTT4L.js} +2 -2
- package/dist/{chunk-RTTTZZGY.js → chunk-XKHE52EY.js} +4 -4
- package/dist/{chunk-MRQXBTNU.js → chunk-XNKJ52IR.js} +3 -3
- package/dist/{chunk-EG6MBBEN.js → chunk-Y2JP6WFP.js} +2 -2
- package/dist/{chunk-M6EH6UKK.js → chunk-YIQ4GHA2.js} +4 -4
- package/dist/{chunk-ZBPY6YL5.js → chunk-YJZEHV2H.js} +8 -8
- package/dist/{chunk-T2Z26YN7.js → chunk-ZZACM6JY.js} +3 -3
- package/dist/cli/commands/auth/login.d.ts +8 -0
- package/dist/cli/commands/auth/login.js +28 -0
- package/dist/cli/commands/auth/login.test.js +53 -0
- package/dist/cli/commands/auth/logout.js +15 -17
- package/dist/cli/commands/auth/logout.test.js +20 -22
- package/dist/cli/commands/cache/clear.js +15 -16
- package/dist/cli/commands/debug/command-flags.js +15 -16
- package/dist/cli/commands/docs/generate.js +15 -16
- package/dist/cli/commands/docs/generate.test.js +21 -22
- package/dist/cli/commands/help.js +15 -16
- package/dist/cli/commands/kitchen-sink/async.js +16 -17
- package/dist/cli/commands/kitchen-sink/async.test.js +17 -18
- package/dist/cli/commands/kitchen-sink/index.js +18 -19
- package/dist/cli/commands/kitchen-sink/index.test.js +21 -22
- package/dist/cli/commands/kitchen-sink/prompts.js +16 -17
- package/dist/cli/commands/kitchen-sink/prompts.test.js +17 -18
- package/dist/cli/commands/kitchen-sink/static.js +16 -17
- package/dist/cli/commands/kitchen-sink/static.test.js +17 -18
- package/dist/cli/commands/notifications/generate.js +16 -17
- package/dist/cli/commands/notifications/list.js +16 -17
- package/dist/cli/commands/search.js +16 -17
- package/dist/cli/commands/upgrade.js +16 -17
- package/dist/cli/commands/upgrade.test.js +1 -1
- package/dist/cli/commands/version.js +16 -17
- package/dist/cli/commands/version.test.js +17 -18
- package/dist/cli/services/commands/notifications.js +11 -12
- package/dist/cli/services/commands/search.js +7 -8
- package/dist/cli/services/commands/search.test.js +8 -9
- package/dist/cli/services/commands/version.js +8 -9
- package/dist/cli/services/commands/version.test.js +10 -11
- package/dist/cli/services/kitchen-sink/async.js +7 -8
- package/dist/cli/services/kitchen-sink/prompts.js +7 -8
- package/dist/cli/services/kitchen-sink/static.js +7 -8
- package/dist/cli/services/upgrade.js +8 -9
- package/dist/cli/services/upgrade.test.js +13 -14
- package/dist/configs/all.yml +3 -3
- package/dist/configs/recommended.yml +3 -3
- package/dist/{custom-oclif-loader-BBMEEF2H.js → custom-oclif-loader-MVTJFCUD.js} +11 -12
- package/dist/data/latest.json +1 -1
- package/dist/data/objects.json +2 -2
- package/dist/data/shopify_system_translations.json +82 -24
- package/dist/data/tags.json +10 -10
- package/dist/del-DNZ7X2HW.js +377 -0
- package/dist/{error-handler-734CUCMD.js → error-handler-OEZ5DBZB.js} +13 -14
- package/dist/hooks/postrun.js +13 -15
- package/dist/hooks/prerun.js +14 -15
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7792 -5700
- package/dist/{lib-OSXFX3I2.js → lib-DEEC6IKU.js} +3 -4
- package/dist/{local-5AKZWHSS.js → local-72XWEFWL.js} +7 -8
- package/dist/{morph-TYIH255V.js → morph-5D7H6MU2.js} +13 -11
- package/dist/{node-package-manager-DMOU4DTB.js → node-package-manager-TTBSTZXN.js} +8 -9
- package/dist/{npa-E675GQOI.js → npa-LHT53SWR.js} +3 -5
- package/dist/{path-GB4VIEM6.js → path-COZT77T2.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-JQXGLHMO.js → ui-XUA267UA.js} +9 -8
- package/dist/{workerd-FTKMK3NR.js → workerd-KJQYQH4A.js} +23 -23
- package/oclif.manifest.json +79 -9
- package/package.json +10 -10
- package/dist/chunk-CP3BRHWK.js +0 -33
- package/dist/chunk-EZQWZ57B.js +0 -53
- package/dist/chunk-SJMHVGQ5.js +0 -119
- package/dist/chunk-SM7O6ZFJ.js +0 -1216
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import {
|
|
2
|
+
require_balanced_match
|
|
3
|
+
} from "./chunk-XE5EOEBL.js";
|
|
4
|
+
import {
|
|
5
|
+
__commonJS,
|
|
6
|
+
init_cjs_shims
|
|
7
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
8
|
+
|
|
9
|
+
// ../../node_modules/.pnpm/brace-expansion@2.0.2/node_modules/brace-expansion/index.js
|
|
10
|
+
var require_brace_expansion = __commonJS({
|
|
11
|
+
"../../node_modules/.pnpm/brace-expansion@2.0.2/node_modules/brace-expansion/index.js"(exports, module) {
|
|
12
|
+
init_cjs_shims();
|
|
13
|
+
var balanced = require_balanced_match();
|
|
14
|
+
module.exports = expandTop;
|
|
15
|
+
var escSlash = "\0SLASH" + Math.random() + "\0", escOpen = "\0OPEN" + Math.random() + "\0", escClose = "\0CLOSE" + Math.random() + "\0", escComma = "\0COMMA" + Math.random() + "\0", escPeriod = "\0PERIOD" + Math.random() + "\0";
|
|
16
|
+
function numeric(str) {
|
|
17
|
+
return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
|
|
18
|
+
}
|
|
19
|
+
function escapeBraces(str) {
|
|
20
|
+
return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod);
|
|
21
|
+
}
|
|
22
|
+
function unescapeBraces(str) {
|
|
23
|
+
return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
|
24
|
+
}
|
|
25
|
+
function parseCommaParts(str) {
|
|
26
|
+
if (!str)
|
|
27
|
+
return [""];
|
|
28
|
+
var parts = [], m = balanced("{", "}", str);
|
|
29
|
+
if (!m)
|
|
30
|
+
return str.split(",");
|
|
31
|
+
var pre = m.pre, body = m.body, post = m.post, p = pre.split(",");
|
|
32
|
+
p[p.length - 1] += "{" + body + "}";
|
|
33
|
+
var postParts = parseCommaParts(post);
|
|
34
|
+
return post.length && (p[p.length - 1] += postParts.shift(), p.push.apply(p, postParts)), parts.push.apply(parts, p), parts;
|
|
35
|
+
}
|
|
36
|
+
function expandTop(str) {
|
|
37
|
+
return str ? (str.substr(0, 2) === "{}" && (str = "\\{\\}" + str.substr(2)), expand(escapeBraces(str), !0).map(unescapeBraces)) : [];
|
|
38
|
+
}
|
|
39
|
+
function embrace(str) {
|
|
40
|
+
return "{" + str + "}";
|
|
41
|
+
}
|
|
42
|
+
function isPadded(el) {
|
|
43
|
+
return /^-?0\d/.test(el);
|
|
44
|
+
}
|
|
45
|
+
function lte(i, y) {
|
|
46
|
+
return i <= y;
|
|
47
|
+
}
|
|
48
|
+
function gte(i, y) {
|
|
49
|
+
return i >= y;
|
|
50
|
+
}
|
|
51
|
+
function expand(str, isTop) {
|
|
52
|
+
var expansions = [], m = balanced("{", "}", str);
|
|
53
|
+
if (!m) return [str];
|
|
54
|
+
var pre = m.pre, post = m.post.length ? expand(m.post, !1) : [""];
|
|
55
|
+
if (/\$$/.test(m.pre))
|
|
56
|
+
for (var k = 0; k < post.length; k++) {
|
|
57
|
+
var expansion = pre + "{" + m.body + "}" + post[k];
|
|
58
|
+
expansions.push(expansion);
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body), isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body), isSequence = isNumericSequence || isAlphaSequence, isOptions = m.body.indexOf(",") >= 0;
|
|
62
|
+
if (!isSequence && !isOptions)
|
|
63
|
+
return m.post.match(/,(?!,).*\}/) ? (str = m.pre + "{" + m.body + escClose + m.post, expand(str)) : [str];
|
|
64
|
+
var n;
|
|
65
|
+
if (isSequence)
|
|
66
|
+
n = m.body.split(/\.\./);
|
|
67
|
+
else if (n = parseCommaParts(m.body), n.length === 1 && (n = expand(n[0], !1).map(embrace), n.length === 1))
|
|
68
|
+
return post.map(function(p) {
|
|
69
|
+
return m.pre + n[0] + p;
|
|
70
|
+
});
|
|
71
|
+
var N;
|
|
72
|
+
if (isSequence) {
|
|
73
|
+
var x = numeric(n[0]), y = numeric(n[1]), width = Math.max(n[0].length, n[1].length), incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1, test = lte, reverse = y < x;
|
|
74
|
+
reverse && (incr *= -1, test = gte);
|
|
75
|
+
var pad = n.some(isPadded);
|
|
76
|
+
N = [];
|
|
77
|
+
for (var i = x; test(i, y); i += incr) {
|
|
78
|
+
var c;
|
|
79
|
+
if (isAlphaSequence)
|
|
80
|
+
c = String.fromCharCode(i), c === "\\" && (c = "");
|
|
81
|
+
else if (c = String(i), pad) {
|
|
82
|
+
var need = width - c.length;
|
|
83
|
+
if (need > 0) {
|
|
84
|
+
var z = new Array(need + 1).join("0");
|
|
85
|
+
i < 0 ? c = "-" + z + c.slice(1) : c = z + c;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
N.push(c);
|
|
89
|
+
}
|
|
90
|
+
} else {
|
|
91
|
+
N = [];
|
|
92
|
+
for (var j = 0; j < n.length; j++)
|
|
93
|
+
N.push.apply(N, expand(n[j], !1));
|
|
94
|
+
}
|
|
95
|
+
for (var j = 0; j < N.length; j++)
|
|
96
|
+
for (var k = 0; k < post.length; k++) {
|
|
97
|
+
var expansion = pre + N[j] + post[k];
|
|
98
|
+
(!isTop || isSequence || expansion) && expansions.push(expansion);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return expansions;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
export {
|
|
107
|
+
require_brace_expansion
|
|
108
|
+
};
|
|
109
|
+
//# sourceMappingURL=chunk-IWFYXDPH.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
renderDangerousConfirmationPrompt,
|
|
6
6
|
renderSelectPrompt,
|
|
7
7
|
renderTextPrompt
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MHFD5A4P.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-
|
|
178
|
+
//# sourceMappingURL=chunk-J3DHMVKN.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J3DHMVKN.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O47I6ERR.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkPrompts = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkPrompts
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-JDI5KJ6D.js.map
|