@shopify/cli 3.82.1 → 3.83.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/dist/{chokidar-TTCYG5AA.js → chokidar-KCZH6DIC.js} +5 -5
- package/dist/{chokidar-XUA2BN3J.js → chokidar-XPSJ2FUJ.js} +5 -5
- package/dist/{chunk-QDLC5TZP.js → chunk-2ZA3MHM5.js} +3 -3
- package/dist/{chunk-LPU2VGJR.js → chunk-3FBDJEGD.js} +6153 -11319
- package/dist/{chunk-IHFQ3F23.js → chunk-4BPSIIGV.js} +3 -3
- package/dist/{chunk-EE5FOU6D.js → chunk-57SXE5DE.js} +2 -2
- package/dist/{chunk-TRPRYAWB.js → chunk-5BJYF6FG.js} +4 -4
- package/dist/{chunk-7E5ELMEP.js → chunk-5QFLNCVR.js} +6 -6
- package/dist/{chunk-F7J5CUMZ.js → chunk-66VZYBID.js} +4 -4
- package/dist/{chunk-JFCQDJFN.js → chunk-7EV36FNO.js} +12 -12
- package/dist/{chunk-MOIB2YST.js → chunk-7KLV4YSY.js} +2 -2
- package/dist/{chunk-TOYQ6OGF.js → chunk-A6DFWCO7.js} +4 -4
- package/dist/{chunk-YPVB6B34.js → chunk-ARXCCKJT.js} +9 -9
- package/dist/{chunk-LHLR2V5J.js → chunk-ASWHWSRF.js} +2 -2
- package/dist/{chunk-B2IEJ5WW.js → chunk-BZBO3V3A.js} +4 -4
- package/dist/{chunk-YN4HBUI3.js → chunk-BZFP2O66.js} +7 -7
- package/dist/{chunk-API6SOPE.js → chunk-DDU22ZPL.js} +3 -3
- package/dist/{chunk-YJPCY2LS.js → chunk-DFABOPSU.js} +4 -4
- package/dist/{chunk-UENXYFT3.js → chunk-DVGCJLCA.js} +12 -10
- package/dist/{chunk-CLFWIHUG.js → chunk-FEMALH67.js} +4 -4
- package/dist/{chunk-SFDHLWEI.js → chunk-FNYLJESL.js} +4 -4
- package/dist/{chunk-MPCIJZRR.js → chunk-JEW6HZHJ.js} +3 -3
- package/dist/{chunk-5NCPSAFZ.js → chunk-K5GF4S7D.js} +2 -2
- package/dist/{chunk-AE3MLJMV.js → chunk-KPFBSWRK.js} +779 -24
- package/dist/{chunk-W7ISQU7I.js → chunk-KSLA767C.js} +2 -2
- package/dist/{chunk-HPTCTDPD.js → chunk-NJN55E4K.js} +4 -4
- package/dist/{chunk-OSWJJWB4.js → chunk-PPDGMVCL.js} +5 -5
- package/dist/{chunk-VOPDBKMR.js → chunk-QNMWKLS4.js} +3 -3
- package/dist/{chunk-IXOKLO2J.js → chunk-RDAZS4FZ.js} +8 -8
- package/dist/{chunk-MBYV3HFV.js → chunk-SJYNVNUB.js} +3 -3
- package/dist/{chunk-2UOPOSAQ.js → chunk-SUA462JY.js} +5 -5
- package/dist/{chunk-6HSVIAHC.js → chunk-TB443RFG.js} +14 -12
- package/dist/{chunk-M4TCGXII.js → chunk-TLYRIQK7.js} +7 -7
- package/dist/chunk-UV5N2VL7.js +39 -0
- package/dist/{chunk-7AGM22KG.js → chunk-UZIJLLPI.js} +3 -3
- package/dist/{chunk-SRBYTZSG.js → chunk-XI6AXLZO.js} +4 -4
- package/dist/{chunk-RBHXB7LY.js → chunk-XOIMWH77.js} +2 -2
- package/dist/{chunk-GCPVC7EU.js → chunk-XVZQHSFP.js} +5 -5
- package/dist/{chunk-EG6MBBEN.js → chunk-Y2JP6WFP.js} +2 -2
- package/dist/{chunk-N4LQOIDN.js → chunk-ZQMRVJXG.js} +3 -3
- package/dist/cli/commands/auth/logout.js +16 -18
- package/dist/cli/commands/auth/logout.test.js +17 -19
- package/dist/cli/commands/cache/clear.js +15 -17
- package/dist/cli/commands/debug/command-flags.d.ts +1 -1
- package/dist/cli/commands/debug/command-flags.js +15 -17
- package/dist/cli/commands/docs/generate.js +15 -17
- package/dist/cli/commands/docs/generate.test.js +15 -17
- package/dist/cli/commands/help.d.ts +2 -2
- package/dist/cli/commands/help.js +15 -17
- package/dist/cli/commands/kitchen-sink/async.js +16 -18
- package/dist/cli/commands/kitchen-sink/async.test.js +16 -18
- package/dist/cli/commands/kitchen-sink/index.js +18 -20
- package/dist/cli/commands/kitchen-sink/index.test.js +18 -20
- package/dist/cli/commands/kitchen-sink/prompts.js +16 -18
- package/dist/cli/commands/kitchen-sink/prompts.test.js +16 -18
- package/dist/cli/commands/kitchen-sink/static.js +16 -18
- package/dist/cli/commands/kitchen-sink/static.test.js +16 -18
- package/dist/cli/commands/notifications/generate.js +16 -18
- package/dist/cli/commands/notifications/list.d.ts +1 -1
- package/dist/cli/commands/notifications/list.js +16 -18
- package/dist/cli/commands/search.d.ts +1 -1
- package/dist/cli/commands/search.js +16 -18
- package/dist/cli/commands/upgrade.js +16 -18
- package/dist/cli/commands/version.js +16 -18
- package/dist/cli/commands/version.test.js +16 -18
- package/dist/cli/services/commands/notifications.js +11 -13
- package/dist/cli/services/commands/search.js +7 -9
- package/dist/cli/services/commands/search.test.js +7 -9
- package/dist/cli/services/commands/version.js +8 -10
- package/dist/cli/services/commands/version.test.js +9 -11
- package/dist/cli/services/kitchen-sink/async.js +7 -9
- package/dist/cli/services/kitchen-sink/prompts.js +7 -9
- package/dist/cli/services/kitchen-sink/static.js +7 -9
- package/dist/cli/services/upgrade.js +8 -10
- package/dist/cli/services/upgrade.test.js +9 -11
- package/dist/configs/all.yml +9 -0
- package/dist/configs/recommended.yml +9 -0
- package/dist/{custom-oclif-loader-SQEUSZSS.js → custom-oclif-loader-XASCYJ7O.js} +7 -9
- package/dist/data/filters.json +40 -0
- package/dist/data/latest.json +1 -1
- package/dist/data/objects.json +28 -16
- package/dist/data/tags.json +7 -7
- package/dist/data/translations.json +9 -2
- package/dist/{chunk-FAITFLRX.js → del-SAZHGAZZ.js} +372 -42
- package/dist/{error-handler-EUTRPJGF.js → error-handler-HQBVO3GI.js} +13 -15
- package/dist/hooks/postrun.js +11 -13
- package/dist/hooks/prerun.js +12 -14
- package/dist/{http-proxy-LHSVRGJ5.js → http-proxy-node16-T623PGD4.js} +37 -29
- package/dist/index.js +20782 -20289
- package/dist/{lib-2ZBT3UR2.js → lib-OSXFX3I2.js} +4 -5
- package/dist/{local-DTWKQE2A.js → local-PI2REOYY.js} +7 -9
- package/dist/{morph-DFRO3NRL.js → morph-5LWJDWYB.js} +5 -5
- package/dist/{node-MZOMVUI6.js → node-NAYZANSZ.js} +17 -19
- package/dist/{node-package-manager-NJGCZMAX.js → node-package-manager-RVDETLBX.js} +8 -10
- package/dist/{path-GB4VIEM6.js → path-COZT77T2.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-OUT2NXBE.js → ui-RDFVKEJS.js} +7 -9
- package/dist/{workerd-JR3RQRVU.js → workerd-XLT4ZWI5.js} +17 -19
- package/oclif.manifest.json +212 -1
- package/package.json +14 -12
- package/dist/del-4JSTEFDW.js +0 -375
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
require_semver
|
|
3
|
-
} from "./chunk-HMDWNGIV.js";
|
|
4
|
-
import {
|
|
5
|
-
require_lib as require_lib2
|
|
6
|
-
} from "./chunk-B5EXYCV3.js";
|
|
7
1
|
import {
|
|
8
2
|
require_graceful_fs
|
|
9
3
|
} from "./chunk-75LV6AQS.js";
|
|
@@ -15,17 +9,24 @@ import {
|
|
|
15
9
|
normalizePath,
|
|
16
10
|
relativizePath,
|
|
17
11
|
sniffForPath
|
|
18
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Y2JP6WFP.js";
|
|
19
13
|
import {
|
|
20
|
-
|
|
21
|
-
require_lib
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
require_ansi_styles,
|
|
15
|
+
require_lib
|
|
16
|
+
} from "./chunk-3FBDJEGD.js";
|
|
17
|
+
import {
|
|
18
|
+
require_has_flag
|
|
19
|
+
} from "./chunk-UMUTXITN.js";
|
|
20
|
+
import {
|
|
21
|
+
require_semver
|
|
22
|
+
} from "./chunk-HMDWNGIV.js";
|
|
25
23
|
import {
|
|
26
24
|
require_brace_expansion,
|
|
27
25
|
require_source_map
|
|
28
26
|
} from "./chunk-G5R6YD27.js";
|
|
27
|
+
import {
|
|
28
|
+
require_lib as require_lib2
|
|
29
|
+
} from "./chunk-B5EXYCV3.js";
|
|
29
30
|
import {
|
|
30
31
|
__commonJS,
|
|
31
32
|
__esm,
|
|
@@ -3932,6 +3933,374 @@ var require_move2 = __commonJS({
|
|
|
3932
3933
|
}
|
|
3933
3934
|
});
|
|
3934
3935
|
|
|
3936
|
+
// ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
|
|
3937
|
+
var require_windows = __commonJS({
|
|
3938
|
+
"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module) {
|
|
3939
|
+
init_cjs_shims();
|
|
3940
|
+
module.exports = isexe;
|
|
3941
|
+
isexe.sync = sync;
|
|
3942
|
+
var fs5 = __require("fs");
|
|
3943
|
+
function checkPathExt(path8, options) {
|
|
3944
|
+
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
3945
|
+
if (!pathext || (pathext = pathext.split(";"), pathext.indexOf("") !== -1))
|
|
3946
|
+
return !0;
|
|
3947
|
+
for (var i = 0; i < pathext.length; i++) {
|
|
3948
|
+
var p = pathext[i].toLowerCase();
|
|
3949
|
+
if (p && path8.substr(-p.length).toLowerCase() === p)
|
|
3950
|
+
return !0;
|
|
3951
|
+
}
|
|
3952
|
+
return !1;
|
|
3953
|
+
}
|
|
3954
|
+
function checkStat(stat, path8, options) {
|
|
3955
|
+
return !stat.isSymbolicLink() && !stat.isFile() ? !1 : checkPathExt(path8, options);
|
|
3956
|
+
}
|
|
3957
|
+
function isexe(path8, options, cb) {
|
|
3958
|
+
fs5.stat(path8, function(er, stat) {
|
|
3959
|
+
cb(er, er ? !1 : checkStat(stat, path8, options));
|
|
3960
|
+
});
|
|
3961
|
+
}
|
|
3962
|
+
function sync(path8, options) {
|
|
3963
|
+
return checkStat(fs5.statSync(path8), path8, options);
|
|
3964
|
+
}
|
|
3965
|
+
}
|
|
3966
|
+
});
|
|
3967
|
+
|
|
3968
|
+
// ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
|
|
3969
|
+
var require_mode = __commonJS({
|
|
3970
|
+
"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module) {
|
|
3971
|
+
init_cjs_shims();
|
|
3972
|
+
module.exports = isexe;
|
|
3973
|
+
isexe.sync = sync;
|
|
3974
|
+
var fs5 = __require("fs");
|
|
3975
|
+
function isexe(path8, options, cb) {
|
|
3976
|
+
fs5.stat(path8, function(er, stat) {
|
|
3977
|
+
cb(er, er ? !1 : checkStat(stat, options));
|
|
3978
|
+
});
|
|
3979
|
+
}
|
|
3980
|
+
function sync(path8, options) {
|
|
3981
|
+
return checkStat(fs5.statSync(path8), options);
|
|
3982
|
+
}
|
|
3983
|
+
function checkStat(stat, options) {
|
|
3984
|
+
return stat.isFile() && checkMode(stat, options);
|
|
3985
|
+
}
|
|
3986
|
+
function checkMode(stat, options) {
|
|
3987
|
+
var mod = stat.mode, uid = stat.uid, gid = stat.gid, myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid(), myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid(), u = parseInt("100", 8), g = parseInt("010", 8), o = parseInt("001", 8), ug = u | g, ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
|
|
3988
|
+
return ret;
|
|
3989
|
+
}
|
|
3990
|
+
}
|
|
3991
|
+
});
|
|
3992
|
+
|
|
3993
|
+
// ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
|
|
3994
|
+
var require_isexe = __commonJS({
|
|
3995
|
+
"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module) {
|
|
3996
|
+
init_cjs_shims();
|
|
3997
|
+
var fs5 = __require("fs"), core;
|
|
3998
|
+
process.platform === "win32" || global.TESTING_WINDOWS ? core = require_windows() : core = require_mode();
|
|
3999
|
+
module.exports = isexe;
|
|
4000
|
+
isexe.sync = sync;
|
|
4001
|
+
function isexe(path8, options, cb) {
|
|
4002
|
+
if (typeof options == "function" && (cb = options, options = {}), !cb) {
|
|
4003
|
+
if (typeof Promise != "function")
|
|
4004
|
+
throw new TypeError("callback not provided");
|
|
4005
|
+
return new Promise(function(resolve, reject) {
|
|
4006
|
+
isexe(path8, options || {}, function(er, is) {
|
|
4007
|
+
er ? reject(er) : resolve(is);
|
|
4008
|
+
});
|
|
4009
|
+
});
|
|
4010
|
+
}
|
|
4011
|
+
core(path8, options || {}, function(er, is) {
|
|
4012
|
+
er && (er.code === "EACCES" || options && options.ignoreErrors) && (er = null, is = !1), cb(er, is);
|
|
4013
|
+
});
|
|
4014
|
+
}
|
|
4015
|
+
function sync(path8, options) {
|
|
4016
|
+
try {
|
|
4017
|
+
return core.sync(path8, options || {});
|
|
4018
|
+
} catch (er) {
|
|
4019
|
+
if (options && options.ignoreErrors || er.code === "EACCES")
|
|
4020
|
+
return !1;
|
|
4021
|
+
throw er;
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
}
|
|
4025
|
+
});
|
|
4026
|
+
|
|
4027
|
+
// ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
|
|
4028
|
+
var require_which = __commonJS({
|
|
4029
|
+
"../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports, module) {
|
|
4030
|
+
init_cjs_shims();
|
|
4031
|
+
var isWindows2 = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", path8 = __require("path"), COLON = isWindows2 ? ";" : ":", isexe = require_isexe(), getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" }), getPathInfo = (cmd, opt) => {
|
|
4032
|
+
let colon = opt.colon || COLON, pathEnv = cmd.match(/\//) || isWindows2 && cmd.match(/\\/) ? [""] : [
|
|
4033
|
+
// windows always checks the cwd first
|
|
4034
|
+
...isWindows2 ? [process.cwd()] : [],
|
|
4035
|
+
...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */
|
|
4036
|
+
"").split(colon)
|
|
4037
|
+
], pathExtExe = isWindows2 ? opt.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "", pathExt = isWindows2 ? pathExtExe.split(colon) : [""];
|
|
4038
|
+
return isWindows2 && cmd.indexOf(".") !== -1 && pathExt[0] !== "" && pathExt.unshift(""), {
|
|
4039
|
+
pathEnv,
|
|
4040
|
+
pathExt,
|
|
4041
|
+
pathExtExe
|
|
4042
|
+
};
|
|
4043
|
+
}, which3 = (cmd, opt, cb) => {
|
|
4044
|
+
typeof opt == "function" && (cb = opt, opt = {}), opt || (opt = {});
|
|
4045
|
+
let { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt), found = [], step = (i) => new Promise((resolve, reject) => {
|
|
4046
|
+
if (i === pathEnv.length)
|
|
4047
|
+
return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
|
|
4048
|
+
let ppRaw = pathEnv[i], pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw, pCmd = path8.join(pathPart, cmd), p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
|
|
4049
|
+
resolve(subStep(p, i, 0));
|
|
4050
|
+
}), subStep = (p, i, ii) => new Promise((resolve, reject) => {
|
|
4051
|
+
if (ii === pathExt.length)
|
|
4052
|
+
return resolve(step(i + 1));
|
|
4053
|
+
let ext2 = pathExt[ii];
|
|
4054
|
+
isexe(p + ext2, { pathExt: pathExtExe }, (er, is) => {
|
|
4055
|
+
if (!er && is)
|
|
4056
|
+
if (opt.all)
|
|
4057
|
+
found.push(p + ext2);
|
|
4058
|
+
else
|
|
4059
|
+
return resolve(p + ext2);
|
|
4060
|
+
return resolve(subStep(p, i, ii + 1));
|
|
4061
|
+
});
|
|
4062
|
+
});
|
|
4063
|
+
return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
|
|
4064
|
+
}, whichSync = (cmd, opt) => {
|
|
4065
|
+
opt = opt || {};
|
|
4066
|
+
let { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt), found = [];
|
|
4067
|
+
for (let i = 0; i < pathEnv.length; i++) {
|
|
4068
|
+
let ppRaw = pathEnv[i], pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw, pCmd = path8.join(pathPart, cmd), p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
|
|
4069
|
+
for (let j = 0; j < pathExt.length; j++) {
|
|
4070
|
+
let cur = p + pathExt[j];
|
|
4071
|
+
try {
|
|
4072
|
+
if (isexe.sync(cur, { pathExt: pathExtExe }))
|
|
4073
|
+
if (opt.all)
|
|
4074
|
+
found.push(cur);
|
|
4075
|
+
else
|
|
4076
|
+
return cur;
|
|
4077
|
+
} catch {
|
|
4078
|
+
}
|
|
4079
|
+
}
|
|
4080
|
+
}
|
|
4081
|
+
if (opt.all && found.length)
|
|
4082
|
+
return found;
|
|
4083
|
+
if (opt.nothrow)
|
|
4084
|
+
return null;
|
|
4085
|
+
throw getNotFoundError(cmd);
|
|
4086
|
+
};
|
|
4087
|
+
module.exports = which3;
|
|
4088
|
+
which3.sync = whichSync;
|
|
4089
|
+
}
|
|
4090
|
+
});
|
|
4091
|
+
|
|
4092
|
+
// ../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
|
|
4093
|
+
var require_path_key = __commonJS({
|
|
4094
|
+
"../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports, module) {
|
|
4095
|
+
"use strict";
|
|
4096
|
+
init_cjs_shims();
|
|
4097
|
+
var pathKey2 = (options = {}) => {
|
|
4098
|
+
let environment = options.env || process.env;
|
|
4099
|
+
return (options.platform || process.platform) !== "win32" ? "PATH" : Object.keys(environment).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
|
|
4100
|
+
};
|
|
4101
|
+
module.exports = pathKey2;
|
|
4102
|
+
module.exports.default = pathKey2;
|
|
4103
|
+
}
|
|
4104
|
+
});
|
|
4105
|
+
|
|
4106
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
4107
|
+
var require_resolveCommand = __commonJS({
|
|
4108
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
|
|
4109
|
+
"use strict";
|
|
4110
|
+
init_cjs_shims();
|
|
4111
|
+
var path8 = __require("path"), which3 = require_which(), getPathKey = require_path_key();
|
|
4112
|
+
function resolveCommandAttempt(parsed, withoutPathExt) {
|
|
4113
|
+
let env3 = parsed.options.env || process.env, cwd3 = process.cwd(), hasCustomCwd = parsed.options.cwd != null, shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
|
|
4114
|
+
if (shouldSwitchCwd)
|
|
4115
|
+
try {
|
|
4116
|
+
process.chdir(parsed.options.cwd);
|
|
4117
|
+
} catch {
|
|
4118
|
+
}
|
|
4119
|
+
let resolved;
|
|
4120
|
+
try {
|
|
4121
|
+
resolved = which3.sync(parsed.command, {
|
|
4122
|
+
path: env3[getPathKey({ env: env3 })],
|
|
4123
|
+
pathExt: withoutPathExt ? path8.delimiter : void 0
|
|
4124
|
+
});
|
|
4125
|
+
} catch {
|
|
4126
|
+
} finally {
|
|
4127
|
+
shouldSwitchCwd && process.chdir(cwd3);
|
|
4128
|
+
}
|
|
4129
|
+
return resolved && (resolved = path8.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved)), resolved;
|
|
4130
|
+
}
|
|
4131
|
+
function resolveCommand(parsed) {
|
|
4132
|
+
return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, !0);
|
|
4133
|
+
}
|
|
4134
|
+
module.exports = resolveCommand;
|
|
4135
|
+
}
|
|
4136
|
+
});
|
|
4137
|
+
|
|
4138
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
|
|
4139
|
+
var require_escape = __commonJS({
|
|
4140
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
|
|
4141
|
+
"use strict";
|
|
4142
|
+
init_cjs_shims();
|
|
4143
|
+
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
4144
|
+
function escapeCommand(arg) {
|
|
4145
|
+
return arg = arg.replace(metaCharsRegExp, "^$1"), arg;
|
|
4146
|
+
}
|
|
4147
|
+
function escapeArgument(arg, doubleEscapeMetaChars) {
|
|
4148
|
+
return arg = `${arg}`, arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"'), arg = arg.replace(/(?=(\\+?)?)\1$/, "$1$1"), arg = `"${arg}"`, arg = arg.replace(metaCharsRegExp, "^$1"), doubleEscapeMetaChars && (arg = arg.replace(metaCharsRegExp, "^$1")), arg;
|
|
4149
|
+
}
|
|
4150
|
+
module.exports.command = escapeCommand;
|
|
4151
|
+
module.exports.argument = escapeArgument;
|
|
4152
|
+
}
|
|
4153
|
+
});
|
|
4154
|
+
|
|
4155
|
+
// ../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
|
|
4156
|
+
var require_shebang_regex = __commonJS({
|
|
4157
|
+
"../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports, module) {
|
|
4158
|
+
"use strict";
|
|
4159
|
+
init_cjs_shims();
|
|
4160
|
+
module.exports = /^#!(.*)/;
|
|
4161
|
+
}
|
|
4162
|
+
});
|
|
4163
|
+
|
|
4164
|
+
// ../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
|
|
4165
|
+
var require_shebang_command = __commonJS({
|
|
4166
|
+
"../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports, module) {
|
|
4167
|
+
"use strict";
|
|
4168
|
+
init_cjs_shims();
|
|
4169
|
+
var shebangRegex = require_shebang_regex();
|
|
4170
|
+
module.exports = (string = "") => {
|
|
4171
|
+
let match2 = string.match(shebangRegex);
|
|
4172
|
+
if (!match2)
|
|
4173
|
+
return null;
|
|
4174
|
+
let [path8, argument] = match2[0].replace(/#! ?/, "").split(" "), binary = path8.split("/").pop();
|
|
4175
|
+
return binary === "env" ? argument : argument ? `${binary} ${argument}` : binary;
|
|
4176
|
+
};
|
|
4177
|
+
}
|
|
4178
|
+
});
|
|
4179
|
+
|
|
4180
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
|
|
4181
|
+
var require_readShebang = __commonJS({
|
|
4182
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
|
|
4183
|
+
"use strict";
|
|
4184
|
+
init_cjs_shims();
|
|
4185
|
+
var fs5 = __require("fs"), shebangCommand = require_shebang_command();
|
|
4186
|
+
function readShebang(command) {
|
|
4187
|
+
let buffer = Buffer.alloc(150), fd;
|
|
4188
|
+
try {
|
|
4189
|
+
fd = fs5.openSync(command, "r"), fs5.readSync(fd, buffer, 0, 150, 0), fs5.closeSync(fd);
|
|
4190
|
+
} catch {
|
|
4191
|
+
}
|
|
4192
|
+
return shebangCommand(buffer.toString());
|
|
4193
|
+
}
|
|
4194
|
+
module.exports = readShebang;
|
|
4195
|
+
}
|
|
4196
|
+
});
|
|
4197
|
+
|
|
4198
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
|
|
4199
|
+
var require_parse = __commonJS({
|
|
4200
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
4201
|
+
"use strict";
|
|
4202
|
+
init_cjs_shims();
|
|
4203
|
+
var path8 = __require("path"), resolveCommand = require_resolveCommand(), escape3 = require_escape(), readShebang = require_readShebang(), isWin = process.platform === "win32", isExecutableRegExp = /\.(?:com|exe)$/i, isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
4204
|
+
function detectShebang(parsed) {
|
|
4205
|
+
parsed.file = resolveCommand(parsed);
|
|
4206
|
+
let shebang = parsed.file && readShebang(parsed.file);
|
|
4207
|
+
return shebang ? (parsed.args.unshift(parsed.file), parsed.command = shebang, resolveCommand(parsed)) : parsed.file;
|
|
4208
|
+
}
|
|
4209
|
+
function parseNonShell(parsed) {
|
|
4210
|
+
if (!isWin)
|
|
4211
|
+
return parsed;
|
|
4212
|
+
let commandFile = detectShebang(parsed), needsShell = !isExecutableRegExp.test(commandFile);
|
|
4213
|
+
if (parsed.options.forceShell || needsShell) {
|
|
4214
|
+
let needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
|
|
4215
|
+
parsed.command = path8.normalize(parsed.command), parsed.command = escape3.command(parsed.command), parsed.args = parsed.args.map((arg) => escape3.argument(arg, needsDoubleEscapeMetaChars));
|
|
4216
|
+
let shellCommand = [parsed.command].concat(parsed.args).join(" ");
|
|
4217
|
+
parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`], parsed.command = process.env.comspec || "cmd.exe", parsed.options.windowsVerbatimArguments = !0;
|
|
4218
|
+
}
|
|
4219
|
+
return parsed;
|
|
4220
|
+
}
|
|
4221
|
+
function parse(command, args, options) {
|
|
4222
|
+
args && !Array.isArray(args) && (options = args, args = null), args = args ? args.slice(0) : [], options = Object.assign({}, options);
|
|
4223
|
+
let parsed = {
|
|
4224
|
+
command,
|
|
4225
|
+
args,
|
|
4226
|
+
options,
|
|
4227
|
+
file: void 0,
|
|
4228
|
+
original: {
|
|
4229
|
+
command,
|
|
4230
|
+
args
|
|
4231
|
+
}
|
|
4232
|
+
};
|
|
4233
|
+
return options.shell ? parsed : parseNonShell(parsed);
|
|
4234
|
+
}
|
|
4235
|
+
module.exports = parse;
|
|
4236
|
+
}
|
|
4237
|
+
});
|
|
4238
|
+
|
|
4239
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
|
|
4240
|
+
var require_enoent = __commonJS({
|
|
4241
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(exports, module) {
|
|
4242
|
+
"use strict";
|
|
4243
|
+
init_cjs_shims();
|
|
4244
|
+
var isWin = process.platform === "win32";
|
|
4245
|
+
function notFoundError(original, syscall) {
|
|
4246
|
+
return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {
|
|
4247
|
+
code: "ENOENT",
|
|
4248
|
+
errno: "ENOENT",
|
|
4249
|
+
syscall: `${syscall} ${original.command}`,
|
|
4250
|
+
path: original.command,
|
|
4251
|
+
spawnargs: original.args
|
|
4252
|
+
});
|
|
4253
|
+
}
|
|
4254
|
+
function hookChildProcess(cp, parsed) {
|
|
4255
|
+
if (!isWin)
|
|
4256
|
+
return;
|
|
4257
|
+
let originalEmit = cp.emit;
|
|
4258
|
+
cp.emit = function(name, arg1) {
|
|
4259
|
+
if (name === "exit") {
|
|
4260
|
+
let err = verifyENOENT(arg1, parsed);
|
|
4261
|
+
if (err)
|
|
4262
|
+
return originalEmit.call(cp, "error", err);
|
|
4263
|
+
}
|
|
4264
|
+
return originalEmit.apply(cp, arguments);
|
|
4265
|
+
};
|
|
4266
|
+
}
|
|
4267
|
+
function verifyENOENT(status, parsed) {
|
|
4268
|
+
return isWin && status === 1 && !parsed.file ? notFoundError(parsed.original, "spawn") : null;
|
|
4269
|
+
}
|
|
4270
|
+
function verifyENOENTSync(status, parsed) {
|
|
4271
|
+
return isWin && status === 1 && !parsed.file ? notFoundError(parsed.original, "spawnSync") : null;
|
|
4272
|
+
}
|
|
4273
|
+
module.exports = {
|
|
4274
|
+
hookChildProcess,
|
|
4275
|
+
verifyENOENT,
|
|
4276
|
+
verifyENOENTSync,
|
|
4277
|
+
notFoundError
|
|
4278
|
+
};
|
|
4279
|
+
}
|
|
4280
|
+
});
|
|
4281
|
+
|
|
4282
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
|
|
4283
|
+
var require_cross_spawn = __commonJS({
|
|
4284
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports, module) {
|
|
4285
|
+
"use strict";
|
|
4286
|
+
init_cjs_shims();
|
|
4287
|
+
var cp = __require("child_process"), parse = require_parse(), enoent = require_enoent();
|
|
4288
|
+
function spawn2(command, args, options) {
|
|
4289
|
+
let parsed = parse(command, args, options), spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
|
|
4290
|
+
return enoent.hookChildProcess(spawned, parsed), spawned;
|
|
4291
|
+
}
|
|
4292
|
+
function spawnSync(command, args, options) {
|
|
4293
|
+
let parsed = parse(command, args, options), result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
|
|
4294
|
+
return result.error = result.error || enoent.verifyENOENTSync(result.status, parsed), result;
|
|
4295
|
+
}
|
|
4296
|
+
module.exports = spawn2;
|
|
4297
|
+
module.exports.spawn = spawn2;
|
|
4298
|
+
module.exports.sync = spawnSync;
|
|
4299
|
+
module.exports._parse = parse;
|
|
4300
|
+
module.exports._enoent = enoent;
|
|
4301
|
+
}
|
|
4302
|
+
});
|
|
4303
|
+
|
|
3935
4304
|
// ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js
|
|
3936
4305
|
var require_signals = __commonJS({
|
|
3937
4306
|
"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js"(exports, module) {
|
|
@@ -4460,6 +4829,138 @@ var require_macaddress = __commonJS({
|
|
|
4460
4829
|
}
|
|
4461
4830
|
});
|
|
4462
4831
|
|
|
4832
|
+
// ../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
|
|
4833
|
+
var require_supports_color = __commonJS({
|
|
4834
|
+
"../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports, module) {
|
|
4835
|
+
"use strict";
|
|
4836
|
+
init_cjs_shims();
|
|
4837
|
+
var os5 = __require("os"), tty2 = __require("tty"), hasFlag2 = require_has_flag(), { env: env3 } = process, forceColor;
|
|
4838
|
+
hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never") ? forceColor = 0 : (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) && (forceColor = 1);
|
|
4839
|
+
"FORCE_COLOR" in env3 && (env3.FORCE_COLOR === "true" ? forceColor = 1 : env3.FORCE_COLOR === "false" ? forceColor = 0 : forceColor = env3.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env3.FORCE_COLOR, 10), 3));
|
|
4840
|
+
function translateLevel2(level) {
|
|
4841
|
+
return level === 0 ? !1 : {
|
|
4842
|
+
level,
|
|
4843
|
+
hasBasic: !0,
|
|
4844
|
+
has256: level >= 2,
|
|
4845
|
+
has16m: level >= 3
|
|
4846
|
+
};
|
|
4847
|
+
}
|
|
4848
|
+
function supportsColor3(haveStream, streamIsTTY) {
|
|
4849
|
+
if (forceColor === 0)
|
|
4850
|
+
return 0;
|
|
4851
|
+
if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor"))
|
|
4852
|
+
return 3;
|
|
4853
|
+
if (hasFlag2("color=256"))
|
|
4854
|
+
return 2;
|
|
4855
|
+
if (haveStream && !streamIsTTY && forceColor === void 0)
|
|
4856
|
+
return 0;
|
|
4857
|
+
let min = forceColor || 0;
|
|
4858
|
+
if (env3.TERM === "dumb")
|
|
4859
|
+
return min;
|
|
4860
|
+
if (process.platform === "win32") {
|
|
4861
|
+
let osRelease = os5.release().split(".");
|
|
4862
|
+
return Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ? Number(osRelease[2]) >= 14931 ? 3 : 2 : 1;
|
|
4863
|
+
}
|
|
4864
|
+
if ("CI" in env3)
|
|
4865
|
+
return ["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env3) || env3.CI_NAME === "codeship" ? 1 : min;
|
|
4866
|
+
if ("TEAMCITY_VERSION" in env3)
|
|
4867
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env3.TEAMCITY_VERSION) ? 1 : 0;
|
|
4868
|
+
if (env3.COLORTERM === "truecolor")
|
|
4869
|
+
return 3;
|
|
4870
|
+
if ("TERM_PROGRAM" in env3) {
|
|
4871
|
+
let version = parseInt((env3.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
4872
|
+
switch (env3.TERM_PROGRAM) {
|
|
4873
|
+
case "iTerm.app":
|
|
4874
|
+
return version >= 3 ? 3 : 2;
|
|
4875
|
+
case "Apple_Terminal":
|
|
4876
|
+
return 2;
|
|
4877
|
+
}
|
|
4878
|
+
}
|
|
4879
|
+
return /-256(color)?$/i.test(env3.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env3.TERM) || "COLORTERM" in env3 ? 1 : min;
|
|
4880
|
+
}
|
|
4881
|
+
function getSupportLevel(stream2) {
|
|
4882
|
+
let level = supportsColor3(stream2, stream2 && stream2.isTTY);
|
|
4883
|
+
return translateLevel2(level);
|
|
4884
|
+
}
|
|
4885
|
+
module.exports = {
|
|
4886
|
+
supportsColor: getSupportLevel,
|
|
4887
|
+
stdout: translateLevel2(supportsColor3(!0, tty2.isatty(1))),
|
|
4888
|
+
stderr: translateLevel2(supportsColor3(!0, tty2.isatty(2)))
|
|
4889
|
+
};
|
|
4890
|
+
}
|
|
4891
|
+
});
|
|
4892
|
+
|
|
4893
|
+
// ../../node_modules/.pnpm/supports-hyperlinks@3.1.0/node_modules/supports-hyperlinks/index.js
|
|
4894
|
+
var require_supports_hyperlinks = __commonJS({
|
|
4895
|
+
"../../node_modules/.pnpm/supports-hyperlinks@3.1.0/node_modules/supports-hyperlinks/index.js"(exports, module) {
|
|
4896
|
+
"use strict";
|
|
4897
|
+
init_cjs_shims();
|
|
4898
|
+
var supportsColor3 = require_supports_color(), hasFlag2 = require_has_flag();
|
|
4899
|
+
function parseVersion(versionString) {
|
|
4900
|
+
if (/^\d{3,4}$/.test(versionString)) {
|
|
4901
|
+
let m = /(\d{1,2})(\d{2})/.exec(versionString) || [];
|
|
4902
|
+
return {
|
|
4903
|
+
major: 0,
|
|
4904
|
+
minor: parseInt(m[1], 10),
|
|
4905
|
+
patch: parseInt(m[2], 10)
|
|
4906
|
+
};
|
|
4907
|
+
}
|
|
4908
|
+
let versions = (versionString || "").split(".").map((n) => parseInt(n, 10));
|
|
4909
|
+
return {
|
|
4910
|
+
major: versions[0],
|
|
4911
|
+
minor: versions[1],
|
|
4912
|
+
patch: versions[2]
|
|
4913
|
+
};
|
|
4914
|
+
}
|
|
4915
|
+
function supportsHyperlink(stream2) {
|
|
4916
|
+
let {
|
|
4917
|
+
CI,
|
|
4918
|
+
FORCE_HYPERLINK,
|
|
4919
|
+
NETLIFY,
|
|
4920
|
+
TEAMCITY_VERSION,
|
|
4921
|
+
TERM_PROGRAM,
|
|
4922
|
+
TERM_PROGRAM_VERSION,
|
|
4923
|
+
VTE_VERSION
|
|
4924
|
+
} = process.env;
|
|
4925
|
+
if (FORCE_HYPERLINK)
|
|
4926
|
+
return !(FORCE_HYPERLINK.length > 0 && parseInt(FORCE_HYPERLINK, 10) === 0);
|
|
4927
|
+
if (hasFlag2("no-hyperlink") || hasFlag2("no-hyperlinks") || hasFlag2("hyperlink=false") || hasFlag2("hyperlink=never"))
|
|
4928
|
+
return !1;
|
|
4929
|
+
if (hasFlag2("hyperlink=true") || hasFlag2("hyperlink=always") || NETLIFY)
|
|
4930
|
+
return !0;
|
|
4931
|
+
if (!supportsColor3.supportsColor(stream2) || stream2 && !stream2.isTTY)
|
|
4932
|
+
return !1;
|
|
4933
|
+
if ("WT_SESSION" in process.env)
|
|
4934
|
+
return !0;
|
|
4935
|
+
if (process.platform === "win32" || CI || TEAMCITY_VERSION)
|
|
4936
|
+
return !1;
|
|
4937
|
+
if (TERM_PROGRAM) {
|
|
4938
|
+
let version = parseVersion(TERM_PROGRAM_VERSION || "");
|
|
4939
|
+
switch (TERM_PROGRAM) {
|
|
4940
|
+
case "iTerm.app":
|
|
4941
|
+
return version.major === 3 ? version.minor >= 1 : version.major > 3;
|
|
4942
|
+
case "WezTerm":
|
|
4943
|
+
return version.major >= 20200620;
|
|
4944
|
+
case "vscode":
|
|
4945
|
+
return version.major > 1 || version.major === 1 && version.minor >= 72;
|
|
4946
|
+
}
|
|
4947
|
+
}
|
|
4948
|
+
if (VTE_VERSION) {
|
|
4949
|
+
if (VTE_VERSION === "0.50.0")
|
|
4950
|
+
return !1;
|
|
4951
|
+
let version = parseVersion(VTE_VERSION);
|
|
4952
|
+
return version.major > 0 || version.minor >= 50;
|
|
4953
|
+
}
|
|
4954
|
+
return !1;
|
|
4955
|
+
}
|
|
4956
|
+
module.exports = {
|
|
4957
|
+
supportsHyperlink,
|
|
4958
|
+
stdout: supportsHyperlink(process.stdout),
|
|
4959
|
+
stderr: supportsHyperlink(process.stderr)
|
|
4960
|
+
};
|
|
4961
|
+
}
|
|
4962
|
+
});
|
|
4963
|
+
|
|
4463
4964
|
// ../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js
|
|
4464
4965
|
var require_react_production_min = __commonJS({
|
|
4465
4966
|
"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js"(exports) {
|
|
@@ -6091,7 +6592,7 @@ var require_throttle = __commonJS({
|
|
|
6091
6592
|
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/throttle.js"(exports, module) {
|
|
6092
6593
|
init_cjs_shims();
|
|
6093
6594
|
var debounce2 = require_debounce(), isObject = require_isObject(), FUNC_ERROR_TEXT = "Expected a function";
|
|
6094
|
-
function
|
|
6595
|
+
function throttle3(func, wait, options) {
|
|
6095
6596
|
var leading = !0, trailing = !0;
|
|
6096
6597
|
if (typeof func != "function")
|
|
6097
6598
|
throw new TypeError(FUNC_ERROR_TEXT);
|
|
@@ -6101,7 +6602,7 @@ var require_throttle = __commonJS({
|
|
|
6101
6602
|
trailing
|
|
6102
6603
|
});
|
|
6103
6604
|
}
|
|
6104
|
-
module.exports =
|
|
6605
|
+
module.exports = throttle3;
|
|
6105
6606
|
}
|
|
6106
6607
|
});
|
|
6107
6608
|
|
|
@@ -21228,6 +21729,248 @@ var require_sortBy = __commonJS({
|
|
|
21228
21729
|
}
|
|
21229
21730
|
});
|
|
21230
21731
|
|
|
21732
|
+
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js
|
|
21733
|
+
var require_util2 = __commonJS({
|
|
21734
|
+
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js"(exports, module) {
|
|
21735
|
+
"use strict";
|
|
21736
|
+
init_cjs_shims();
|
|
21737
|
+
var stringReplaceAll2 = (string, substring, replacer) => {
|
|
21738
|
+
let index = string.indexOf(substring);
|
|
21739
|
+
if (index === -1)
|
|
21740
|
+
return string;
|
|
21741
|
+
let substringLength = substring.length, endIndex = 0, returnValue = "";
|
|
21742
|
+
do
|
|
21743
|
+
returnValue += string.substr(endIndex, index - endIndex) + substring + replacer, endIndex = index + substringLength, index = string.indexOf(substring, endIndex);
|
|
21744
|
+
while (index !== -1);
|
|
21745
|
+
return returnValue += string.substr(endIndex), returnValue;
|
|
21746
|
+
}, stringEncaseCRLFWithFirstIndex2 = (string, prefix, postfix, index) => {
|
|
21747
|
+
let endIndex = 0, returnValue = "";
|
|
21748
|
+
do {
|
|
21749
|
+
let gotCR = string[index - 1] === "\r";
|
|
21750
|
+
returnValue += string.substr(endIndex, (gotCR ? index - 1 : index) - endIndex) + prefix + (gotCR ? `\r
|
|
21751
|
+
` : `
|
|
21752
|
+
`) + postfix, endIndex = index + 1, index = string.indexOf(`
|
|
21753
|
+
`, endIndex);
|
|
21754
|
+
} while (index !== -1);
|
|
21755
|
+
return returnValue += string.substr(endIndex), returnValue;
|
|
21756
|
+
};
|
|
21757
|
+
module.exports = {
|
|
21758
|
+
stringReplaceAll: stringReplaceAll2,
|
|
21759
|
+
stringEncaseCRLFWithFirstIndex: stringEncaseCRLFWithFirstIndex2
|
|
21760
|
+
};
|
|
21761
|
+
}
|
|
21762
|
+
});
|
|
21763
|
+
|
|
21764
|
+
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js
|
|
21765
|
+
var require_templates = __commonJS({
|
|
21766
|
+
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js"(exports, module) {
|
|
21767
|
+
"use strict";
|
|
21768
|
+
init_cjs_shims();
|
|
21769
|
+
var TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi, STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g, STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/, ESCAPE_REGEX = /\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi, ESCAPES5 = /* @__PURE__ */ new Map([
|
|
21770
|
+
["n", `
|
|
21771
|
+
`],
|
|
21772
|
+
["r", "\r"],
|
|
21773
|
+
["t", " "],
|
|
21774
|
+
["b", "\b"],
|
|
21775
|
+
["f", "\f"],
|
|
21776
|
+
["v", "\v"],
|
|
21777
|
+
["0", "\0"],
|
|
21778
|
+
["\\", "\\"],
|
|
21779
|
+
["e", "\x1B"],
|
|
21780
|
+
["a", "\x07"]
|
|
21781
|
+
]);
|
|
21782
|
+
function unescape3(c) {
|
|
21783
|
+
let u = c[0] === "u", bracket = c[1] === "{";
|
|
21784
|
+
return u && !bracket && c.length === 5 || c[0] === "x" && c.length === 3 ? String.fromCharCode(parseInt(c.slice(1), 16)) : u && bracket ? String.fromCodePoint(parseInt(c.slice(2, -1), 16)) : ESCAPES5.get(c) || c;
|
|
21785
|
+
}
|
|
21786
|
+
function parseArguments(name, arguments_) {
|
|
21787
|
+
let results = [], chunks = arguments_.trim().split(/\s*,\s*/g), matches;
|
|
21788
|
+
for (let chunk of chunks) {
|
|
21789
|
+
let number = Number(chunk);
|
|
21790
|
+
if (!Number.isNaN(number))
|
|
21791
|
+
results.push(number);
|
|
21792
|
+
else if (matches = chunk.match(STRING_REGEX))
|
|
21793
|
+
results.push(matches[2].replace(ESCAPE_REGEX, (m, escape3, character) => escape3 ? unescape3(escape3) : character));
|
|
21794
|
+
else
|
|
21795
|
+
throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);
|
|
21796
|
+
}
|
|
21797
|
+
return results;
|
|
21798
|
+
}
|
|
21799
|
+
function parseStyle(style) {
|
|
21800
|
+
STYLE_REGEX.lastIndex = 0;
|
|
21801
|
+
let results = [], matches;
|
|
21802
|
+
for (; (matches = STYLE_REGEX.exec(style)) !== null; ) {
|
|
21803
|
+
let name = matches[1];
|
|
21804
|
+
if (matches[2]) {
|
|
21805
|
+
let args = parseArguments(name, matches[2]);
|
|
21806
|
+
results.push([name].concat(args));
|
|
21807
|
+
} else
|
|
21808
|
+
results.push([name]);
|
|
21809
|
+
}
|
|
21810
|
+
return results;
|
|
21811
|
+
}
|
|
21812
|
+
function buildStyle(chalk2, styles5) {
|
|
21813
|
+
let enabled = {};
|
|
21814
|
+
for (let layer of styles5)
|
|
21815
|
+
for (let style of layer.styles)
|
|
21816
|
+
enabled[style[0]] = layer.inverse ? null : style.slice(1);
|
|
21817
|
+
let current = chalk2;
|
|
21818
|
+
for (let [styleName, styles6] of Object.entries(enabled))
|
|
21819
|
+
if (Array.isArray(styles6)) {
|
|
21820
|
+
if (!(styleName in current))
|
|
21821
|
+
throw new Error(`Unknown Chalk style: ${styleName}`);
|
|
21822
|
+
current = styles6.length > 0 ? current[styleName](...styles6) : current[styleName];
|
|
21823
|
+
}
|
|
21824
|
+
return current;
|
|
21825
|
+
}
|
|
21826
|
+
module.exports = (chalk2, temporary) => {
|
|
21827
|
+
let styles5 = [], chunks = [], chunk = [];
|
|
21828
|
+
if (temporary.replace(TEMPLATE_REGEX, (m, escapeCharacter, inverse, style, close, character) => {
|
|
21829
|
+
if (escapeCharacter)
|
|
21830
|
+
chunk.push(unescape3(escapeCharacter));
|
|
21831
|
+
else if (style) {
|
|
21832
|
+
let string = chunk.join("");
|
|
21833
|
+
chunk = [], chunks.push(styles5.length === 0 ? string : buildStyle(chalk2, styles5)(string)), styles5.push({ inverse, styles: parseStyle(style) });
|
|
21834
|
+
} else if (close) {
|
|
21835
|
+
if (styles5.length === 0)
|
|
21836
|
+
throw new Error("Found extraneous } in Chalk template literal");
|
|
21837
|
+
chunks.push(buildStyle(chalk2, styles5)(chunk.join(""))), chunk = [], styles5.pop();
|
|
21838
|
+
} else
|
|
21839
|
+
chunk.push(character);
|
|
21840
|
+
}), chunks.push(chunk.join("")), styles5.length > 0) {
|
|
21841
|
+
let errMessage = `Chalk template literal is missing ${styles5.length} closing bracket${styles5.length === 1 ? "" : "s"} (\`}\`)`;
|
|
21842
|
+
throw new Error(errMessage);
|
|
21843
|
+
}
|
|
21844
|
+
return chunks.join("");
|
|
21845
|
+
};
|
|
21846
|
+
}
|
|
21847
|
+
});
|
|
21848
|
+
|
|
21849
|
+
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js
|
|
21850
|
+
var require_source = __commonJS({
|
|
21851
|
+
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"(exports, module) {
|
|
21852
|
+
"use strict";
|
|
21853
|
+
init_cjs_shims();
|
|
21854
|
+
var ansiStyles3 = require_ansi_styles(), { stdout: stdoutColor2, stderr: stderrColor2 } = require_supports_color(), {
|
|
21855
|
+
stringReplaceAll: stringReplaceAll2,
|
|
21856
|
+
stringEncaseCRLFWithFirstIndex: stringEncaseCRLFWithFirstIndex2
|
|
21857
|
+
} = require_util2(), { isArray } = Array, levelMapping2 = [
|
|
21858
|
+
"ansi",
|
|
21859
|
+
"ansi",
|
|
21860
|
+
"ansi256",
|
|
21861
|
+
"ansi16m"
|
|
21862
|
+
], styles5 = /* @__PURE__ */ Object.create(null), applyOptions2 = (object, options = {}) => {
|
|
21863
|
+
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3))
|
|
21864
|
+
throw new Error("The `level` option should be an integer from 0 to 3");
|
|
21865
|
+
let colorLevel = stdoutColor2 ? stdoutColor2.level : 0;
|
|
21866
|
+
object.level = options.level === void 0 ? colorLevel : options.level;
|
|
21867
|
+
}, ChalkClass = class {
|
|
21868
|
+
constructor(options) {
|
|
21869
|
+
return chalkFactory2(options);
|
|
21870
|
+
}
|
|
21871
|
+
}, chalkFactory2 = (options) => {
|
|
21872
|
+
let chalk3 = {};
|
|
21873
|
+
return applyOptions2(chalk3, options), chalk3.template = (...arguments_) => chalkTag(chalk3.template, ...arguments_), Object.setPrototypeOf(chalk3, Chalk.prototype), Object.setPrototypeOf(chalk3.template, chalk3), chalk3.template.constructor = () => {
|
|
21874
|
+
throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.");
|
|
21875
|
+
}, chalk3.template.Instance = ChalkClass, chalk3.template;
|
|
21876
|
+
};
|
|
21877
|
+
function Chalk(options) {
|
|
21878
|
+
return chalkFactory2(options);
|
|
21879
|
+
}
|
|
21880
|
+
for (let [styleName, style] of Object.entries(ansiStyles3))
|
|
21881
|
+
styles5[styleName] = {
|
|
21882
|
+
get() {
|
|
21883
|
+
let builder = createBuilder2(this, createStyler2(style.open, style.close, this._styler), this._isEmpty);
|
|
21884
|
+
return Object.defineProperty(this, styleName, { value: builder }), builder;
|
|
21885
|
+
}
|
|
21886
|
+
};
|
|
21887
|
+
styles5.visible = {
|
|
21888
|
+
get() {
|
|
21889
|
+
let builder = createBuilder2(this, this._styler, !0);
|
|
21890
|
+
return Object.defineProperty(this, "visible", { value: builder }), builder;
|
|
21891
|
+
}
|
|
21892
|
+
};
|
|
21893
|
+
var usedModels2 = ["rgb", "hex", "keyword", "hsl", "hsv", "hwb", "ansi", "ansi256"];
|
|
21894
|
+
for (let model of usedModels2)
|
|
21895
|
+
styles5[model] = {
|
|
21896
|
+
get() {
|
|
21897
|
+
let { level } = this;
|
|
21898
|
+
return function(...arguments_) {
|
|
21899
|
+
let styler = createStyler2(ansiStyles3.color[levelMapping2[level]][model](...arguments_), ansiStyles3.color.close, this._styler);
|
|
21900
|
+
return createBuilder2(this, styler, this._isEmpty);
|
|
21901
|
+
};
|
|
21902
|
+
}
|
|
21903
|
+
};
|
|
21904
|
+
for (let model of usedModels2) {
|
|
21905
|
+
let bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
|
|
21906
|
+
styles5[bgModel] = {
|
|
21907
|
+
get() {
|
|
21908
|
+
let { level } = this;
|
|
21909
|
+
return function(...arguments_) {
|
|
21910
|
+
let styler = createStyler2(ansiStyles3.bgColor[levelMapping2[level]][model](...arguments_), ansiStyles3.bgColor.close, this._styler);
|
|
21911
|
+
return createBuilder2(this, styler, this._isEmpty);
|
|
21912
|
+
};
|
|
21913
|
+
}
|
|
21914
|
+
};
|
|
21915
|
+
}
|
|
21916
|
+
var proto2 = Object.defineProperties(() => {
|
|
21917
|
+
}, {
|
|
21918
|
+
...styles5,
|
|
21919
|
+
level: {
|
|
21920
|
+
enumerable: !0,
|
|
21921
|
+
get() {
|
|
21922
|
+
return this._generator.level;
|
|
21923
|
+
},
|
|
21924
|
+
set(level) {
|
|
21925
|
+
this._generator.level = level;
|
|
21926
|
+
}
|
|
21927
|
+
}
|
|
21928
|
+
}), createStyler2 = (open, close, parent) => {
|
|
21929
|
+
let openAll, closeAll;
|
|
21930
|
+
return parent === void 0 ? (openAll = open, closeAll = close) : (openAll = parent.openAll + open, closeAll = close + parent.closeAll), {
|
|
21931
|
+
open,
|
|
21932
|
+
close,
|
|
21933
|
+
openAll,
|
|
21934
|
+
closeAll,
|
|
21935
|
+
parent
|
|
21936
|
+
};
|
|
21937
|
+
}, createBuilder2 = (self2, _styler, _isEmpty) => {
|
|
21938
|
+
let builder = (...arguments_) => isArray(arguments_[0]) && isArray(arguments_[0].raw) ? applyStyle2(builder, chalkTag(builder, ...arguments_)) : applyStyle2(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
|
|
21939
|
+
return Object.setPrototypeOf(builder, proto2), builder._generator = self2, builder._styler = _styler, builder._isEmpty = _isEmpty, builder;
|
|
21940
|
+
}, applyStyle2 = (self2, string) => {
|
|
21941
|
+
if (self2.level <= 0 || !string)
|
|
21942
|
+
return self2._isEmpty ? "" : string;
|
|
21943
|
+
let styler = self2._styler;
|
|
21944
|
+
if (styler === void 0)
|
|
21945
|
+
return string;
|
|
21946
|
+
let { openAll, closeAll } = styler;
|
|
21947
|
+
if (string.indexOf("\x1B") !== -1)
|
|
21948
|
+
for (; styler !== void 0; )
|
|
21949
|
+
string = stringReplaceAll2(string, styler.close, styler.open), styler = styler.parent;
|
|
21950
|
+
let lfIndex = string.indexOf(`
|
|
21951
|
+
`);
|
|
21952
|
+
return lfIndex !== -1 && (string = stringEncaseCRLFWithFirstIndex2(string, closeAll, openAll, lfIndex)), openAll + string + closeAll;
|
|
21953
|
+
}, template, chalkTag = (chalk3, ...strings) => {
|
|
21954
|
+
let [firstString] = strings;
|
|
21955
|
+
if (!isArray(firstString) || !isArray(firstString.raw))
|
|
21956
|
+
return strings.join(" ");
|
|
21957
|
+
let arguments_ = strings.slice(1), parts = [firstString.raw[0]];
|
|
21958
|
+
for (let i = 1; i < firstString.length; i++)
|
|
21959
|
+
parts.push(
|
|
21960
|
+
String(arguments_[i - 1]).replace(/[{}\\]/g, "\\$&"),
|
|
21961
|
+
String(firstString.raw[i])
|
|
21962
|
+
);
|
|
21963
|
+
return template === void 0 && (template = require_templates()), template(chalk3, parts.join(""));
|
|
21964
|
+
};
|
|
21965
|
+
Object.defineProperties(Chalk.prototype, styles5);
|
|
21966
|
+
var chalk2 = Chalk();
|
|
21967
|
+
chalk2.supportsColor = stdoutColor2;
|
|
21968
|
+
chalk2.stderr = Chalk({ level: stderrColor2 ? stderrColor2.level : 0 });
|
|
21969
|
+
chalk2.stderr.supportsColor = stderrColor2;
|
|
21970
|
+
module.exports = chalk2;
|
|
21971
|
+
}
|
|
21972
|
+
});
|
|
21973
|
+
|
|
21231
21974
|
// ../../node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/cjs/tinycolor.js
|
|
21232
21975
|
var require_tinycolor = __commonJS({
|
|
21233
21976
|
"../../node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/cjs/tinycolor.js"(exports, module) {
|
|
@@ -23710,7 +24453,7 @@ function removeFileSync(path8) {
|
|
|
23710
24453
|
outputDebug(outputContent`Sync-removing file at ${outputToken.path(path8)}...`), removeSync(path8);
|
|
23711
24454
|
}
|
|
23712
24455
|
async function rmdir(path8, options = {}) {
|
|
23713
|
-
let { default: del } = await import("./del-
|
|
24456
|
+
let { default: del } = await import("./del-SAZHGAZZ.js");
|
|
23714
24457
|
outputDebug(outputContent`Removing directory at ${outputToken.path(path8)}...`), await del(path8, { force: options.force });
|
|
23715
24458
|
}
|
|
23716
24459
|
async function isDirectory(path8) {
|
|
@@ -29550,7 +30293,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
29550
30293
|
try {
|
|
29551
30294
|
await getAndSet();
|
|
29552
30295
|
} catch (error) {
|
|
29553
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
30296
|
+
let { sendErrorToBugsnag } = await import("./error-handler-HQBVO3GI.js");
|
|
29554
30297
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
29555
30298
|
}
|
|
29556
30299
|
}, durationStack = [];
|
|
@@ -30862,9 +31605,14 @@ function truncated(text, maxWidth) {
|
|
|
30862
31605
|
}
|
|
30863
31606
|
var TextAnimation = (0, import_react50.memo)(({ text, maxWidth }) => {
|
|
30864
31607
|
let frame = (0, import_react50.useRef)(0), [renderedFrame, setRenderedFrame] = (0, import_react50.useState)(text), timeout = (0, import_react50.useRef)(), { stdout } = use_stdout_default(), [width, setWidth] = (0, import_react50.useState)(maxWidth ?? Math.floor(stdout.columns * 0.66));
|
|
30865
|
-
|
|
30866
|
-
|
|
30867
|
-
|
|
31608
|
+
(0, import_react50.useLayoutEffect)(() => {
|
|
31609
|
+
let handleResize = () => {
|
|
31610
|
+
setWidth(Math.floor(stdout.columns * 0.66));
|
|
31611
|
+
};
|
|
31612
|
+
return stdout.on("resize", handleResize), () => {
|
|
31613
|
+
stdout.off("resize", handleResize);
|
|
31614
|
+
};
|
|
31615
|
+
}, [stdout]);
|
|
30868
31616
|
let renderAnimation = (0, import_react50.useCallback)(() => {
|
|
30869
31617
|
let newFrame = frame.current + 1;
|
|
30870
31618
|
frame.current = newFrame, setRenderedFrame(rainbow(truncated(rotated(text, frame.current), width), frame.current)), timeout.current = setTimeout(() => {
|
|
@@ -31039,10 +31787,13 @@ init_cjs_shims();
|
|
|
31039
31787
|
|
|
31040
31788
|
// ../cli-kit/dist/public/common/function.js
|
|
31041
31789
|
init_cjs_shims();
|
|
31042
|
-
var import_memoize = __toESM(require_memoize(), 1), import_debounce = __toESM(require_debounce(), 1);
|
|
31790
|
+
var import_memoize = __toESM(require_memoize(), 1), import_debounce = __toESM(require_debounce(), 1), import_throttle2 = __toESM(require_throttle(), 1);
|
|
31043
31791
|
function debounce(func, wait, options) {
|
|
31044
31792
|
return (0, import_debounce.default)(func, wait, options);
|
|
31045
31793
|
}
|
|
31794
|
+
function throttle2(func, wait, options) {
|
|
31795
|
+
return (0, import_throttle2.default)(func, wait, options);
|
|
31796
|
+
}
|
|
31046
31797
|
|
|
31047
31798
|
// ../cli-kit/dist/private/node/ui/components/AutocompletePrompt.js
|
|
31048
31799
|
var import_react54 = __toESM(require_react(), 1);
|
|
@@ -31058,17 +31809,21 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
|
|
|
31058
31809
|
}, [answer, onSubmit, promptState, unmountInk]);
|
|
31059
31810
|
let setLoadingWhenSlow = (0, import_react54.useRef)(), searchTermRef = (0, import_react54.useRef)("");
|
|
31060
31811
|
searchTermRef.current = searchTerm;
|
|
31061
|
-
let
|
|
31812
|
+
let choicesRef = (0, import_react54.useRef)(choices);
|
|
31813
|
+
choicesRef.current = choices;
|
|
31814
|
+
let initialHasPagesRef = (0, import_react54.useRef)(initialHasMorePages);
|
|
31815
|
+
initialHasPagesRef.current = initialHasMorePages;
|
|
31816
|
+
let debounceSearch = import_react54.default.useMemo(() => throttle2((term) => {
|
|
31062
31817
|
setLoadingWhenSlow.current = setTimeout(() => {
|
|
31063
31818
|
setPromptState(PromptState.Loading);
|
|
31064
31819
|
}, 100), paginatedSearch(term).then((result) => {
|
|
31065
|
-
searchTermRef.current.length === 0 ? (setSearchResults(
|
|
31820
|
+
searchTermRef.current.length === 0 ? (setSearchResults(choicesRef.current), setHasMorePages(initialHasPagesRef.current)) : (setSearchResults(result.data), setHasMorePages(result.meta?.hasNextPage ?? !1)), setPromptState(PromptState.Idle);
|
|
31066
31821
|
}).catch(() => {
|
|
31067
31822
|
setPromptState(PromptState.Error);
|
|
31068
31823
|
}).finally(() => {
|
|
31069
31824
|
clearTimeout(setLoadingWhenSlow.current);
|
|
31070
31825
|
});
|
|
31071
|
-
},
|
|
31826
|
+
}, 400, { leading: !0, trailing: !0 }), [paginatedSearch, setPromptState]);
|
|
31072
31827
|
return import_react54.default.createElement(PromptLayout, { message, state: promptState, infoTable, infoMessage, abortSignal, header: promptState !== PromptState.Submitted && canSearch ? import_react54.default.createElement(
|
|
31073
31828
|
Box_default,
|
|
31074
31829
|
{ marginLeft: 3 },
|
|
@@ -31552,4 +32307,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
31552
32307
|
* LICENSE file in the root directory of this source tree.
|
|
31553
32308
|
*)
|
|
31554
32309
|
*/
|
|
31555
|
-
//# sourceMappingURL=chunk-
|
|
32310
|
+
//# sourceMappingURL=chunk-KPFBSWRK.js.map
|