mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 12:57:46 +00:00
`vc deploy --prebuilt` has not properly worked for projects linked with `vc link --repo` ever since https://github.com/vercel/vercel/issues/11077. To fix, don't mutate `cwd` to be the project subdir (so that `cwd` is always the monorepo root), and instead pass in a new property to `@vercel/client` that represents the `.vercel/output` file path. A lot of the code is just passing this new variable through the multiple layers of indirection in CLI before it finally reaches `@vercel/client. Fixes https://github.com/vercel/vercel/issues/11097.