@monodog/backend 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/cli.js CHANGED
@@ -110,16 +110,15 @@ Example:
110
110
  }
111
111
  // --- Execution Logic ---
112
112
  if (serve) {
113
- console.log(`\nInitializing Configurations...`);
114
- createConfigFileIfMissing(rootPath ?? process.cwd());
115
113
  console.log(`Starting Monodog API server...`);
116
114
  console.log(`Analyzing monorepo at root: ${rootPath}`);
117
115
  // Start the Express server and begin analysis
118
116
  (0, index_1.startServer)(rootPath, port, host);
119
- copyPackageToWorkspace(rootPath);
120
117
  }
121
118
  else {
122
- // Default mode: print usage or run a default report if no command is specified
119
+ console.log(`\nInitializing Configurations...`);
120
+ createConfigFileIfMissing(rootPath ?? process.cwd());
121
+ copyPackageToWorkspace(rootPath);
123
122
  console.log(`Monodog CLI: No operation specified. Use --serve to start the API or -h for help. Ex: pnpm monodog-cli @monodog/dashboard --serve --root .`);
124
123
  }
125
124
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monodog/backend",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
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
@@ -83,16 +83,16 @@ Example:
83
83
  // --- Execution Logic ---
84
84
 
85
85
  if (serve) {
86
- console.log(`\nInitializing Configurations...`);
87
- createConfigFileIfMissing(rootPath ?? process.cwd());
88
-
89
86
  console.log(`Starting Monodog API server...`);
90
87
  console.log(`Analyzing monorepo at root: ${rootPath}`);
91
88
  // Start the Express server and begin analysis
92
89
  startServer(rootPath, port, host);
93
- copyPackageToWorkspace(rootPath);
94
90
  } else {
95
- // Default mode: print usage or run a default report if no command is specified
91
+ console.log(`\nInitializing Configurations...`);
92
+
93
+ createConfigFileIfMissing(rootPath ?? process.cwd());
94
+ copyPackageToWorkspace(rootPath);
95
+
96
96
  console.log(`Monodog CLI: No operation specified. Use --serve to start the API or -h for help. Ex: pnpm monodog-cli @monodog/dashboard --serve --root .`);
97
97
  }
98
98
 
package/monodog-conf.json DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "workspace": {
3
- "root_dir": "../../"
4
- },
5
- "database": {
6
- "path": "file:./monolite.db"
7
- },
8
- "server": {
9
- "host": "0.0.0.0",
10
- "port": 4002
11
- }
12
- }