@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 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
- // startServer(rootPath);
94
+ (0, index_1.startServer)(rootPath);
94
95
  copyPackageToWorkspace(rootPath);
95
96
  }
96
97
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monodog/backend",
3
- "version": "1.1.19",
3
+ "version": "1.1.20",
4
4
  "description": "Backend API server for monodog monorepo dashboard",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
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
- // startServer(rootPath);
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