@astrale-os/cli 1.0.0-beta.2 → 1.0.0-beta.4
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 +15 -0
- package/dist/astrale.js +501 -396
- package/dist/public/connect-core.js +49 -12
- package/dist/public/keys/index.js +1 -1
- package/dist/public/paths/index.js +1 -1
- package/dist/types/lib/admin-target.d.ts +6 -2
- package/dist/types/lib/proc.d.ts +43 -0
- package/dist/types/lib/update.d.ts +101 -0
- package/package.json +4 -4
- package/src/admin/__tests__/binding.test.ts +38 -0
- package/src/admin/binding.ts +9 -159
- package/src/lib/__tests__/admin-target.test.ts +12 -0
- package/src/lib/__tests__/idp.test.ts +9 -4
- package/src/lib/admin-target.ts +21 -2
- package/src/lib/idp.ts +5 -2
- package/viewer/dist/main.js +1 -1
package/README.md
CHANGED
|
@@ -162,3 +162,18 @@ bun cli/bin/astrale.ts <command>
|
|
|
162
162
|
# Build the CLI
|
|
163
163
|
pnpm -C cli build
|
|
164
164
|
```
|
|
165
|
+
|
|
166
|
+
### Testing local changes live: `astrale-dev`
|
|
167
|
+
|
|
168
|
+
When developing inside the [workspace](https://github.com/astrale-os/workspace),
|
|
169
|
+
`astrale` stays the official released CLI. To run your local CLI source live
|
|
170
|
+
(no build, no global link), use `astrale-dev`:
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
astrale-dev <command> # execs `bun <workspace>/cli/bin/astrale.ts` of the
|
|
174
|
+
# workspace/worktree you are currently in
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
It resolves the workspace from your current directory, so each worktree runs its
|
|
178
|
+
own source, and outside a workspace it refuses (use `astrale`). It is installed
|
|
179
|
+
by the workspace's `./scripts/init-machine.sh`.
|