@firestartr/cli 1.42.1-snapshot-1 → 1.42.1-snapshot-2

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 CHANGED
@@ -287330,6 +287330,7 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
287330
287330
  const lazy_loader_log = src_default()('firestartr:renderer:lazy_loader');
287331
287331
  async function loadClaim(claimRef, org, defaults, patchClaim, loadInitializers, loadGlobals, loadOverrides, loadNormalizers, cwd, existingRefs = {}) {
287332
287332
  let result = existingRefs;
287333
+ lazy_loader_log(`Load reference ${claimRef}`);
287333
287334
  initVirtualClaims(org);
287334
287335
  // cargas datos con grep
287335
287336
  const claimData = await lazyGetClaim(claimRef.split(/-/)[0], claimRef.replace(/^[^-]+-/, ''), org, cwd);
@@ -287357,6 +287358,7 @@ const LoadedClaims = {};
287357
287358
  const VisitedClaims = {};
287358
287359
  async function lazyGetClaim(kind, name, org, cwd) {
287359
287360
  const indice = `${kind}-${name}`;
287361
+ lazy_loader_log(`Lazy loading ${kind}-${name} with index ${indice}`);
287360
287362
  if (indice in LoadedClaims)
287361
287363
  return LoadedClaims[indice];
287362
287364
  if (isVirtualClaim(kind, name)) {
@@ -287445,6 +287447,7 @@ async function setNonVirtualClaimAdditionalData(renderedData, claim, claimRef, l
287445
287447
  async function loadVirtualClaim(kind, name, org) {
287446
287448
  const virtualClaim = getVirtualClaim(kind, name);
287447
287449
  const expandedClaim = await virtualClaim.expand({ org });
287450
+ lazy_loader_log(`Loading virtual claim ${kind} ${name} ${org}`);
287448
287451
  LoadedClaims[`${kind}-${name}`] = catalog_common.io.toYaml(expandedClaim);
287449
287452
  VisitedClaims[`${kind}-${name}`] = 'virtual';
287450
287453
  }
@@ -428,7 +428,7 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
428
428
  verified_at: string;
429
429
  };
430
430
  };
431
- author: Record<string, never> | {
431
+ author: {
432
432
  name?: string;
433
433
  email?: string;
434
434
  login: string;
@@ -451,8 +451,8 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
451
451
  site_admin: boolean;
452
452
  starred_at?: string;
453
453
  user_view_type?: string;
454
- };
455
- committer: Record<string, never> | {
454
+ } | Record<string, never>;
455
+ committer: {
456
456
  name?: string;
457
457
  email?: string;
458
458
  login: string;
@@ -475,7 +475,7 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
475
475
  site_admin: boolean;
476
476
  starred_at?: string;
477
477
  user_view_type?: string;
478
- };
478
+ } | Record<string, never>;
479
479
  parents: {
480
480
  sha: string;
481
481
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.42.1-snapshot-1",
3
+ "version": "1.42.1-snapshot-2",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",