Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/docs-alias-dependency-setup.md

This file was deleted.

8 changes: 8 additions & 0 deletions package/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# expo-cloudflared

## 4.2.2

### Patch Changes

- ccb003b: Setup is now a single `@expo/ngrok` alias dependency that works identically on npm, yarn (v1 and Berry), pnpm, and bun — replacing the four per-package-manager recipes.

The old recipe (`dependencies: expo-cloudflared` + `overrides`/`resolutions: @expo/ngrok`) never created `node_modules/@expo/ngrok` in a normal Expo app: those fields only rewrite an _existing_ dependency edge, and nothing depends on `@expo/ngrok` (Expo fetches it lazily at runtime). Expo therefore fell back to real ngrok. Declaring the alias as a direct dependency is what guarantees the path exists right after `install`. Also documents the monorepo case — the alias goes in the workspace you run `expo start` from — including the yarn-Berry gotcha that `resolutions` is honored only at the workspace root.

## 4.2.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "expo-cloudflared",
"version": "4.2.1",
"version": "4.2.2",
"description": "Cloudflare Tunnel for Expo — a drop-in replacement for `@expo/ngrok`. Powers `expo start --tunnel` using Cloudflare Tunnel instead of ngrok.",
"source": "src/index.ts",
"main": "dist/index.js",
Expand Down