@antora/playbook-builder
Advanced tools
Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.8
@@ -38,3 +38,3 @@ 'use strict' | ||
if (ospath.extname(specFileAbsPath)) { | ||
if (!fs.existsSync(specFileAbsPath)) throw new Error('playbook spec file does not exist') | ||
if (!fs.existsSync(specFileAbsPath)) throw new Error('playbook file does not exist') | ||
} else if (fs.existsSync(specFileAbsPath + '.yml')) { | ||
@@ -47,3 +47,3 @@ specFileAbsPath += '.yml' | ||
} else { | ||
throw new Error('playbook spec file could not be resolved') | ||
throw new Error('playbook file could not be resolved') | ||
} | ||
@@ -50,0 +50,0 @@ config.load(parseSpecFile(specFileAbsPath)) |
@@ -8,4 +8,4 @@ 'use strict' | ||
default: undefined, | ||
arg: 'playbook', | ||
env: 'PLAYBOOK', | ||
arg: 'playbook', | ||
}, | ||
@@ -29,4 +29,4 @@ site: { | ||
default: undefined, | ||
arg: 'url', | ||
env: 'URL', | ||
arg: 'url', | ||
}, | ||
@@ -119,2 +119,9 @@ //root: { | ||
runtime: { | ||
cache_dir: { | ||
doc: 'The cache directory. (default: antora folder under cache dir for current user)', | ||
format: String, | ||
default: undefined, | ||
arg: 'cache-dir', | ||
env: 'ANTORA_CACHE_DIR', | ||
}, | ||
quiet: { | ||
@@ -121,0 +128,0 @@ doc: 'Do not write any messages to stdout.', |
{ | ||
"name": "@antora/playbook-builder", | ||
"version": "1.0.0-alpha.7", | ||
"version": "1.0.0-alpha.8", | ||
"description": "Builds a playbook object from user input for configuring successive documentation components in an Antora pipeline.", | ||
@@ -5,0 +5,0 @@ "license": "MPL-2.0", |
@@ -7,3 +7,3 @@ # Antora Playbook Builder | ||
[Antora](https://antora.org) is a modular static site generator designed for creating documentation sites from AsciiDoc documents. | ||
Its site generator pipeline aggregates documents from versioned content repositories and processes them using [Asciidoctor](http://asciidoctor.org). | ||
Its site generator pipeline aggregates documents from versioned content repositories and processes them using [Asciidoctor](https://asciidoctor.org). | ||
@@ -10,0 +10,0 @@ ## Copyright and License |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11983
324