@swmansion/argent 0.25.2-next.1 → 0.25.2-next.3
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-cmds.mjs +19 -6
- package/dist/installer.mjs +1 -1
- package/dist/tool-server.cjs +1 -1
- package/package.json +1 -1
package/dist/cli-cmds.mjs
CHANGED
|
@@ -21872,7 +21872,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
21872
21872
|
var SESSION_ID2 = randomUUID5();
|
|
21873
21873
|
function readCliVersion() {
|
|
21874
21874
|
if (true) {
|
|
21875
|
-
return "0.25.2-next.
|
|
21875
|
+
return "0.25.2-next.3";
|
|
21876
21876
|
}
|
|
21877
21877
|
return "0.0.0";
|
|
21878
21878
|
}
|
|
@@ -25795,12 +25795,25 @@ function reportError(err, suggest) {
|
|
|
25795
25795
|
}
|
|
25796
25796
|
process.exit(2);
|
|
25797
25797
|
}
|
|
25798
|
+
function wrapText(text2, indent, width = 80) {
|
|
25799
|
+
const lines = [];
|
|
25800
|
+
let line = "";
|
|
25801
|
+
for (const word of text2.split(/\s+/).filter(Boolean)) {
|
|
25802
|
+
if (line && indent.length + line.length + 1 + word.length > width) {
|
|
25803
|
+
lines.push(indent + line);
|
|
25804
|
+
line = word;
|
|
25805
|
+
} else {
|
|
25806
|
+
line = line ? `${line} ${word}` : word;
|
|
25807
|
+
}
|
|
25808
|
+
}
|
|
25809
|
+
if (line) lines.push(indent + line);
|
|
25810
|
+
return lines;
|
|
25811
|
+
}
|
|
25798
25812
|
function printUsage() {
|
|
25799
|
-
const keys = CONFIG_SCHEMA.map((d) => d.key);
|
|
25800
|
-
const maxKey = keys.reduce((m, k) => Math.max(m, k.length), 0);
|
|
25801
25813
|
const keyLines = CONFIG_SCHEMA.map((d) => {
|
|
25802
|
-
const
|
|
25803
|
-
|
|
25814
|
+
const lines = [` ${d.key}`, ...wrapText(d.description, " ")];
|
|
25815
|
+
if (d.manageCommand) lines.push(import_picocolors2.default.dim(` [managed by \`${d.manageCommand}\`]`));
|
|
25816
|
+
return lines.join("\n");
|
|
25804
25817
|
});
|
|
25805
25818
|
console.log(`Usage: argent config <command> [options]
|
|
25806
25819
|
|
|
@@ -25816,7 +25829,7 @@ Commands:
|
|
|
25816
25829
|
unset <key> Remove a value at a scope (default global)
|
|
25817
25830
|
|
|
25818
25831
|
Recognized keys:
|
|
25819
|
-
${keyLines.join("\n")}
|
|
25832
|
+
${keyLines.join("\n\n")}
|
|
25820
25833
|
|
|
25821
25834
|
Run \`argent config <command> --help\` for command-specific help.`);
|
|
25822
25835
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16725,7 +16725,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16725
16725
|
var SESSION_ID = randomUUID4();
|
|
16726
16726
|
function readCliVersion() {
|
|
16727
16727
|
if (true) {
|
|
16728
|
-
return "0.25.2-next.
|
|
16728
|
+
return "0.25.2-next.3";
|
|
16729
16729
|
}
|
|
16730
16730
|
return "0.0.0";
|
|
16731
16731
|
}
|
package/dist/tool-server.cjs
CHANGED
|
@@ -94799,7 +94799,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
94799
94799
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
94800
94800
|
function readCliVersion() {
|
|
94801
94801
|
if (true) {
|
|
94802
|
-
return "0.25.2-next.
|
|
94802
|
+
return "0.25.2-next.3";
|
|
94803
94803
|
}
|
|
94804
94804
|
return "0.0.0";
|
|
94805
94805
|
}
|
package/package.json
CHANGED