You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This command will retrieve the expo credentials from your .expo/state.json file or an EXPO_TOKEN in your runtime environment to authenticate
@@ -26,6 +26,35 @@ the request to the Expo API.
26
26
Or with dotenv: `dotenv -e .env.local -- npx eoas publish --branch <branch-name>`.
27
27
:::
28
28
29
+
## Package runner
30
+
31
+
By default, EOAS uses `npx` to spawn Expo CLI commands (`expo export`, `expo config`). If your project uses a different package manager, you can override this.
32
+
33
+
**Resolution priority:**
34
+
35
+
1.`--packageRunner` CLI flag
36
+
2.`EOAS_PACKAGE_RUNNER` environment variable
37
+
3.`packageManager` field in the nearest `package.json` (e.g. `"packageManager": "bun@1.3.6"` → `bunx`)
38
+
4. Falls back to `npx`
39
+
40
+
|`packageManager` value | Resolved runner |
41
+
| --- | --- |
42
+
|`bun@x.x.x`|`bunx`|
43
+
|`pnpm@x.x.x`|`pnpx`|
44
+
|`yarn@x.x.x`|`npx`|
45
+
|`npm@x.x.x`|`npx`|
46
+
47
+
```bash
48
+
# Auto-detected from package.json (zero config)
49
+
npx eoas publish --branch production
50
+
51
+
# Explicit flag
52
+
npx eoas publish --branch production --packageRunner bunx
53
+
54
+
# Via environment variable
55
+
EOAS_PACKAGE_RUNNER=bunx eoas publish --branch production
56
+
```
57
+
29
58
## CI/CD
30
59
31
60
You can automate the process of publishing updates by integrating the `npx eoas publish --nonInteractive` command in your CI/CD pipeline.
0 commit comments