bln-ops-blueprint-library
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -61,13 +61,20 @@ #!/usr/bin/env node | ||
try { | ||
await Promise.all(blueprints.map(({path: filePath, service}) => new YamlPrinter({ | ||
blueprintPath: filePath, | ||
outputPath: `${output}/${service}.yaml`, | ||
options, | ||
blueprintVariables: { | ||
...blueprintVariables, | ||
environmentDefaults, | ||
}, | ||
blueprintFunctions: blueprintFunctions(environmentDefaults), | ||
}).print() | ||
)); | ||
await Promise.all(blueprints.map(async ({path: filePath, service}) => { | ||
const outputPath = `${output}/${service}.yaml`; | ||
return new YamlPrinter({ | ||
blueprintPath: filePath, | ||
outputPath, | ||
options, | ||
blueprintVariables: { | ||
...blueprintVariables, | ||
environmentDefaults, | ||
}, | ||
blueprintFunctions: blueprintFunctions(environmentDefaults), | ||
}) | ||
.print() | ||
.catch((e) => { | ||
throw new Error(`blueprint ${filePath}, ${outputPath}, ${e.message}`); | ||
}) | ||
; | ||
})); | ||
@@ -74,0 +81,0 @@ if (source) { |
{ | ||
"name": "bln-ops-blueprint-library", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"lockfileVersion": 1, | ||
@@ -5,0 +5,0 @@ "requires": true, |
{ | ||
"name": "bln-ops-blueprint-library", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Helper tool for parsing and rendering templates", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
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
69502
1727