simplecloud 0.0.1-beta.73 → 0.0.1-beta.75
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/README.md +38 -1
- package/dist/cli.js +582 -440
- package/dist/index.js +556 -431
- package/dist/parser.worker-xpr6wek2.js +4561 -0
- package/dist/tree-sitter-3jzf13jk.wasm +0 -0
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -74,7 +74,7 @@ node dist/cli.js start group test
|
|
|
74
74
|
Create a local `scl` alias that points to your development build:
|
|
75
75
|
|
|
76
76
|
```bash
|
|
77
|
-
bun run local:setup # Creates 'scl'
|
|
77
|
+
bun run local:setup # Creates 'scl' and 'scld' aliases in ~/.zshrc
|
|
78
78
|
source ~/.zshrc # Reload shell config
|
|
79
79
|
```
|
|
80
80
|
|
|
@@ -87,6 +87,43 @@ scl start group mygroup
|
|
|
87
87
|
|
|
88
88
|
**Pro Tip**: Run `bun run dev` in one terminal and use `scl` commands in another terminal for seamless development with auto-rebuilding!
|
|
89
89
|
|
|
90
|
+
To test the current build in a fresh Linux environment without Java or Screen,
|
|
91
|
+
use the disposable Docker runner:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
scld setupv2
|
|
95
|
+
scld server list
|
|
96
|
+
scld network list
|
|
97
|
+
scld --help
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
To reuse your current SimpleCloud login while keeping the rest of the sandbox
|
|
101
|
+
clean, add `--host-session`:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
scld --host-session network list
|
|
105
|
+
scld --host-session setupv2
|
|
106
|
+
scld --host-session shell
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
This copies only `~/.config/simplecloud/auth.json` into the disposable
|
|
110
|
+
container. Host contexts and installation paths are intentionally not shared,
|
|
111
|
+
and changes to the session inside the container do not modify the host file.
|
|
112
|
+
|
|
113
|
+
The project is mounted read-only into an official Bun container. Credentials,
|
|
114
|
+
Java, and installed SimpleCloud files are removed with the container when the
|
|
115
|
+
command exits. A Linux Bun dependency volume is reused between runs and only
|
|
116
|
+
refreshes when `package.json` or `bun.lock` changes. Every CLI command is
|
|
117
|
+
supported. Use `scld shell` for a longer interactive session; the `scl` command
|
|
118
|
+
is available inside it, so authentication and installation state remain
|
|
119
|
+
available until you exit that shell.
|
|
120
|
+
|
|
121
|
+
Without the local alias, run the same sandbox through Bun:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
bun run scld -- setupv2
|
|
125
|
+
```
|
|
126
|
+
|
|
90
127
|
**Option 2: npm link (Development Symlink)**
|
|
91
128
|
|
|
92
129
|
Creates symlinks to global npm location (uses same command names):
|