buildwithnexus 0.5.7 → 0.5.9
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/bin.js
CHANGED
|
@@ -751,6 +751,9 @@ var init_ssh = __esm({
|
|
|
751
751
|
|
|
752
752
|
// src/cli.ts
|
|
753
753
|
import { Command as Command14 } from "commander";
|
|
754
|
+
import { readFileSync } from "fs";
|
|
755
|
+
import { dirname, join } from "path";
|
|
756
|
+
import { fileURLToPath as fileURLToPath3 } from "url";
|
|
754
757
|
|
|
755
758
|
// src/commands/init.ts
|
|
756
759
|
init_banner();
|
|
@@ -2948,7 +2951,9 @@ var shellCommand2 = new Command13("shell").description("Launch the interactive N
|
|
|
2948
2951
|
});
|
|
2949
2952
|
|
|
2950
2953
|
// src/cli.ts
|
|
2951
|
-
var
|
|
2954
|
+
var __dirname = dirname(fileURLToPath3(import.meta.url));
|
|
2955
|
+
var packageJson = JSON.parse(readFileSync(join(__dirname, "..", "package.json"), "utf-8"));
|
|
2956
|
+
var cli = new Command14().name("buildwithnexus").description("Auto-scaffold and launch a fully autonomous NEXUS runtime").version(packageJson.version);
|
|
2952
2957
|
cli.addCommand(initCommand);
|
|
2953
2958
|
cli.addCommand(startCommand);
|
|
2954
2959
|
cli.addCommand(stopCommand);
|
|
Binary file
|
|
@@ -10,7 +10,7 @@ users:
|
|
|
10
10
|
runcmd:
|
|
11
11
|
# Wait for network + install packages (QEMU SLIRP DNS is slow at boot)
|
|
12
12
|
- |
|
|
13
|
-
PACKAGES="docker.io docker-compose software-properties-common git curl wget jq tmux auditd ufw libvirt-daemon libvirt-daemon-system libvirt-clients"
|
|
13
|
+
PACKAGES="openssh-server docker.io docker-compose software-properties-common git curl wget jq tmux auditd ufw libvirt-daemon libvirt-daemon-system libvirt-clients"
|
|
14
14
|
for attempt in $(seq 1 10); do
|
|
15
15
|
apt-get update && \
|
|
16
16
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --fix-missing $PACKAGES && \
|