@antora/site-generator
Advanced tools
Comparing version 3.0.0-rc.1 to 3.0.0-rc.2
@@ -9,2 +9,3 @@ 'use strict' | ||
try { | ||
if (Array.isArray(playbook)) playbook = buildPlaybookFromArguments.apply(context, arguments) | ||
const { fxns, vars } = await GeneratorContext.start(context, playbook) | ||
@@ -67,2 +68,13 @@ await context.notify('playbookBuilt') | ||
function buildPlaybookFromArguments (args, env) { | ||
return require('@antora/playbook-builder')(args, env, undefined, (config) => { | ||
try { | ||
const { configureLogger, finalizeLogger } = require('@antora/logger') | ||
const playbookFile = config.get('playbook') || process.cwd() + '/.' | ||
configureLogger(config.getModel('runtime.log'), require('path').dirname(playbookFile)) | ||
this.on('contextClosed', finalizeLogger) | ||
} catch {} | ||
}) | ||
} | ||
module.exports = generateSite |
{ | ||
"name": "@antora/site-generator", | ||
"version": "3.0.0-rc.1", | ||
"version": "3.0.0-rc.2", | ||
"description": "The Antora generator for producing and publishing static documentation sites with Antora.", | ||
@@ -21,18 +21,17 @@ "license": "MPL-2.0", | ||
"dependencies": { | ||
"@antora/asciidoc-loader": "3.0.0-rc.1", | ||
"@antora/content-aggregator": "3.0.0-rc.1", | ||
"@antora/content-classifier": "3.0.0-rc.1", | ||
"@antora/document-converter": "3.0.0-rc.1", | ||
"@antora/file-publisher": "3.0.0-rc.1", | ||
"@antora/logger": "3.0.0-rc.1", | ||
"@antora/navigation-builder": "3.0.0-rc.1", | ||
"@antora/page-composer": "3.0.0-rc.1", | ||
"@antora/redirect-producer": "3.0.0-rc.1", | ||
"@antora/site-mapper": "3.0.0-rc.1", | ||
"@antora/ui-loader": "3.0.0-rc.1", | ||
"@antora/asciidoc-loader": "3.0.0-rc.2", | ||
"@antora/content-aggregator": "3.0.0-rc.2", | ||
"@antora/content-classifier": "3.0.0-rc.2", | ||
"@antora/document-converter": "3.0.0-rc.2", | ||
"@antora/file-publisher": "3.0.0-rc.2", | ||
"@antora/logger": "3.0.0-rc.2", | ||
"@antora/navigation-builder": "3.0.0-rc.2", | ||
"@antora/page-composer": "3.0.0-rc.2", | ||
"@antora/playbook-builder": "3.0.0-rc.2", | ||
"@antora/redirect-producer": "3.0.0-rc.2", | ||
"@antora/site-mapper": "3.0.0-rc.2", | ||
"@antora/site-publisher": "3.0.0-rc.2", | ||
"@antora/ui-loader": "3.0.0-rc.2", | ||
"@antora/user-require-helper": "~2.0" | ||
}, | ||
"devDependencies": { | ||
"@antora/playbook-builder": "3.0.0-rc.1" | ||
}, | ||
"engines": { | ||
@@ -53,3 +52,3 @@ "node": ">=12.21.0" | ||
], | ||
"gitHead": "044371a33e2c0fed9724d30945bbb549d64845d5" | ||
"gitHead": "b64861391b7e55ea31fcecce4490b9cc02fec1c7" | ||
} |
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
29140
0
259
14
+ Added@antora/asciidoc-loader@3.0.0-rc.2(transitive)
+ Added@antora/content-aggregator@3.0.0-rc.2(transitive)
+ Added@antora/content-classifier@3.0.0-rc.2(transitive)
+ Added@antora/document-converter@3.0.0-rc.2(transitive)
+ Added@antora/file-publisher@3.0.0-rc.2(transitive)
+ Added@antora/logger@3.0.0-rc.2(transitive)
+ Added@antora/navigation-builder@3.0.0-rc.2(transitive)
+ Added@antora/page-composer@3.0.0-rc.2(transitive)
+ Added@antora/playbook-builder@3.0.0-rc.2(transitive)
+ Added@antora/redirect-producer@3.0.0-rc.2(transitive)
+ Added@antora/site-mapper@3.0.0-rc.2(transitive)
+ Added@antora/site-publisher@3.0.0-rc.2(transitive)
+ Added@antora/ui-loader@3.0.0-rc.2(transitive)
+ Added@iarna/toml@2.2.5(transitive)
+ Addedconvict@6.2.4(transitive)
+ Addedjson5@2.2.3(transitive)
+ Addedlodash.clonedeep@4.5.0(transitive)
+ Addedyargs-parser@20.2.9(transitive)
- Removed@antora/asciidoc-loader@3.0.0-rc.1(transitive)
- Removed@antora/content-aggregator@3.0.0-rc.1(transitive)
- Removed@antora/content-classifier@3.0.0-rc.1(transitive)
- Removed@antora/document-converter@3.0.0-rc.1(transitive)
- Removed@antora/file-publisher@3.0.0-rc.1(transitive)
- Removed@antora/logger@3.0.0-rc.1(transitive)
- Removed@antora/navigation-builder@3.0.0-rc.1(transitive)
- Removed@antora/page-composer@3.0.0-rc.1(transitive)
- Removed@antora/redirect-producer@3.0.0-rc.1(transitive)
- Removed@antora/site-mapper@3.0.0-rc.1(transitive)
- Removed@antora/ui-loader@3.0.0-rc.1(transitive)
Updated@antora/logger@3.0.0-rc.2
Updated@antora/ui-loader@3.0.0-rc.2