@firestartr/cli 1.44.1-snapshot-1 → 1.44.1-snapshot-4

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
@@ -278138,6 +278138,8 @@ var dist_node = __nccwpck_require__(53317);
278138
278138
  const generateGithubAppToken = async (config) => {
278139
278139
  try {
278140
278140
  const { appId, privateKey, installationOrgId } = config;
278141
+ console.log(`--------------------------------- ${appId} -------------------------------------`);
278142
+ console.log(`--------------------------------- ${installationOrgId} -------------------------------------`);
278141
278143
  const auth = (0,dist_node.createAppAuth)({
278142
278144
  appId: appId,
278143
278145
  privateKey: privateKey,
@@ -284255,6 +284257,7 @@ async function prepareFeature(featureName, version, repo = 'features', owner = '
284255
284257
  }
284256
284258
  async function downloadFeatureZip(repo, featureName, reference, owner = 'prefapp') {
284257
284259
  try {
284260
+ console.log(`--------------------------------- ${owner} -------------------------------------`);
284258
284261
  const octokit = await github_0.getOctokitForOrg(owner);
284259
284262
  const zipballExtractPath = catalog_common.features.tarballs.getFeaturesExtractPath(featureName, reference, { createIfNotExists: true });
284260
284263
  console.log(`Zipball extract path: ${zipballExtractPath}`);
@@ -284398,7 +284401,7 @@ class FeaturesOverrider extends OverriderPatches {
284398
284401
  }
284399
284402
  async __patches(claim, _previousCR) {
284400
284403
  const featureName = this.featureName;
284401
- const featureVersion = this.featureVersion;
284404
+ const featureVersion = this.featureVersion || this.featureRef;
284402
284405
  const featureArgs = this.featureArgs;
284403
284406
  const fSetUpAndRunRenderer = function (cr) {
284404
284407
  return this.setUpAndRunRenderer(cr);
@@ -286944,7 +286947,7 @@ class FeatureRepoChart extends BaseGithubChart {
286944
286947
  spec: {
286945
286948
  context: claim.context,
286946
286949
  type: claim.name,
286947
- version: claim.feature.version || claim.feature.ref,
286950
+ version: claim.feature.version,
286948
286951
  org: claim.org,
286949
286952
  repositoryTarget,
286950
286953
  files: claim.files,
@@ -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.44.1-snapshot-1",
3
+ "version": "1.44.1-snapshot-4",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",