@monodog/backend 1.4.7 → 1.4.8

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
@@ -132,7 +132,7 @@ function copyPackageToWorkspace(rootDir) {
132
132
  console.error("Error: Please provide the package name as an argument if you want to setup dashboard.");
133
133
  console.log("Usage: pnpm monodog-cli @monodog/dashboard --serve --root .");
134
134
  }
135
- if (packageName !== '@monodog/backend') {
135
+ if (!(packageName == '@monodog/backend' || packageName == '@monodog/dashboard')) {
136
136
  console.log("\n--- Skipping workspace setup for @monodog/backend to avoid self-copying. ---");
137
137
  return;
138
138
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monodog/backend",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "Backend API server for monodog monorepo dashboard",
5
5
  "license": "MIT",
6
6
  "bin": {
package/src/cli.ts CHANGED
@@ -108,7 +108,7 @@ function copyPackageToWorkspace(rootDir: string): void {
108
108
  console.error("Error: Please provide the package name as an argument if you want to setup dashboard.");
109
109
  console.log("Usage: pnpm monodog-cli @monodog/dashboard --serve --root .");
110
110
  }
111
- if(packageName !== '@monodog/backend'){
111
+ if(!(packageName == '@monodog/backend' || packageName == '@monodog/dashboard')){
112
112
  console.log("\n--- Skipping workspace setup for @monodog/backend to avoid self-copying. ---");
113
113
  return;
114
114
  }