@manaflow-ai/cloudrouter 0.9.26 → 0.9.28
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 +3 -8
- package/lib/cloudrouter +0 -0
- package/package.json +6 -6
package/bin/cloudrouter
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/**
|
|
3
|
-
* Launcher stub for cloudrouter CLI.
|
|
4
|
-
* This file is replaced by the native binary during postinstall.
|
|
5
|
-
* If postinstall didn't run, this falls back to lib/cloudrouter.
|
|
6
|
-
*/
|
|
7
2
|
const { execFileSync } = require("child_process");
|
|
8
3
|
const path = require("path");
|
|
9
4
|
const fs = require("fs");
|
|
10
5
|
|
|
6
|
+
// This is a placeholder that gets overwritten by postinstall.
|
|
7
|
+
// If postinstall didn't run (e.g. npx), fall back to lib/cloudrouter binary.
|
|
11
8
|
const libBinary = path.join(__dirname, "..", "lib", "cloudrouter");
|
|
12
|
-
|
|
13
9
|
if (fs.existsSync(libBinary)) {
|
|
14
10
|
try {
|
|
15
11
|
const result = execFileSync(libBinary, process.argv.slice(2), {
|
|
@@ -21,7 +17,6 @@ if (fs.existsSync(libBinary)) {
|
|
|
21
17
|
process.exit(e.status || 1);
|
|
22
18
|
}
|
|
23
19
|
} else {
|
|
24
|
-
console.error("cloudrouter: binary not found. Try reinstalling:");
|
|
25
|
-
console.error(" npm install -g @manaflow-ai/cloudrouter");
|
|
20
|
+
console.error("cloudrouter: binary not found. Try reinstalling: npm install -g @manaflow-ai/cloudrouter");
|
|
26
21
|
process.exit(1);
|
|
27
22
|
}
|
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.28",
|
|
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.28",
|
|
35
|
+
"@manaflow-ai/cloudrouter-darwin-x64": "0.9.28",
|
|
36
|
+
"@manaflow-ai/cloudrouter-linux-arm64": "0.9.28",
|
|
37
|
+
"@manaflow-ai/cloudrouter-linux-x64": "0.9.28",
|
|
38
|
+
"@manaflow-ai/cloudrouter-win32-x64": "0.9.28"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=16"
|