@settlemint/sdk-cli 0.6.47 → 0.6.48-main3d53c4d
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/cli.js +262 -33
- package/dist/cli.js.map +6 -4
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -194385,7 +194385,7 @@ function githubAnnotation(e9, t7, r6) {
|
|
|
194385
194385
|
}
|
|
194386
194386
|
}
|
|
194387
194387
|
function initTTY(e9 = {}) {
|
|
194388
|
-
var t7 = process.env.TERM !== "dumb" &&
|
|
194388
|
+
var t7 = process.env.TERM !== "dumb" && false;
|
|
194389
194389
|
var r6 = null;
|
|
194390
194390
|
var i6 = process.stdout;
|
|
194391
194391
|
if (Me) {
|
|
@@ -194397,7 +194397,7 @@ function initTTY(e9 = {}) {
|
|
|
194397
194397
|
t7 = i6.isTTY;
|
|
194398
194398
|
}
|
|
194399
194399
|
var n6 = process.argv.includes("--color");
|
|
194400
|
-
var a5 = "FORCE_COLOR" in process.env || !process.env.NO_COLOR &&
|
|
194400
|
+
var a5 = "FORCE_COLOR" in process.env || !process.env.NO_COLOR && false;
|
|
194401
194401
|
_setColor(t7 && a5 || n6 || Me);
|
|
194402
194402
|
var s7 = pipe(function fromReadStream(e10) {
|
|
194403
194403
|
return make2((t8) => {
|
|
@@ -196164,7 +196164,7 @@ Could not find "${i7}"`);
|
|
|
196164
196164
|
cwd: t7
|
|
196165
196165
|
});
|
|
196166
196166
|
}(function getPkgManager() {
|
|
196167
|
-
var e10 =
|
|
196167
|
+
var e10 = "bun/1.1.39 npm/? node/v22.6.0 linux x64";
|
|
196168
196168
|
if (e10.startsWith("yarn")) {
|
|
196169
196169
|
return "yarn";
|
|
196170
196170
|
}
|
|
@@ -196287,7 +196287,7 @@ var import_graphql4, import_typescript5, __dirname = "/home/runner/work/sdk/sdk/
|
|
|
196287
196287
|
t7 = e9[r6](t7);
|
|
196288
196288
|
}
|
|
196289
196289
|
return t7;
|
|
196290
|
-
}, we = false, Se, be, Be, xe, $e, Ae = "\x1B[", Oe, stripAnsi = (e9) => e9.replace(Oe, ""), CLIError, ke, Te, Ie, Ne, Pe, Me, toCommandValue = (e9) => typeof e9 == "string" || e9 == null ? e9 ? "" + e9 : "" : JSON.stringify(e9), escapeData = (e9) => toCommandValue(e9).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A"), escapeProperty = (e9) => toCommandValue(e9).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A").replace(/:/g, "%3A").replace(/,/g, "%2C"), directoryExists = async (e9) => {
|
|
196290
|
+
}, we = false, Se, be, Be, xe, $e, Ae = "\x1B[", Oe, stripAnsi = (e9) => e9.replace(Oe, ""), CLIError, ke, Te, Ie, Ne, Pe, Me = true, toCommandValue = (e9) => typeof e9 == "string" || e9 == null ? e9 ? "" + e9 : "" : JSON.stringify(e9), escapeData = (e9) => toCommandValue(e9).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A"), escapeProperty = (e9) => toCommandValue(e9).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A").replace(/:/g, "%3A").replace(/,/g, "%2C"), directoryExists = async (e9) => {
|
|
196291
196291
|
try {
|
|
196292
196292
|
var t7 = await d4.stat(e9);
|
|
196293
196293
|
if (t7.isDirectory()) {
|
|
@@ -197045,10 +197045,9 @@ var import_graphql4, import_typescript5, __dirname = "/home/runner/work/sdk/sdk/
|
|
|
197045
197045
|
var r6 = import_typescript5.default.parseJsonText(e9, t7);
|
|
197046
197046
|
return import_typescript5.default.convertToObject(r6, []);
|
|
197047
197047
|
}, isVSCodeInstalled = async () => {
|
|
197048
|
-
if (
|
|
197049
|
-
return false;
|
|
197048
|
+
if (false) {
|
|
197050
197049
|
}
|
|
197051
|
-
var t7 = e8.resolve(
|
|
197050
|
+
var t7 = e8.resolve("/home/runner", ".vscode");
|
|
197052
197051
|
return !!await stat5(t7, gt.Directory);
|
|
197053
197052
|
}, loadSuggestedExtensionsList = async (t7) => {
|
|
197054
197053
|
var r6 = process.cwd();
|
|
@@ -197077,10 +197076,9 @@ var import_graphql4, import_typescript5, __dirname = "/home/runner/work/sdk/sdk/
|
|
|
197077
197076
|
return [];
|
|
197078
197077
|
}
|
|
197079
197078
|
}, loadExtensionsList = async () => {
|
|
197080
|
-
if (
|
|
197081
|
-
return [];
|
|
197079
|
+
if (false) {
|
|
197082
197080
|
}
|
|
197083
|
-
var t7 = e8.resolve(
|
|
197081
|
+
var t7 = e8.resolve("/home/runner", ".vscode");
|
|
197084
197082
|
var r6 = e8.resolve(t7, "extensions", "extensions.json");
|
|
197085
197083
|
if (!await stat5(r6)) {
|
|
197086
197084
|
return [];
|
|
@@ -197101,12 +197099,9 @@ var import_graphql4, import_typescript5, __dirname = "/home/runner/work/sdk/sdk/
|
|
|
197101
197099
|
return e9.identifier.id && typeof e9.identifier.id == "string" ? `${e9.identifier.id}`.toLowerCase() : null;
|
|
197102
197100
|
}).filter((e9) => !!e9);
|
|
197103
197101
|
}, delay = (e9 = 700) => {
|
|
197104
|
-
if (
|
|
197102
|
+
if ("true") {
|
|
197105
197103
|
return Promise.resolve();
|
|
197106
197104
|
} else {
|
|
197107
|
-
return new Promise((t7) => {
|
|
197108
|
-
setTimeout(t7, e9);
|
|
197109
|
-
});
|
|
197110
197105
|
}
|
|
197111
197106
|
}, mt, DoctorCommand, Ct = "\x1B[", yt, Ft, Et, wt, St, bt, create = function() {
|
|
197112
197107
|
return {
|
|
@@ -197400,7 +197395,7 @@ ${Bt.cyan(Yt)}
|
|
|
197400
197395
|
code: "ENOENT"
|
|
197401
197396
|
}), getPathInfo = (e9, t7) => {
|
|
197402
197397
|
var r6 = t7.colon || or;
|
|
197403
|
-
var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path ||
|
|
197398
|
+
var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.SBjxxMqHb5:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(r6)];
|
|
197404
197399
|
var n6 = nr ? t7.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
197405
197400
|
var a5 = nr ? n6.split(r6) : [""];
|
|
197406
197401
|
if (nr) {
|
|
@@ -198722,7 +198717,6 @@ ${whileRunning(e9)}`;
|
|
|
198722
198717
|
}({});
|
|
198723
198718
|
Ne = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"];
|
|
198724
198719
|
Pe = ["◐", "◓", "◑", "◒"];
|
|
198725
|
-
Me = !!process.env.GITHUB_ACTIONS;
|
|
198726
198720
|
GenerateOutputCommand = class GenerateOutputCommand extends Command {
|
|
198727
198721
|
static paths = [["generate-output"], ["generate", "output"]];
|
|
198728
198722
|
forceTSFormat = Boolean$1("--force-ts-format", false, {
|
|
@@ -200538,7 +200532,7 @@ ${whileRunning(e9)}`;
|
|
|
200538
200532
|
};
|
|
200539
200533
|
ni = Object.assign(async function _main() {
|
|
200540
200534
|
var e9 = new Cli({
|
|
200541
|
-
binaryVersion:
|
|
200535
|
+
binaryVersion: "0.6.48-main3d53c4d",
|
|
200542
200536
|
binaryLabel: "gql.tada CLI",
|
|
200543
200537
|
binaryName: "gql.tada"
|
|
200544
200538
|
});
|
|
@@ -212441,7 +212435,7 @@ var require_is_fullwidth_code_point = __commonJS((exports, module) => {
|
|
|
212441
212435
|
module.exports.default = isFullwidthCodePoint;
|
|
212442
212436
|
});
|
|
212443
212437
|
|
|
212444
|
-
// ../../node_modules/
|
|
212438
|
+
// ../../node_modules/emoji-regex/index.js
|
|
212445
212439
|
var require_emoji_regex = __commonJS((exports, module) => {
|
|
212446
212440
|
module.exports = function() {
|
|
212447
212441
|
return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
|
|
@@ -214038,7 +214032,7 @@ var init_mjs = __esm(() => {
|
|
|
214038
214032
|
} = signalExitWrap(processOk2(process5) ? new SignalExit2(process5) : new SignalExitFallback2));
|
|
214039
214033
|
});
|
|
214040
214034
|
|
|
214041
|
-
// ../../node_modules/ansi-escapes/index.js
|
|
214035
|
+
// ../../node_modules/@inquirer/core/node_modules/ansi-escapes/index.js
|
|
214042
214036
|
var require_ansi_escapes = __commonJS((exports, module) => {
|
|
214043
214037
|
var ansiEscapes = exports;
|
|
214044
214038
|
exports.default = ansiEscapes;
|
|
@@ -214156,6 +214150,242 @@ var require_ansi_escapes = __commonJS((exports, module) => {
|
|
|
214156
214150
|
};
|
|
214157
214151
|
});
|
|
214158
214152
|
|
|
214153
|
+
// ../../node_modules/@inquirer/password/node_modules/ansi-escapes/index.js
|
|
214154
|
+
var require_ansi_escapes2 = __commonJS((exports, module) => {
|
|
214155
|
+
var ansiEscapes2 = exports;
|
|
214156
|
+
exports.default = ansiEscapes2;
|
|
214157
|
+
var ESC = "\x1B[";
|
|
214158
|
+
var OSC = "\x1B]";
|
|
214159
|
+
var BEL = "\x07";
|
|
214160
|
+
var SEP = ";";
|
|
214161
|
+
var isTerminalApp = process.env.TERM_PROGRAM === "Apple_Terminal";
|
|
214162
|
+
ansiEscapes2.cursorTo = (x5, y4) => {
|
|
214163
|
+
if (typeof x5 !== "number") {
|
|
214164
|
+
throw new TypeError("The `x` argument is required");
|
|
214165
|
+
}
|
|
214166
|
+
if (typeof y4 !== "number") {
|
|
214167
|
+
return ESC + (x5 + 1) + "G";
|
|
214168
|
+
}
|
|
214169
|
+
return ESC + (y4 + 1) + ";" + (x5 + 1) + "H";
|
|
214170
|
+
};
|
|
214171
|
+
ansiEscapes2.cursorMove = (x5, y4) => {
|
|
214172
|
+
if (typeof x5 !== "number") {
|
|
214173
|
+
throw new TypeError("The `x` argument is required");
|
|
214174
|
+
}
|
|
214175
|
+
let ret = "";
|
|
214176
|
+
if (x5 < 0) {
|
|
214177
|
+
ret += ESC + -x5 + "D";
|
|
214178
|
+
} else if (x5 > 0) {
|
|
214179
|
+
ret += ESC + x5 + "C";
|
|
214180
|
+
}
|
|
214181
|
+
if (y4 < 0) {
|
|
214182
|
+
ret += ESC + -y4 + "A";
|
|
214183
|
+
} else if (y4 > 0) {
|
|
214184
|
+
ret += ESC + y4 + "B";
|
|
214185
|
+
}
|
|
214186
|
+
return ret;
|
|
214187
|
+
};
|
|
214188
|
+
ansiEscapes2.cursorUp = (count = 1) => ESC + count + "A";
|
|
214189
|
+
ansiEscapes2.cursorDown = (count = 1) => ESC + count + "B";
|
|
214190
|
+
ansiEscapes2.cursorForward = (count = 1) => ESC + count + "C";
|
|
214191
|
+
ansiEscapes2.cursorBackward = (count = 1) => ESC + count + "D";
|
|
214192
|
+
ansiEscapes2.cursorLeft = ESC + "G";
|
|
214193
|
+
ansiEscapes2.cursorSavePosition = isTerminalApp ? "\x1B7" : ESC + "s";
|
|
214194
|
+
ansiEscapes2.cursorRestorePosition = isTerminalApp ? "\x1B8" : ESC + "u";
|
|
214195
|
+
ansiEscapes2.cursorGetPosition = ESC + "6n";
|
|
214196
|
+
ansiEscapes2.cursorNextLine = ESC + "E";
|
|
214197
|
+
ansiEscapes2.cursorPrevLine = ESC + "F";
|
|
214198
|
+
ansiEscapes2.cursorHide = ESC + "?25l";
|
|
214199
|
+
ansiEscapes2.cursorShow = ESC + "?25h";
|
|
214200
|
+
ansiEscapes2.eraseLines = (count) => {
|
|
214201
|
+
let clear = "";
|
|
214202
|
+
for (let i6 = 0;i6 < count; i6++) {
|
|
214203
|
+
clear += ansiEscapes2.eraseLine + (i6 < count - 1 ? ansiEscapes2.cursorUp() : "");
|
|
214204
|
+
}
|
|
214205
|
+
if (count) {
|
|
214206
|
+
clear += ansiEscapes2.cursorLeft;
|
|
214207
|
+
}
|
|
214208
|
+
return clear;
|
|
214209
|
+
};
|
|
214210
|
+
ansiEscapes2.eraseEndLine = ESC + "K";
|
|
214211
|
+
ansiEscapes2.eraseStartLine = ESC + "1K";
|
|
214212
|
+
ansiEscapes2.eraseLine = ESC + "2K";
|
|
214213
|
+
ansiEscapes2.eraseDown = ESC + "J";
|
|
214214
|
+
ansiEscapes2.eraseUp = ESC + "1J";
|
|
214215
|
+
ansiEscapes2.eraseScreen = ESC + "2J";
|
|
214216
|
+
ansiEscapes2.scrollUp = ESC + "S";
|
|
214217
|
+
ansiEscapes2.scrollDown = ESC + "T";
|
|
214218
|
+
ansiEscapes2.clearScreen = "\x1Bc";
|
|
214219
|
+
ansiEscapes2.clearTerminal = process.platform === "win32" ? `${ansiEscapes2.eraseScreen}${ESC}0f` : `${ansiEscapes2.eraseScreen}${ESC}3J${ESC}H`;
|
|
214220
|
+
ansiEscapes2.beep = BEL;
|
|
214221
|
+
ansiEscapes2.link = (text2, url) => {
|
|
214222
|
+
return [
|
|
214223
|
+
OSC,
|
|
214224
|
+
"8",
|
|
214225
|
+
SEP,
|
|
214226
|
+
SEP,
|
|
214227
|
+
url,
|
|
214228
|
+
BEL,
|
|
214229
|
+
text2,
|
|
214230
|
+
OSC,
|
|
214231
|
+
"8",
|
|
214232
|
+
SEP,
|
|
214233
|
+
SEP,
|
|
214234
|
+
BEL
|
|
214235
|
+
].join("");
|
|
214236
|
+
};
|
|
214237
|
+
ansiEscapes2.image = (buffer, options = {}) => {
|
|
214238
|
+
let ret = `${OSC}1337;File=inline=1`;
|
|
214239
|
+
if (options.width) {
|
|
214240
|
+
ret += `;width=${options.width}`;
|
|
214241
|
+
}
|
|
214242
|
+
if (options.height) {
|
|
214243
|
+
ret += `;height=${options.height}`;
|
|
214244
|
+
}
|
|
214245
|
+
if (options.preserveAspectRatio === false) {
|
|
214246
|
+
ret += ";preserveAspectRatio=0";
|
|
214247
|
+
}
|
|
214248
|
+
return ret + ":" + buffer.toString("base64") + BEL;
|
|
214249
|
+
};
|
|
214250
|
+
ansiEscapes2.iTerm = {
|
|
214251
|
+
setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
214252
|
+
annotation: (message, options = {}) => {
|
|
214253
|
+
let ret = `${OSC}1337;`;
|
|
214254
|
+
const hasX = typeof options.x !== "undefined";
|
|
214255
|
+
const hasY = typeof options.y !== "undefined";
|
|
214256
|
+
if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== "undefined")) {
|
|
214257
|
+
throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
|
|
214258
|
+
}
|
|
214259
|
+
message = message.replace(/\|/g, "");
|
|
214260
|
+
ret += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=";
|
|
214261
|
+
if (options.length > 0) {
|
|
214262
|
+
ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|");
|
|
214263
|
+
} else {
|
|
214264
|
+
ret += message;
|
|
214265
|
+
}
|
|
214266
|
+
return ret + BEL;
|
|
214267
|
+
}
|
|
214268
|
+
};
|
|
214269
|
+
});
|
|
214270
|
+
|
|
214271
|
+
// ../../node_modules/@inquirer/select/node_modules/ansi-escapes/index.js
|
|
214272
|
+
var require_ansi_escapes3 = __commonJS((exports, module) => {
|
|
214273
|
+
var ansiEscapes3 = exports;
|
|
214274
|
+
exports.default = ansiEscapes3;
|
|
214275
|
+
var ESC = "\x1B[";
|
|
214276
|
+
var OSC = "\x1B]";
|
|
214277
|
+
var BEL = "\x07";
|
|
214278
|
+
var SEP = ";";
|
|
214279
|
+
var isTerminalApp = process.env.TERM_PROGRAM === "Apple_Terminal";
|
|
214280
|
+
ansiEscapes3.cursorTo = (x5, y4) => {
|
|
214281
|
+
if (typeof x5 !== "number") {
|
|
214282
|
+
throw new TypeError("The `x` argument is required");
|
|
214283
|
+
}
|
|
214284
|
+
if (typeof y4 !== "number") {
|
|
214285
|
+
return ESC + (x5 + 1) + "G";
|
|
214286
|
+
}
|
|
214287
|
+
return ESC + (y4 + 1) + ";" + (x5 + 1) + "H";
|
|
214288
|
+
};
|
|
214289
|
+
ansiEscapes3.cursorMove = (x5, y4) => {
|
|
214290
|
+
if (typeof x5 !== "number") {
|
|
214291
|
+
throw new TypeError("The `x` argument is required");
|
|
214292
|
+
}
|
|
214293
|
+
let ret = "";
|
|
214294
|
+
if (x5 < 0) {
|
|
214295
|
+
ret += ESC + -x5 + "D";
|
|
214296
|
+
} else if (x5 > 0) {
|
|
214297
|
+
ret += ESC + x5 + "C";
|
|
214298
|
+
}
|
|
214299
|
+
if (y4 < 0) {
|
|
214300
|
+
ret += ESC + -y4 + "A";
|
|
214301
|
+
} else if (y4 > 0) {
|
|
214302
|
+
ret += ESC + y4 + "B";
|
|
214303
|
+
}
|
|
214304
|
+
return ret;
|
|
214305
|
+
};
|
|
214306
|
+
ansiEscapes3.cursorUp = (count = 1) => ESC + count + "A";
|
|
214307
|
+
ansiEscapes3.cursorDown = (count = 1) => ESC + count + "B";
|
|
214308
|
+
ansiEscapes3.cursorForward = (count = 1) => ESC + count + "C";
|
|
214309
|
+
ansiEscapes3.cursorBackward = (count = 1) => ESC + count + "D";
|
|
214310
|
+
ansiEscapes3.cursorLeft = ESC + "G";
|
|
214311
|
+
ansiEscapes3.cursorSavePosition = isTerminalApp ? "\x1B7" : ESC + "s";
|
|
214312
|
+
ansiEscapes3.cursorRestorePosition = isTerminalApp ? "\x1B8" : ESC + "u";
|
|
214313
|
+
ansiEscapes3.cursorGetPosition = ESC + "6n";
|
|
214314
|
+
ansiEscapes3.cursorNextLine = ESC + "E";
|
|
214315
|
+
ansiEscapes3.cursorPrevLine = ESC + "F";
|
|
214316
|
+
ansiEscapes3.cursorHide = ESC + "?25l";
|
|
214317
|
+
ansiEscapes3.cursorShow = ESC + "?25h";
|
|
214318
|
+
ansiEscapes3.eraseLines = (count) => {
|
|
214319
|
+
let clear = "";
|
|
214320
|
+
for (let i6 = 0;i6 < count; i6++) {
|
|
214321
|
+
clear += ansiEscapes3.eraseLine + (i6 < count - 1 ? ansiEscapes3.cursorUp() : "");
|
|
214322
|
+
}
|
|
214323
|
+
if (count) {
|
|
214324
|
+
clear += ansiEscapes3.cursorLeft;
|
|
214325
|
+
}
|
|
214326
|
+
return clear;
|
|
214327
|
+
};
|
|
214328
|
+
ansiEscapes3.eraseEndLine = ESC + "K";
|
|
214329
|
+
ansiEscapes3.eraseStartLine = ESC + "1K";
|
|
214330
|
+
ansiEscapes3.eraseLine = ESC + "2K";
|
|
214331
|
+
ansiEscapes3.eraseDown = ESC + "J";
|
|
214332
|
+
ansiEscapes3.eraseUp = ESC + "1J";
|
|
214333
|
+
ansiEscapes3.eraseScreen = ESC + "2J";
|
|
214334
|
+
ansiEscapes3.scrollUp = ESC + "S";
|
|
214335
|
+
ansiEscapes3.scrollDown = ESC + "T";
|
|
214336
|
+
ansiEscapes3.clearScreen = "\x1Bc";
|
|
214337
|
+
ansiEscapes3.clearTerminal = process.platform === "win32" ? `${ansiEscapes3.eraseScreen}${ESC}0f` : `${ansiEscapes3.eraseScreen}${ESC}3J${ESC}H`;
|
|
214338
|
+
ansiEscapes3.beep = BEL;
|
|
214339
|
+
ansiEscapes3.link = (text2, url) => {
|
|
214340
|
+
return [
|
|
214341
|
+
OSC,
|
|
214342
|
+
"8",
|
|
214343
|
+
SEP,
|
|
214344
|
+
SEP,
|
|
214345
|
+
url,
|
|
214346
|
+
BEL,
|
|
214347
|
+
text2,
|
|
214348
|
+
OSC,
|
|
214349
|
+
"8",
|
|
214350
|
+
SEP,
|
|
214351
|
+
SEP,
|
|
214352
|
+
BEL
|
|
214353
|
+
].join("");
|
|
214354
|
+
};
|
|
214355
|
+
ansiEscapes3.image = (buffer, options = {}) => {
|
|
214356
|
+
let ret = `${OSC}1337;File=inline=1`;
|
|
214357
|
+
if (options.width) {
|
|
214358
|
+
ret += `;width=${options.width}`;
|
|
214359
|
+
}
|
|
214360
|
+
if (options.height) {
|
|
214361
|
+
ret += `;height=${options.height}`;
|
|
214362
|
+
}
|
|
214363
|
+
if (options.preserveAspectRatio === false) {
|
|
214364
|
+
ret += ";preserveAspectRatio=0";
|
|
214365
|
+
}
|
|
214366
|
+
return ret + ":" + buffer.toString("base64") + BEL;
|
|
214367
|
+
};
|
|
214368
|
+
ansiEscapes3.iTerm = {
|
|
214369
|
+
setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
214370
|
+
annotation: (message, options = {}) => {
|
|
214371
|
+
let ret = `${OSC}1337;`;
|
|
214372
|
+
const hasX = typeof options.x !== "undefined";
|
|
214373
|
+
const hasY = typeof options.y !== "undefined";
|
|
214374
|
+
if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== "undefined")) {
|
|
214375
|
+
throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
|
|
214376
|
+
}
|
|
214377
|
+
message = message.replace(/\|/g, "");
|
|
214378
|
+
ret += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=";
|
|
214379
|
+
if (options.length > 0) {
|
|
214380
|
+
ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|");
|
|
214381
|
+
} else {
|
|
214382
|
+
ret += message;
|
|
214383
|
+
}
|
|
214384
|
+
return ret + BEL;
|
|
214385
|
+
}
|
|
214386
|
+
};
|
|
214387
|
+
});
|
|
214388
|
+
|
|
214159
214389
|
// ../../node_modules/json-parse-even-better-errors/lib/index.js
|
|
214160
214390
|
var require_lib2 = __commonJS((exports, module) => {
|
|
214161
214391
|
var INDENT = Symbol.for("indent");
|
|
@@ -221731,7 +221961,7 @@ var require_lib5 = __commonJS((exports, module) => {
|
|
|
221731
221961
|
var rRel = new RegExp(`^\\.${rSlash.source}`);
|
|
221732
221962
|
var getNotFoundError2 = (cmd2) => Object.assign(new Error(`not found: ${cmd2}`), { code: "ENOENT" });
|
|
221733
221963
|
var getPathInfo2 = (cmd2, {
|
|
221734
|
-
path: optPath =
|
|
221964
|
+
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.SBjxxMqHb5:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
221735
221965
|
pathExt: optPathExt = process.env.PATHEXT,
|
|
221736
221966
|
delimiter: optDelimiter = delimiter
|
|
221737
221967
|
}) => {
|
|
@@ -221935,7 +222165,7 @@ var require_lib6 = __commonJS((exports, module) => {
|
|
|
221935
222165
|
let pathToInitial;
|
|
221936
222166
|
try {
|
|
221937
222167
|
pathToInitial = which.sync(initialCmd, {
|
|
221938
|
-
path: options.env && findInObject(options.env, "PATH") ||
|
|
222168
|
+
path: options.env && findInObject(options.env, "PATH") || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.SBjxxMqHb5:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
221939
222169
|
pathext: options.env && findInObject(options.env, "PATHEXT") || process.env.PATHEXT
|
|
221940
222170
|
}).toLowerCase();
|
|
221941
222171
|
} catch (err) {
|
|
@@ -222652,7 +222882,7 @@ var require_lib7 = __commonJS((exports, module) => {
|
|
|
222652
222882
|
var rRel = new RegExp(`^\\.${rSlash.source}`);
|
|
222653
222883
|
var getNotFoundError2 = (cmd2) => Object.assign(new Error(`not found: ${cmd2}`), { code: "ENOENT" });
|
|
222654
222884
|
var getPathInfo2 = (cmd2, {
|
|
222655
|
-
path: optPath =
|
|
222885
|
+
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.SBjxxMqHb5:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
222656
222886
|
pathExt: optPathExt = process.env.PATHEXT,
|
|
222657
222887
|
delimiter: optDelimiter = delimiter
|
|
222658
222888
|
}) => {
|
|
@@ -230212,7 +230442,7 @@ var require_write_entry = __commonJS((exports, module) => {
|
|
|
230212
230442
|
this.path = normPath(p5);
|
|
230213
230443
|
this.portable = !!opt2.portable;
|
|
230214
230444
|
this.myuid = process.getuid && process.getuid() || 0;
|
|
230215
|
-
this.myuser =
|
|
230445
|
+
this.myuser = "runner";
|
|
230216
230446
|
this.maxReadSize = opt2.maxReadSize || maxReadSize;
|
|
230217
230447
|
this.linkCache = opt2.linkCache || new Map;
|
|
230218
230448
|
this.statCache = opt2.statCache || new Map;
|
|
@@ -234654,7 +234884,7 @@ var require_which2 = __commonJS((exports, module) => {
|
|
|
234654
234884
|
const colon = opt2.colon || COLON;
|
|
234655
234885
|
const pathEnv = cmd2.match(/\//) || isWindows2 && cmd2.match(/\\/) ? [""] : [
|
|
234656
234886
|
...isWindows2 ? [process.cwd()] : [],
|
|
234657
|
-
...(opt2.path ||
|
|
234887
|
+
...(opt2.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.SBjxxMqHb5:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(colon)
|
|
234658
234888
|
];
|
|
234659
234889
|
const pathExtExe = isWindows2 ? opt2.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
234660
234890
|
const pathExt = isWindows2 ? pathExtExe.split(colon) : [""];
|
|
@@ -256408,9 +256638,8 @@ export const { client: hasuraClient, graphql: hasuraGraphql } = createHasuraClie
|
|
|
256408
256638
|
});`;
|
|
256409
256639
|
await writeTemplate(hasuraTemplate, "/lib/settlemint", "hasura.ts");
|
|
256410
256640
|
const drizzleTemplate = `import { createDrizzleClient } from "@settlemint/sdk-hasura/drizzle";
|
|
256411
|
-
import type { NodePgDatabase } from "drizzle-orm/node-postgres";
|
|
256412
256641
|
|
|
256413
|
-
export const db
|
|
256642
|
+
export const db = createDrizzleClient({
|
|
256414
256643
|
databaseUrl: process.env.SETTLEMINT_HASURA_DATABASE_URL ?? "",
|
|
256415
256644
|
maxPoolSize: Number(process.env.SETTLEMINT_HASURA_DATABASE_MAX_POOL_SIZE),
|
|
256416
256645
|
idleTimeoutMillis: Number(process.env.SETTLEMINT_HASURA_DATABASE_IDLE_TIMEOUT),
|
|
@@ -271655,7 +271884,7 @@ var esm_default3 = createPrompt((config3, done) => {
|
|
|
271655
271884
|
});
|
|
271656
271885
|
|
|
271657
271886
|
// ../../node_modules/@inquirer/password/dist/esm/index.js
|
|
271658
|
-
var import_ansi_escapes2 = __toESM(
|
|
271887
|
+
var import_ansi_escapes2 = __toESM(require_ansi_escapes2(), 1);
|
|
271659
271888
|
var esm_default4 = createPrompt((config3, done) => {
|
|
271660
271889
|
const { validate: validate3 = () => true } = config3;
|
|
271661
271890
|
const theme = makeTheme(config3.theme);
|
|
@@ -271727,7 +271956,7 @@ async function applicationAccessTokenPrompt(env2, application, settlemint, accep
|
|
|
271727
271956
|
if (create2) {
|
|
271728
271957
|
const name2 = await esm_default3({
|
|
271729
271958
|
message: "How would you like to name this application access token?",
|
|
271730
|
-
default: `SettleMint CLI (${Date.now()}${
|
|
271959
|
+
default: `SettleMint CLI (${Date.now()}${` ${"runner"}`})`,
|
|
271731
271960
|
required: true,
|
|
271732
271961
|
validate(value4) {
|
|
271733
271962
|
try {
|
|
@@ -271804,7 +272033,7 @@ async function applicationAccessTokenPrompt(env2, application, settlemint, accep
|
|
|
271804
272033
|
|
|
271805
272034
|
// ../../node_modules/@inquirer/select/dist/esm/index.js
|
|
271806
272035
|
var import_yoctocolors_cjs3 = __toESM(require_yoctocolors_cjs(), 1);
|
|
271807
|
-
var import_ansi_escapes3 = __toESM(
|
|
272036
|
+
var import_ansi_escapes3 = __toESM(require_ansi_escapes3(), 1);
|
|
271808
272037
|
var selectTheme = {
|
|
271809
272038
|
icon: { cursor: esm_default.pointer },
|
|
271810
272039
|
style: {
|
|
@@ -272362,7 +272591,7 @@ function connectCommand() {
|
|
|
272362
272591
|
var package_default = {
|
|
272363
272592
|
name: "@settlemint/sdk-cli",
|
|
272364
272593
|
description: "SettleMint SDK, integrate SettleMint into your application with ease.",
|
|
272365
|
-
version: "0.6.
|
|
272594
|
+
version: "0.6.48-main3d53c4d",
|
|
272366
272595
|
type: "module",
|
|
272367
272596
|
private: false,
|
|
272368
272597
|
license: "FSL-1.1-MIT",
|
|
@@ -272413,8 +272642,8 @@ var package_default = {
|
|
|
272413
272642
|
"@inquirer/input": "4.1.0",
|
|
272414
272643
|
"@inquirer/password": "4.0.3",
|
|
272415
272644
|
"@inquirer/select": "4.0.3",
|
|
272416
|
-
"@settlemint/sdk-js": "0.6.
|
|
272417
|
-
"@settlemint/sdk-utils": "0.6.
|
|
272645
|
+
"@settlemint/sdk-js": "0.6.48-main3d53c4d",
|
|
272646
|
+
"@settlemint/sdk-utils": "0.6.48-main3d53c4d",
|
|
272418
272647
|
"get-tsconfig": "4.8.1",
|
|
272419
272648
|
giget: "1.2.3"
|
|
272420
272649
|
},
|
|
@@ -275760,4 +275989,4 @@ sdkcli.parseAsync(process.argv).catch((reason) => {
|
|
|
275760
275989
|
cancel2(reason);
|
|
275761
275990
|
});
|
|
275762
275991
|
|
|
275763
|
-
//# debugId=
|
|
275992
|
+
//# debugId=AAACDA13ECE782DD64756E2164756E21
|