@diplodoc/cli 4.19.0 → 4.19.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/build/index.js +2 -2
- package/build/index.js.map +2 -2
- package/package.json +3 -3
- package/src/cmd/translate/utils/fs.ts +1 -1
package/build/index.js
CHANGED
|
@@ -149854,7 +149854,7 @@ var import_glob4 = __toESM2(require_glob());
|
|
|
149854
149854
|
var import_translation = require("@diplodoc/translation");
|
|
149855
149855
|
var import_node_path = require("path");
|
|
149856
149856
|
var import_promises4 = require("fs/promises");
|
|
149857
|
-
var ROOT = (0, import_node_path.dirname)(require.resolve("
|
|
149857
|
+
var ROOT = (0, import_node_path.dirname)(require.resolve("@diplodoc/cli/package"));
|
|
149858
149858
|
function last2(array) {
|
|
149859
149859
|
return array[array.length - 1];
|
|
149860
149860
|
}
|
|
@@ -153614,7 +153614,7 @@ import_yargs.default.command(build).command(publish).command(translate).option("
|
|
|
153614
153614
|
default: false,
|
|
153615
153615
|
describe: "Run in quiet mode. Don't write logs to stdout",
|
|
153616
153616
|
type: "boolean"
|
|
153617
|
-
}).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.19.
|
|
153617
|
+
}).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.19.1" : "").help().parse((0, import_helpers.hideBin)(process.argv), {}, (err, { strict }, output) => {
|
|
153618
153618
|
console.timeEnd(MAIN_TIMER_ID);
|
|
153619
153619
|
if (err) {
|
|
153620
153620
|
console.error(err);
|