@wundr.io/cli 1.0.5 → 1.0.6
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/bin/wundr.js +5 -1
- package/package.json +3 -2
package/bin/wundr.js
CHANGED
|
@@ -32,7 +32,11 @@ if (isDevelopment && existsSync(srcPath)) {
|
|
|
32
32
|
}
|
|
33
33
|
} else if (existsSync(distPath)) {
|
|
34
34
|
// Production: use compiled JavaScript
|
|
35
|
-
require(distPath);
|
|
35
|
+
const cli = require(distPath);
|
|
36
|
+
// Call main() since require.main check in index.js won't trigger
|
|
37
|
+
if (typeof cli.main === 'function') {
|
|
38
|
+
cli.main();
|
|
39
|
+
}
|
|
36
40
|
} else {
|
|
37
41
|
console.error('Wundr CLI not properly installed. Please reinstall the package.');
|
|
38
42
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wundr.io/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Unified CLI framework for the Wundr platform",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wundr",
|
|
@@ -60,7 +60,8 @@
|
|
|
60
60
|
"@wundr.io/config": "^1.0.0",
|
|
61
61
|
"@wundr.io/core": "^1.0.0",
|
|
62
62
|
"@wundr.io/governance": "^1.0.0",
|
|
63
|
-
"@wundr.io/
|
|
63
|
+
"@wundr.io/vp-daemon": "^1.0.0",
|
|
64
|
+
"@wundr/guardian-dashboard": "^1.0.0",
|
|
64
65
|
"axios": "^1.11.0",
|
|
65
66
|
"blessed": "^0.1.81",
|
|
66
67
|
"blessed-contrib": "^4.11.0",
|