From bac460292d5a4339b8c1df72783fbc68148a34ee Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Sat, 14 Nov 2026 02:08:06 -0800 Subject: [PATCH] fix(ci): pin unenv so release smoke installs resolve its exact peer Release smoke deletes the lockfile and resolves from the registry. @alchemy.run/cloudflare-runtime asks for unenv ^2.0.0-rc.24, so once unenv 2.0.0-rc.25 passed the one-day release-age gate, that install picked rc.25. @cloudflare/unenv-preset 2.16.2 peers on exactly 2.0.0-rc.24, and strictPeerDependencies fails the install. Port of upstream pingdotgg/t3code#36638. (cherry picked from commit 8a072ca51d21ac5ec4cd593ab6151ea2f2443deb) Co-Authored-By: Claude Opus 5.5 --- pnpm-lock.yaml | 1 + pnpm-workspace.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e67431e77db10..2dc993aedc1f1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -302,6 +302,7 @@ overrides: expo-modules-core: 58.0.30 '@exodus/bytes>@noble/hashes': 1.8.0 '@react-navigation/core': 7.24.0 + unenv: 2.0.0-rc.24 dbus-next>usocket: '-' '@anthropic-ai/claude-agent-sdk>@anthropic-ai/claude-agent-sdk-darwin-arm64': '-' '@anthropic-ai/claude-agent-sdk>@anthropic-ai/claude-agent-sdk-darwin-x64': '-' diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index f7b1ca05dd893..0c0800d612067 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -138,6 +138,9 @@ overrides: # Move this with @react-navigation/native: an older core than it requires crashes # every native stack at launch. "@react-navigation/core": 7.24.0 + # @cloudflare/unenv-preset peers on this exact version, but alchemy's runtime + # takes a caret range, so lockfile-free installs drift to a newer prerelease. + unenv: 2.0.0-rc.24 # The dbus-next patch drops usocket from the package, but pnpm resolves from the # registry manifest, so the edge has to be cut here as well. "dbus-next>usocket": "-"