@manaflow-ai/cloudrouter 0.9.8 → 0.9.10
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/cloudrouter +10 -25
- package/lib/cloudrouter +0 -0
- package/package.json +6 -6
package/bin/cloudrouter
CHANGED
|
@@ -1,27 +1,12 @@
|
|
|
1
|
-
#!/
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
const { execFileSync } = require("child_process");
|
|
8
|
-
const path = require("path");
|
|
9
|
-
const fs = require("fs");
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# Wrapper script for cloudrouter CLI
|
|
3
|
+
# This file may be replaced by postinstall with the platform-specific binary
|
|
4
|
+
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
5
|
+
LIB_BINARY="$SCRIPT_DIR/../lib/cloudrouter"
|
|
10
6
|
|
|
11
|
-
|
|
7
|
+
if [ -f "$LIB_BINARY" ] && [ -x "$LIB_BINARY" ]; then
|
|
8
|
+
exec "$LIB_BINARY" "$@"
|
|
9
|
+
fi
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const result = execFileSync(libBinary, process.argv.slice(2), {
|
|
16
|
-
stdio: "inherit",
|
|
17
|
-
env: process.env,
|
|
18
|
-
});
|
|
19
|
-
process.exit(0);
|
|
20
|
-
} catch (e) {
|
|
21
|
-
process.exit(e.status || 1);
|
|
22
|
-
}
|
|
23
|
-
} else {
|
|
24
|
-
console.error("cloudrouter: binary not found. Try reinstalling:");
|
|
25
|
-
console.error(" npm install -g @manaflow-ai/cloudrouter");
|
|
26
|
-
process.exit(1);
|
|
27
|
-
}
|
|
11
|
+
echo "cloudrouter: binary not found. Try reinstalling: npm install -g @manaflow-ai/cloudrouter" >&2
|
|
12
|
+
exit 1
|
package/lib/cloudrouter
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manaflow-ai/cloudrouter",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.10",
|
|
4
4
|
"description": "CLI tool to instantly spin up cloud VMs preloaded with Chrome, VNC, SSH, and rsync",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"postinstall": "node lib/postinstall.js"
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"@manaflow-ai/cloudrouter-darwin-arm64": "0.9.
|
|
35
|
-
"@manaflow-ai/cloudrouter-darwin-x64": "0.9.
|
|
36
|
-
"@manaflow-ai/cloudrouter-linux-arm64": "0.9.
|
|
37
|
-
"@manaflow-ai/cloudrouter-linux-x64": "0.9.
|
|
38
|
-
"@manaflow-ai/cloudrouter-win32-x64": "0.9.
|
|
34
|
+
"@manaflow-ai/cloudrouter-darwin-arm64": "0.9.9",
|
|
35
|
+
"@manaflow-ai/cloudrouter-darwin-x64": "0.9.9",
|
|
36
|
+
"@manaflow-ai/cloudrouter-linux-arm64": "0.9.9",
|
|
37
|
+
"@manaflow-ai/cloudrouter-linux-x64": "0.9.9",
|
|
38
|
+
"@manaflow-ai/cloudrouter-win32-x64": "0.9.9"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=16"
|