roast-my-codebase 1.3.3 → 1.3.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/dist/index.js +2 -11
- package/package.json +9 -1
package/dist/index.js
CHANGED
|
@@ -11179,7 +11179,6 @@ function isValidPlugin(plugin) {
|
|
|
11179
11179
|
|
|
11180
11180
|
// src/serve/index.ts
|
|
11181
11181
|
import http from "http";
|
|
11182
|
-
import { execFile } from "child_process";
|
|
11183
11182
|
import chokidar2 from "chokidar";
|
|
11184
11183
|
var COLORS = {
|
|
11185
11184
|
bg: "#0d1117",
|
|
@@ -12018,16 +12017,8 @@ function startDashboard(report, port = 7777, options) {
|
|
|
12018
12017
|
\u2713 Dashboard running at http://localhost:${actualPort}`);
|
|
12019
12018
|
console.log(" Press Ctrl+C to stop\n");
|
|
12020
12019
|
const url = `http://localhost:${actualPort}`;
|
|
12021
|
-
|
|
12022
|
-
|
|
12023
|
-
});
|
|
12024
|
-
} else if (process.platform === "darwin") {
|
|
12025
|
-
execFile("open", [url], () => {
|
|
12026
|
-
});
|
|
12027
|
-
} else {
|
|
12028
|
-
execFile("xdg-open", [url], () => {
|
|
12029
|
-
});
|
|
12030
|
-
}
|
|
12020
|
+
import("open").then((mod) => mod.default(url)).catch(() => {
|
|
12021
|
+
});
|
|
12031
12022
|
if (options?.watch && options?.rootDir && options?.rescan) {
|
|
12032
12023
|
const watcher = chokidar2.watch(
|
|
12033
12024
|
["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", "**/*.py", "**/*.go", "**/*.rs", "**/*.java", "**/*.cs", "**/*.rb", "**/*.php", "**/*.swift", "**/*.kt"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "roast-my-codebase",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Get roasted. Get better. Ship faster. A CLI that analyzes your codebase and delivers brutally honest (but funny) feedback.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -41,6 +41,13 @@
|
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=20"
|
|
43
43
|
},
|
|
44
|
+
"socket": {
|
|
45
|
+
"allow": [
|
|
46
|
+
"network",
|
|
47
|
+
"shell"
|
|
48
|
+
],
|
|
49
|
+
"comment": "Network: user-triggered webhook notifications (--notify) and GitHub PR comments (--pr-comment). Shell: spawns git/npm as subprocess with argument arrays (no shell interpolation) for git-insights, dep-health, and incremental diff scanning."
|
|
50
|
+
},
|
|
44
51
|
"dependencies": {
|
|
45
52
|
"@anthropic-ai/sdk": "^0.106.0",
|
|
46
53
|
"@inquirer/prompts": "^8.5.2",
|
|
@@ -50,6 +57,7 @@
|
|
|
50
57
|
"chokidar": "^5.0.0",
|
|
51
58
|
"commander": "^15.0.0",
|
|
52
59
|
"fast-glob": "^3.3.3",
|
|
60
|
+
"open": "^11.0.0",
|
|
53
61
|
"ora": "^9.4.1",
|
|
54
62
|
"picomatch": "^4.0.4"
|
|
55
63
|
},
|