@monodog/backend 1.5.1 → 1.5.2

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.
@@ -50,8 +50,8 @@ function loadConfig() {
50
50
  // 1. Determine the path to the config file
51
51
  // We assume the backend package is running from the monorepo root (cwd is root)
52
52
  // or that we can navigate up to the root from the current file's location.
53
- let rootPath = path.resolve(process.cwd(), '..', '..'); // Adjust based on your workspace folder depth from root if needed
54
- let configPath = path.resolve(rootPath, 'monodog-conf.json');
53
+ const rootPath = path.resolve(process.cwd(), '..', '..'); // Adjust based on your workspace folder depth from root if needed
54
+ const configPath = path.resolve(rootPath, 'monodog-conf.json');
55
55
  createConfigFileIfMissing(rootPath);
56
56
  if (!fs.existsSync(configPath)) {
57
57
  console.error(`ERROR1: Configuration file not found at ${configPath}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monodog/backend",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Backend API server for monodog monorepo dashboard",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -40,8 +40,8 @@ export function loadConfig(): MonodogConfig {
40
40
  // 1. Determine the path to the config file
41
41
  // We assume the backend package is running from the monorepo root (cwd is root)
42
42
  // or that we can navigate up to the root from the current file's location.
43
- let rootPath = path.resolve(process.cwd(),'..','..'); // Adjust based on your workspace folder depth from root if needed
44
- let configPath = path.resolve(rootPath, 'monodog-conf.json');
43
+ const rootPath = path.resolve(process.cwd(),'..','..'); // Adjust based on your workspace folder depth from root if needed
44
+ const configPath = path.resolve(rootPath, 'monodog-conf.json');
45
45
  createConfigFileIfMissing(rootPath);
46
46
 
47
47
  if (!fs.existsSync(configPath)) {