@diplodoc/cli 4.22.0 → 4.22.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 +3 -3
- package/build/index.js.map +2 -2
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/build/index.js
CHANGED
|
@@ -261696,7 +261696,7 @@ var parser3 = import_yargs.default.command(build).option("config", {
|
|
|
261696
261696
|
default: false,
|
|
261697
261697
|
describe: "Run in quiet mode. Don't write logs to stdout",
|
|
261698
261698
|
type: "boolean"
|
|
261699
|
-
}).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.22.
|
|
261699
|
+
}).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.22.1" : "").help();
|
|
261700
261700
|
var Build = class extends BaseProgram(command, {
|
|
261701
261701
|
config: {
|
|
261702
261702
|
// scope: 'build',
|
|
@@ -266103,7 +266103,7 @@ var Program = class extends BaseProgram("Program", {
|
|
|
266103
266103
|
constructor() {
|
|
266104
266104
|
super(...arguments);
|
|
266105
266105
|
this.command = new Command2(NAME).helpOption(true).allowUnknownOption(false).version(
|
|
266106
|
-
true ? "4.22.
|
|
266106
|
+
true ? "4.22.1" : "",
|
|
266107
266107
|
"--version",
|
|
266108
266108
|
"Output the version number"
|
|
266109
266109
|
).usage(USAGE);
|
|
@@ -266161,7 +266161,7 @@ var Program = class extends BaseProgram("Program", {
|
|
|
266161
266161
|
};
|
|
266162
266162
|
|
|
266163
266163
|
// src/index.ts
|
|
266164
|
-
if (
|
|
266164
|
+
if (require.main === module) {
|
|
266165
266165
|
(() => __async(void 0, null, function* () {
|
|
266166
266166
|
console.time(MAIN_TIMER_ID);
|
|
266167
266167
|
let exitCode = 0;
|