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
fix: restore registry json on vercel cache hit (#74)
The registry JSON files were missing from production deployments
(fixes#73) because turbo's registry:build cache only restores files
inside packages/registry/public/r/, while copy-to-web.mjs also wrote
to apps/web/public/r/ — an output path outside the task's package
scope. When Vercel hit the remote cache, the copy script didn't
re-run and apps/web/public/r/ was left empty, so /r/*.json returned 404.
Move the cross-package copy into web:build and declare public/r/** as
a web:build output so the files are cached and restored alongside
.next/.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments