@deslop/stash 0.1.1022 → 0.1.1060
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 -4
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,13 +33,24 @@ The CLI saves the entry through the server's RPC, waits until the server has rea
|
|
|
33
33
|
|
|
34
34
|
## Releases
|
|
35
35
|
|
|
36
|
-
On main, `deploy.yaml`
|
|
36
|
+
On main, `deploy.yaml` compares `apps/stash`, `packages` and the lockfile with the commit of the last EAS Update. When they changed, a known native fingerprint ships the JavaScript as a new update; a new one first builds on GitHub's `xcode-27` runner with `eas build --local` and submits to TestFlight. A newer merge cancels the older run, and the next one ships both. Each release is version `0.1.<run>` with build number `<run>`.
|
|
37
37
|
|
|
38
38
|
## Development build
|
|
39
39
|
|
|
40
|
-
`vp -C apps/stash run dev` serves Metro on localhost and writes the tailnet URL into its manifest; `sudo tailscale serve --bg --https=8081 http://localhost
|
|
40
|
+
`vp -C apps/stash run dev` serves Metro on localhost and writes the tailnet URL into its manifest; `sudo tailscale serve --bg --https=8081 http://localhost:<Metro port>` lets stash dev reach it. Metro picks 8082 when that serve already holds 8081, so point it at the port Metro prints. Use `localhost`, not `127.0.0.1`: Metro listens on `::1`.
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
On the iOS Simulator, each branch push leaves the build as the artifact `stash-simulator-<fingerprint>`:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
gh run download <run id> --name stash-simulator-<fingerprint> --dir /tmp/stash-sim && tar -xzf /tmp/stash-sim/simulator.tar.gz -C /tmp/stash-sim
|
|
46
|
+
<agent-device> install xyz.mp281x.stash.dev /tmp/stash-sim/stashdev.app <flags>
|
|
47
|
+
<agent-device> open xyz.mp281x.stash.dev 'stash-dev://expo-development-client/?url=https%3A%2F%2F<worker>.tailnet-8c4c.ts.net%3A8081' <flags>
|
|
48
|
+
<agent-device> alert accept <flags>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
`device_open` returns the `agent-device` command and its flags. The first open asks to open the link in stash dev, and the first launch shows the developer menu.
|
|
52
|
+
|
|
53
|
+
## Checks before a build
|
|
43
54
|
|
|
44
55
|
```bash
|
|
45
56
|
vp -C apps/stash exec expo config --type public
|
|
@@ -47,7 +58,7 @@ vp -C apps/stash exec expo prebuild --platform ios --no-install --clean && rm -r
|
|
|
47
58
|
vp -C apps/stash exec expo export --platform ios --output-dir /tmp/stash-export
|
|
48
59
|
```
|
|
49
60
|
|
|
50
|
-
|
|
61
|
+
A Swift change compiles first in the simulator build on CI.
|
|
51
62
|
|
|
52
63
|
<details>
|
|
53
64
|
<summary>For agents</summary>
|
package/dist/cli.js
CHANGED