@antora/playbook-builder
Advanced tools
Comparing version 2.0.0-rc.2 to 2.0.0-rc.3
@@ -61,2 +61,3 @@ 'use strict' | ||
// FIXME would be nice if camelCaseKeys could exclude a subtree (e.g., asciidoc) | ||
// see https://github.com/sindresorhus/camelcase-keys/issues/23 | ||
const asciidocProperty = properties.asciidoc | ||
@@ -66,2 +67,7 @@ delete properties.asciidoc | ||
if (asciidocProperty) playbook.asciidoc = asciidocProperty | ||
const runtime = playbook.runtime | ||
if (runtime && runtime.pull != null) { | ||
runtime.fetch = runtime.pull | ||
delete runtime.pull | ||
} | ||
playbook.dir = playbook.playbook ? ospath.dirname((playbook.file = playbook.playbook)) : process.cwd() | ||
@@ -68,0 +74,0 @@ delete playbook.playbook |
@@ -9,3 +9,2 @@ 'use strict' | ||
arg: 'playbook', | ||
env: 'ANTORA_PLAYBOOK', | ||
}, | ||
@@ -154,6 +153,12 @@ site: { | ||
}, | ||
fetch: { | ||
doc: 'Download updates from remote resources (including content repositories and UI bundle).', | ||
format: Boolean, | ||
default: false, | ||
arg: 'fetch', | ||
}, | ||
pull: { | ||
doc: 'Download updates to remote resources (content and UI).', | ||
doc: '(Deprecated) Download updates from remote resources. Use --fetch instead.', | ||
format: Boolean, | ||
default: false, | ||
default: undefined, | ||
arg: 'pull', | ||
@@ -160,0 +165,0 @@ }, |
{ | ||
"name": "@antora/playbook-builder", | ||
"version": "2.0.0-rc.2", | ||
"version": "2.0.0-rc.3", | ||
"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", |
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
12634
343