@monodog/backend 1.1.19 → 1.1.20
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/cli.js +2 -1
- package/package.json +1 -1
- package/src/cli.ts +1 -1
package/dist/cli.js
CHANGED
|
@@ -44,6 +44,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
44
44
|
*/
|
|
45
45
|
const fs = __importStar(require("fs"));
|
|
46
46
|
const path = __importStar(require("path"));
|
|
47
|
+
const index_1 = require("./index"); // Assume index.ts exports this function
|
|
47
48
|
// --- Argument Parsing ---
|
|
48
49
|
// 1. Get arguments excluding the node executable and script name
|
|
49
50
|
const args = process.argv.slice(2);
|
|
@@ -90,7 +91,7 @@ if (serve) {
|
|
|
90
91
|
console.log(`Starting Monodog API server...`);
|
|
91
92
|
console.log(`Analyzing monorepo at root: ${rootPath}`);
|
|
92
93
|
// Start the Express server and begin analysis
|
|
93
|
-
|
|
94
|
+
(0, index_1.startServer)(rootPath);
|
|
94
95
|
copyPackageToWorkspace(rootPath);
|
|
95
96
|
}
|
|
96
97
|
else {
|
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -62,7 +62,7 @@ if (serve) {
|
|
|
62
62
|
console.log(`Starting Monodog API server...`);
|
|
63
63
|
console.log(`Analyzing monorepo at root: ${rootPath}`);
|
|
64
64
|
// Start the Express server and begin analysis
|
|
65
|
-
|
|
65
|
+
startServer(rootPath);
|
|
66
66
|
copyPackageToWorkspace(rootPath);
|
|
67
67
|
} else {
|
|
68
68
|
// Default mode: print usage or run a default report if no command is specified
|