@rankcli/cli 0.0.41 → 0.0.42

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/dist/index.js CHANGED
@@ -2092,7 +2092,7 @@ function mergeIssues(issueArrays) {
2092
2092
  }
2093
2093
  return Array.from(issueMap.values());
2094
2094
  }
2095
- async function syncToCloud(url, report, mergedIssues, pagesAudited, aiAnalysis, durationMs, checksRun) {
2095
+ async function syncToCloud(url, report, mergedIssues, pagesAudited, aiAnalysis, durationMs, checksRun, framework) {
2096
2096
  let authHeader = null;
2097
2097
  if (isApiKeyAuth()) {
2098
2098
  const apiKey = getApiKey();
@@ -2124,7 +2124,8 @@ async function syncToCloud(url, report, mergedIssues, pagesAudited, aiAnalysis,
2124
2124
  checksRun,
2125
2125
  durationMs,
2126
2126
  healthScores,
2127
- aiAnalysis
2127
+ aiAnalysis,
2128
+ framework
2128
2129
  })
2129
2130
  });
2130
2131
  const data = await res.json();
@@ -2369,7 +2370,7 @@ async function audit(options) {
2369
2370
  if (json) {
2370
2371
  let syncResult = null;
2371
2372
  if (loggedIn) {
2372
- syncResult = await syncToCloud(url, primaryReport, mergedIssues, successCount, aiAnalysis, totalTime, actualChecksRun);
2373
+ syncResult = await syncToCloud(url, primaryReport, mergedIssues, successCount, aiAnalysis, totalTime, actualChecksRun, frameworkName);
2373
2374
  }
2374
2375
  const jsonOutput = {
2375
2376
  url,
@@ -2467,7 +2468,7 @@ async function audit(options) {
2467
2468
  console.log("\n" + import_chalk4.default.bold("\u2550".repeat(60)));
2468
2469
  if (loggedIn) {
2469
2470
  const syncSpinner = (0, import_ora2.default)("Syncing to cloud...").start();
2470
- const syncResult = await syncToCloud(url, primaryReport, mergedIssues, successCount, aiAnalysis, totalTime, actualChecksRun);
2471
+ const syncResult = await syncToCloud(url, primaryReport, mergedIssues, successCount, aiAnalysis, totalTime, actualChecksRun, frameworkName);
2471
2472
  if (syncResult) {
2472
2473
  syncSpinner.succeed("Results synced to cloud");
2473
2474
  console.log(import_chalk4.default.cyan(`
@@ -4299,7 +4300,7 @@ async function testWebhook(channel, webhookUrl) {
4299
4300
  }
4300
4301
 
4301
4302
  // src/version.ts
4302
- var VERSION = "0.0.41";
4303
+ var VERSION = "0.0.42";
4303
4304
 
4304
4305
  // src/index.ts
4305
4306
  var program = new import_commander.Command();
package/dist/index.mjs CHANGED
@@ -1913,7 +1913,7 @@ function mergeIssues(issueArrays) {
1913
1913
  }
1914
1914
  return Array.from(issueMap.values());
1915
1915
  }
1916
- async function syncToCloud(url, report, mergedIssues, pagesAudited, aiAnalysis, durationMs, checksRun) {
1916
+ async function syncToCloud(url, report, mergedIssues, pagesAudited, aiAnalysis, durationMs, checksRun, framework) {
1917
1917
  let authHeader = null;
1918
1918
  if (isApiKeyAuth()) {
1919
1919
  const apiKey = getApiKey();
@@ -1945,7 +1945,8 @@ async function syncToCloud(url, report, mergedIssues, pagesAudited, aiAnalysis,
1945
1945
  checksRun,
1946
1946
  durationMs,
1947
1947
  healthScores,
1948
- aiAnalysis
1948
+ aiAnalysis,
1949
+ framework
1949
1950
  })
1950
1951
  });
1951
1952
  const data = await res.json();
@@ -2190,7 +2191,7 @@ async function audit(options) {
2190
2191
  if (json) {
2191
2192
  let syncResult = null;
2192
2193
  if (loggedIn) {
2193
- syncResult = await syncToCloud(url, primaryReport, mergedIssues, successCount, aiAnalysis, totalTime, actualChecksRun);
2194
+ syncResult = await syncToCloud(url, primaryReport, mergedIssues, successCount, aiAnalysis, totalTime, actualChecksRun, frameworkName);
2194
2195
  }
2195
2196
  const jsonOutput = {
2196
2197
  url,
@@ -2288,7 +2289,7 @@ async function audit(options) {
2288
2289
  console.log("\n" + chalk4.bold("\u2550".repeat(60)));
2289
2290
  if (loggedIn) {
2290
2291
  const syncSpinner = ora2("Syncing to cloud...").start();
2291
- const syncResult = await syncToCloud(url, primaryReport, mergedIssues, successCount, aiAnalysis, totalTime, actualChecksRun);
2292
+ const syncResult = await syncToCloud(url, primaryReport, mergedIssues, successCount, aiAnalysis, totalTime, actualChecksRun, frameworkName);
2292
2293
  if (syncResult) {
2293
2294
  syncSpinner.succeed("Results synced to cloud");
2294
2295
  console.log(chalk4.cyan(`
@@ -4155,7 +4156,7 @@ async function testWebhook(channel, webhookUrl) {
4155
4156
  }
4156
4157
 
4157
4158
  // src/version.ts
4158
- var VERSION = "0.0.41";
4159
+ var VERSION = "0.0.42";
4159
4160
 
4160
4161
  // src/index.ts
4161
4162
  var program = new Command();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rankcli/cli",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "description": "RankCLI - Ship code, get ranked. SEO meets CI/CD.",
5
5
  "homepage": "https://rankcli.dev",
6
6
  "main": "dist/index.js",
@@ -45,7 +45,7 @@
45
45
  "update-version": "node scripts/update-version.js"
46
46
  },
47
47
  "dependencies": {
48
- "@rankcli/agent-runtime": "^0.0.29",
48
+ "@rankcli/agent-runtime": "^0.0.30",
49
49
  "@supabase/supabase-js": "^2.98.0",
50
50
  "chalk": "^5.3.0",
51
51
  "commander": "^12.0.0",
Binary file