docgen-tool 6.4.0 → 6.4.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/dist/cli/cli.js
CHANGED
|
@@ -338,7 +338,8 @@ const require = createRequire(import.meta.url), basePath = process.env.BASE_PATH
|
|
|
338
338
|
...baseConfig,
|
|
339
339
|
build: {
|
|
340
340
|
outDir: outputDir,
|
|
341
|
-
emptyOutDir: true
|
|
341
|
+
emptyOutDir: true,
|
|
342
|
+
minify: false
|
|
342
343
|
}
|
|
343
344
|
});
|
|
344
345
|
else {
|
|
@@ -348,7 +349,7 @@ const require = createRequire(import.meta.url), basePath = process.env.BASE_PATH
|
|
|
348
349
|
}, scaffold = async (command) => {
|
|
349
350
|
const inputDir = findTemplateDir(import.meta.dirname), outputDir = path.normalize(command.output + "/"), verbose = command.verbose === true;
|
|
350
351
|
console.log(pico.green("Creating scaffold template directory")), await copyDirectory(inputDir, outputDir, verbose);
|
|
351
|
-
}, version = "6.4.
|
|
352
|
+
}, version = "6.4.1";
|
|
352
353
|
if (program.version(version).usage("[command] [--option]"), program.command("scaffold").usage("[--option]").description("create a template input directory").option("-o, --output [path]", "path to the output directory (default: ./)", "./").option("-v, --verbose", "show verbose output including detailed errors").action((command) => {
|
|
353
354
|
scaffold(command);
|
|
354
355
|
}), program.command("dev").usage("[--option]").description("create a static website from an input directory").option("-i, --input [path]", "path to the input directory [default: ./]", "./").option("-o, --output [path]", "path to the output directory [default: ./output]", "./output").option("-p, --pdf", "create a PDF document").option("-s, --set-version [version]", "override parameters.version (useful for build tools) [default: false]", false).option("-R, --set-release-date [date]", "override parameters.date (useful for build tools) [default: false]", false).option("-v, --verbose", "show verbose output including detailed errors").action((command) => {
|