@rankcli/cli 0.0.34 → 0.0.35
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 +6 -4
- package/dist/index.mjs +6 -4
- package/package.json +4 -4
- package/wasm/rankcli_audit_engine_bg.wasm +0 -0
package/dist/index.js
CHANGED
|
@@ -2132,7 +2132,7 @@ async function syncToCloud(url, report, mergedIssues, pagesAudited, aiAnalysis,
|
|
|
2132
2132
|
\u26A0\uFE0F Project limit reached (${data.count}/${data.limit})`));
|
|
2133
2133
|
console.error(import_chalk4.default.dim(` Upgrade at: ${WEB_APP_URL}/account`));
|
|
2134
2134
|
} else {
|
|
2135
|
-
console.error(import_chalk4.default.dim(data.error ||
|
|
2135
|
+
console.error(import_chalk4.default.dim(data.error || `Cloud sync failed (HTTP ${res.status})`));
|
|
2136
2136
|
}
|
|
2137
2137
|
return null;
|
|
2138
2138
|
}
|
|
@@ -2142,7 +2142,7 @@ async function syncToCloud(url, report, mergedIssues, pagesAudited, aiAnalysis,
|
|
|
2142
2142
|
}
|
|
2143
2143
|
return { projectId: data.projectId, auditId: data.auditId };
|
|
2144
2144
|
} catch (error) {
|
|
2145
|
-
console.error(import_chalk4.default.dim(
|
|
2145
|
+
console.error(import_chalk4.default.dim(`Cloud sync failed: ${error instanceof Error ? error.message : String(error)}`));
|
|
2146
2146
|
return null;
|
|
2147
2147
|
}
|
|
2148
2148
|
}
|
|
@@ -2797,7 +2797,9 @@ async function runFix(options) {
|
|
|
2797
2797
|
analyzeSpinner?.fail(`Analysis failed: ${errorMsg}`);
|
|
2798
2798
|
return { success: false, error: `Analysis failed: ${errorMsg}` };
|
|
2799
2799
|
}
|
|
2800
|
-
analyzeSpinner?.succeed(
|
|
2800
|
+
analyzeSpinner?.succeed(
|
|
2801
|
+
`${issues.length} fixable issue(s) found (quick scan: ${score}/100 - \`rankcli audit\` runs the full check set)`
|
|
2802
|
+
);
|
|
2801
2803
|
if (options.only && options.only.length > 0) {
|
|
2802
2804
|
const onlyCodes = new Set(options.only.map((c) => c.toUpperCase()));
|
|
2803
2805
|
issues = issues.filter((i) => onlyCodes.has(i.code.toUpperCase()));
|
|
@@ -4237,7 +4239,7 @@ async function testWebhook(channel, webhookUrl) {
|
|
|
4237
4239
|
}
|
|
4238
4240
|
|
|
4239
4241
|
// src/version.ts
|
|
4240
|
-
var VERSION = "0.0.
|
|
4242
|
+
var VERSION = "0.0.35";
|
|
4241
4243
|
|
|
4242
4244
|
// src/index.ts
|
|
4243
4245
|
var program = new import_commander.Command();
|
package/dist/index.mjs
CHANGED
|
@@ -1953,7 +1953,7 @@ async function syncToCloud(url, report, mergedIssues, pagesAudited, aiAnalysis,
|
|
|
1953
1953
|
\u26A0\uFE0F Project limit reached (${data.count}/${data.limit})`));
|
|
1954
1954
|
console.error(chalk4.dim(` Upgrade at: ${WEB_APP_URL}/account`));
|
|
1955
1955
|
} else {
|
|
1956
|
-
console.error(chalk4.dim(data.error ||
|
|
1956
|
+
console.error(chalk4.dim(data.error || `Cloud sync failed (HTTP ${res.status})`));
|
|
1957
1957
|
}
|
|
1958
1958
|
return null;
|
|
1959
1959
|
}
|
|
@@ -1963,7 +1963,7 @@ async function syncToCloud(url, report, mergedIssues, pagesAudited, aiAnalysis,
|
|
|
1963
1963
|
}
|
|
1964
1964
|
return { projectId: data.projectId, auditId: data.auditId };
|
|
1965
1965
|
} catch (error) {
|
|
1966
|
-
console.error(chalk4.dim(
|
|
1966
|
+
console.error(chalk4.dim(`Cloud sync failed: ${error instanceof Error ? error.message : String(error)}`));
|
|
1967
1967
|
return null;
|
|
1968
1968
|
}
|
|
1969
1969
|
}
|
|
@@ -2628,7 +2628,9 @@ async function runFix(options) {
|
|
|
2628
2628
|
analyzeSpinner?.fail(`Analysis failed: ${errorMsg}`);
|
|
2629
2629
|
return { success: false, error: `Analysis failed: ${errorMsg}` };
|
|
2630
2630
|
}
|
|
2631
|
-
analyzeSpinner?.succeed(
|
|
2631
|
+
analyzeSpinner?.succeed(
|
|
2632
|
+
`${issues.length} fixable issue(s) found (quick scan: ${score}/100 - \`rankcli audit\` runs the full check set)`
|
|
2633
|
+
);
|
|
2632
2634
|
if (options.only && options.only.length > 0) {
|
|
2633
2635
|
const onlyCodes = new Set(options.only.map((c) => c.toUpperCase()));
|
|
2634
2636
|
issues = issues.filter((i) => onlyCodes.has(i.code.toUpperCase()));
|
|
@@ -4093,7 +4095,7 @@ async function testWebhook(channel, webhookUrl) {
|
|
|
4093
4095
|
}
|
|
4094
4096
|
|
|
4095
4097
|
// src/version.ts
|
|
4096
|
-
var VERSION = "0.0.
|
|
4098
|
+
var VERSION = "0.0.35";
|
|
4097
4099
|
|
|
4098
4100
|
// src/index.ts
|
|
4099
4101
|
var program = new Command();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rankcli/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"description": "RankCLI - Ship code, get ranked. SEO meets CI/CD.",
|
|
5
5
|
"homepage": "https://rankcli.dev",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"build": "npm run build:checks && npm run build:wasm && npm run build:js",
|
|
34
34
|
"build:js": "npm run update-version && tsup src/index.ts src/wasm-engine.ts --format cjs,esm --dts",
|
|
35
35
|
"build:checks": "test -d ../agent-runtime && (cd ../agent-runtime && pnpm build:wasm) || echo 'agent-runtime not present as a monorepo sibling - build.rs will fall back to the node_modules-installed bundle'",
|
|
36
|
-
"build:wasm": "cd native && wasm-pack build --target nodejs --release &&
|
|
37
|
-
"build:wasm:dev": "cd native && wasm-pack build --target nodejs --dev &&
|
|
36
|
+
"build:wasm": "cd native && wasm-pack build --target nodejs --release && cd .. && node scripts/finish-wasm.js",
|
|
37
|
+
"build:wasm:dev": "cd native && wasm-pack build --target nodejs --dev && cd .. && node scripts/finish-wasm.js --no-verify",
|
|
38
38
|
"prebuild:wasm": "mkdir -p wasm",
|
|
39
39
|
"inject-config": "node scripts/inject-config.js",
|
|
40
40
|
"build:sea": "bash scripts/build-sea.sh",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"update-version": "node scripts/update-version.js"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@rankcli/agent-runtime": "^0.0.
|
|
48
|
+
"@rankcli/agent-runtime": "^0.0.25",
|
|
49
49
|
"@supabase/supabase-js": "^2.98.0",
|
|
50
50
|
"chalk": "^5.3.0",
|
|
51
51
|
"commander": "^12.0.0",
|
|
Binary file
|