@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 +1 -1
- package/package.json +1 -1
- package/src/cli.ts +1 -1
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
|
|
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
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
|
|
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
|
}
|