@deslop/stash 0.1.1079 → 0.1.1082
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 +3 -2
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,10 +39,11 @@ On main, `deploy.yaml` compares `apps/stash`, `packages` and the lockfile with t
|
|
|
39
39
|
|
|
40
40
|
## Simulator
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
The Simulator workflow builds the app for the iOS Simulator once per native fingerprint, as the artifact `stash-simulator-<fingerprint>`; it runs only for a push that changes `apps/stash`, `packages` or the lockfile, so a branch without one reuses the artifact another branch built. The app holds the JavaScript of the commit that built it, so replace its bundle with the branch's own before you install it. `device_open` returns the `agent-device` command and its flags.
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
gh
|
|
45
|
+
run=$(gh api "repos/MP281X/deslop/actions/artifacts?name=stash-simulator-<fingerprint>" --jq '.artifacts[0].workflow_run.id')
|
|
46
|
+
gh run download $run --name stash-simulator-<fingerprint> --dir /tmp/stash-sim && tar -xzf /tmp/stash-sim/simulator.tar.gz -C /tmp/stash-sim
|
|
46
47
|
APP_VARIANT=development vp -C apps/stash exec expo export:embed --platform ios --dev false --bundle-output /tmp/stash-sim/stashdev.app/main.jsbundle --assets-dest /tmp/stash-sim/stashdev.app
|
|
47
48
|
<agent-device> install xyz.mp281x.stash.dev /tmp/stash-sim/stashdev.app <flags>
|
|
48
49
|
<agent-device> open xyz.mp281x.stash.dev <flags>
|
package/dist/cli.js
CHANGED