@deslop/stash 0.1.1021 → 0.1.1058

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.
Files changed (3) hide show
  1. package/README.md +15 -4
  2. package/dist/cli.js +1 -1
  3. package/package.json +1 -6
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` checks the native fingerprint of a change under `apps/stash` or `packages`. A known fingerprint ships the JavaScript as an EAS Update; a new one builds on GitHub's `xcode-27` runner with `eas build --local`, submits to TestFlight, then publishes the update. Any pushed tag builds its commit for TestFlight. Each release is version `0.1.<run>` with build number `<run>`.
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:8081` lets the iPhone's stash dev reach it. Use `localhost`, not `127.0.0.1`: Metro listens on `::1`.
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
- ## Checks without a Mac
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
- The first EAS build is the first Swift compile.
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
@@ -7255,7 +7255,7 @@ const runWith = (command, config) => {
7255
7255
  };
7256
7256
  //#endregion
7257
7257
  //#region package.json
7258
- var version = "0.1.1021";
7258
+ var version = "0.1.1058";
7259
7259
  //#endregion
7260
7260
  //#region src/main.cli.ts
7261
7261
  function section(title, text) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deslop/stash",
3
- "version": "0.1.1021",
3
+ "version": "0.1.1058",
4
4
  "description": "A personal inbox for links and notes: the server, the iOS app, and a CLI that saves to it.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,11 +27,6 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "dependencies": {
31
- "expo": "^58.0.7",
32
- "react": "^19.3.0",
33
- "react-native": "0.88.0-rc.4"
34
- },
35
30
  "devDependencies": {
36
31
  "@bacons/apple-targets": "latest",
37
32
  "@deslop/components-mobile": "0.0.0",