@antora/playbook-builder 3.0.2 → 3.0.3
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/lib/build-playbook.js +1 -6
- package/package.json +1 -1
package/lib/build-playbook.js
CHANGED
|
@@ -83,7 +83,7 @@ function getModel (name) {
|
|
|
83
83
|
model.env = config.getEnv()
|
|
84
84
|
delete model.playbook
|
|
85
85
|
}
|
|
86
|
-
return
|
|
86
|
+
return model
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
function getStopPaths (schemaProperties, schemaPath = [], stopPaths = []) {
|
|
@@ -99,11 +99,6 @@ function getStopPaths (schemaProperties, schemaPath = [], stopPaths = []) {
|
|
|
99
99
|
return stopPaths
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
function deepFreeze (o, p) {
|
|
103
|
-
for (const [k, v] of Object.entries(o)) Object.isFrozen(v) || (k === 'env' && !p) || deepFreeze(v, p + '.' + k)
|
|
104
|
-
return Object.freeze(o)
|
|
105
|
-
}
|
|
106
|
-
|
|
107
102
|
function getDetails (playbook, absPlaybookPath) {
|
|
108
103
|
if (playbook === absPlaybookPath) return ''
|
|
109
104
|
return ` (${ospath.isAbsolute(playbook) ? '' : 'cwd: ' + process.cwd() + ', '}playbook: ${playbook})`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antora/playbook-builder",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Builds a playbook object from user input for configuring successive documentation components in an Antora pipeline.",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": "OpenDevise Inc. (https://opendevise.com)",
|