politty 0.4.2 → 0.4.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/docs/index.cjs +1 -1
- package/dist/docs/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{runner-CpyB8JiY.cjs → runner-C4fSHJMe.cjs} +2 -1
- package/dist/{runner-CpyB8JiY.cjs.map → runner-C4fSHJMe.cjs.map} +1 -1
- package/dist/{runner-B6W9A8P0.js → runner-D6k4BgB4.js} +2 -1
- package/dist/{runner-B6W9A8P0.js.map → runner-D6k4BgB4.js.map} +1 -1
- package/package.json +1 -1
package/dist/docs/index.cjs
CHANGED
|
@@ -723,7 +723,7 @@ async function executeSingleExample(example, rootCommand, commandPath) {
|
|
|
723
723
|
collector.start();
|
|
724
724
|
let success = true;
|
|
725
725
|
try {
|
|
726
|
-
const { runCommand } = await Promise.resolve().then(() => require("../runner-
|
|
726
|
+
const { runCommand } = await Promise.resolve().then(() => require("../runner-C4fSHJMe.cjs")).then((n) => n.runner_exports);
|
|
727
727
|
const result = await runCommand(rootCommand, argv);
|
|
728
728
|
success = result.success;
|
|
729
729
|
if (!result.success && result.error) console.error(result.error.message);
|
package/dist/docs/index.js
CHANGED
|
@@ -720,7 +720,7 @@ async function executeSingleExample(example, rootCommand, commandPath) {
|
|
|
720
720
|
collector.start();
|
|
721
721
|
let success = true;
|
|
722
722
|
try {
|
|
723
|
-
const { runCommand } = await import("../runner-
|
|
723
|
+
const { runCommand } = await import("../runner-D6k4BgB4.js").then((n) => n.r);
|
|
724
724
|
const result = await runCommand(rootCommand, argv);
|
|
725
725
|
success = result.success;
|
|
726
726
|
if (!result.success && result.error) console.error(result.error.message);
|
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_lazy = require('./lazy-BEDnSR0m.cjs');
|
|
3
3
|
const require_zsh = require('./zsh-CASZWn0o.cjs');
|
|
4
4
|
const require_completion_index = require('./completion/index.cjs');
|
|
5
|
-
const require_runner = require('./runner-
|
|
5
|
+
const require_runner = require('./runner-C4fSHJMe.cjs');
|
|
6
6
|
|
|
7
7
|
exports.DuplicateAliasError = require_runner.DuplicateAliasError;
|
|
8
8
|
exports.DuplicateFieldError = require_runner.DuplicateFieldError;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as symbols, S as styles, _ as renderInline, a as parseArgv, b as logger, c as validateDuplicateAliases, d as validateReservedAliases, f as DuplicateAliasError, g as generateHelp, h as ReservedAliasError, i as formatValidationErrors, l as validateDuplicateFields, m as PositionalConfigError, n as runMain, o as formatCommandValidationErrors, p as DuplicateFieldError, s as validateCommand, t as runCommand, u as validatePositionalConfig, v as renderMarkdown, x as setColorEnabled, y as isColorEnabled } from "./runner-
|
|
1
|
+
import { C as symbols, S as styles, _ as renderInline, a as parseArgv, b as logger, c as validateDuplicateAliases, d as validateReservedAliases, f as DuplicateAliasError, g as generateHelp, h as ReservedAliasError, i as formatValidationErrors, l as validateDuplicateFields, m as PositionalConfigError, n as runMain, o as formatCommandValidationErrors, p as DuplicateFieldError, s as validateCommand, t as runCommand, u as validatePositionalConfig, v as renderMarkdown, x as setColorEnabled, y as isColorEnabled } from "./runner-D6k4BgB4.js";
|
|
2
2
|
import { c as arg, i as extractFields, n as lazy, o as getUnknownKeysMode, s as toKebabCase, t as isLazyCommand } from "./lazy-BrEg8SgI.js";
|
|
3
3
|
import { p as defineCommand } from "./zsh-hjvdI8uZ.js";
|
|
4
4
|
import { generateCompletion, withCompletionCommand } from "./completion/index.js";
|
|
@@ -1553,6 +1553,7 @@ async function runMain(command, options = {}) {
|
|
|
1553
1553
|
rootVersion: options.version
|
|
1554
1554
|
}
|
|
1555
1555
|
});
|
|
1556
|
+
if (process.stdout.writableLength > 0) await new Promise((resolve) => process.stdout.once("drain", resolve));
|
|
1556
1557
|
process.exit(result.exitCode);
|
|
1557
1558
|
}
|
|
1558
1559
|
/**
|
|
@@ -1834,4 +1835,4 @@ Object.defineProperty(exports, 'validateReservedAliases', {
|
|
|
1834
1835
|
return validateReservedAliases;
|
|
1835
1836
|
}
|
|
1836
1837
|
});
|
|
1837
|
-
//# sourceMappingURL=runner-
|
|
1838
|
+
//# sourceMappingURL=runner-C4fSHJMe.cjs.map
|