@firestartr/cli 1.59.0-snapshot-17 → 1.59.0-snapshot-19
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/build/index.js +10 -7
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -366393,15 +366393,18 @@ function walkArray(arr, symbolsToResolve, renderClaim) {
|
|
|
366393
366393
|
*/
|
|
366394
366394
|
async function renderFromImports(rClaims, crs = {}, catalogOutputDir = '/tmp/.catalog', crOutputDir = '/tmp/.resources') {
|
|
366395
366395
|
// Apply claim defaults (same as runRenderer path does via loadClaim/patchClaim)
|
|
366396
|
+
let defaults;
|
|
366396
366397
|
try {
|
|
366397
|
-
|
|
366398
|
-
for (const renderClaim of Object.values(rClaims)) {
|
|
366399
|
-
renderClaim.claim = loader_patchClaim(renderClaim.claim, defaults);
|
|
366400
|
-
validateClaim(renderClaim.claim);
|
|
366401
|
-
}
|
|
366398
|
+
defaults = loadClaimDefaults();
|
|
366402
366399
|
}
|
|
366403
366400
|
catch (e) {
|
|
366404
|
-
cdk8s_renderer_src_logger.warn(`Could not
|
|
366401
|
+
cdk8s_renderer_src_logger.warn(`Could not load claim defaults: ${e.message}`);
|
|
366402
|
+
}
|
|
366403
|
+
for (const renderClaim of Object.values(rClaims)) {
|
|
366404
|
+
if (defaults) {
|
|
366405
|
+
renderClaim.claim = loader_patchClaim(renderClaim.claim, defaults);
|
|
366406
|
+
}
|
|
366407
|
+
validateClaim(renderClaim.claim);
|
|
366405
366408
|
}
|
|
366406
366409
|
// type: is the kind of the claim
|
|
366407
366410
|
// value: is the imported-ref (the name in Github, can be with special characters, spaces, etc)
|
|
@@ -377106,7 +377109,7 @@ const crs_analyzerSubcommand = {
|
|
|
377106
377109
|
};
|
|
377107
377110
|
|
|
377108
377111
|
;// CONCATENATED MODULE: ./package.json
|
|
377109
|
-
const package_namespaceObject = JSON.parse('{"i8":"1.59.0-snapshot-
|
|
377112
|
+
const package_namespaceObject = JSON.parse('{"i8":"1.59.0-snapshot-19"}');
|
|
377110
377113
|
;// CONCATENATED MODULE: ../../package.json
|
|
377111
377114
|
const package_namespaceObject_1 = {"i8":"1.59.3"};
|
|
377112
377115
|
;// CONCATENATED MODULE: ./src/subcommands/index.ts
|