New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cli][client] Handle --repo
linked in vc deploy --prebuilt
#11309
[cli][client] Handle --repo
linked in vc deploy --prebuilt
#11309
Conversation
🦋 Changeset detectedLatest commit: 9b5c7e0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…o-vercel3330-broke-prebuilds-in
…o-vercel3330-broke-prebuilds-in
…o-vercel3330-broke-prebuilds-in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I manually tested this and it worked for me in a monorepo that was --repo
linked
Co-authored-by: Sean Massa <EndangeredMassa@gmail.com>
…o-vercel3330-broke-prebuilds-in
updated to include the CI fix from main |
…o-vercel3330-broke-prebuilds-in
…o-vercel3330-broke-prebuilds-in
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @vercel/build-utils@7.11.0 ### Minor Changes - Add `getOsRelease()` and `getProvidedRuntime()` functions ([#11370](#11370)) ## @vercel/go@3.1.0 ### Minor Changes - Use `provided.al2023` runtime when using AL2023 build image ([#11370](#11370)) ## vercel@33.6.3 ### Patch Changes - Handle `--repo` linked in `vc deploy --prebuilt` ([#11309](#11309)) - Revert "[cli] extract `isZeroConfigBuild` into utility function (#11316)" ([#11350](#11350)) - Replace `inquirer` with `@inquirer/prompts` ([#11321](#11321)) - Updated dependencies \[[`73b112b1f`](73b112b), [`346e665bb`](346e665), [`73b112b1f`](73b112b), [`548afd371`](548afd3)]: - @vercel/go@3.1.0 - @vercel/node@3.0.26 - @vercel/build-utils@7.11.0 - @vercel/static-build@2.4.6 ## @vercel/client@13.1.9 ### Patch Changes - Handle `--repo` linked in `vc deploy --prebuilt` ([#11309](#11309)) - Updated dependencies \[[`73b112b1f`](73b112b)]: - @vercel/build-utils@7.11.0 ## @vercel/gatsby-plugin-vercel-builder@2.0.24 ### Patch Changes - Updated dependencies \[[`73b112b1f`](73b112b)]: - @vercel/build-utils@7.11.0 ## @vercel/node@3.0.26 ### Patch Changes - Fix issue with serverless function on docker ([#11226](#11226)) - Add import and require ts-node files for TypeScript in `vc dev` ([#11371](#11371)) - Updated dependencies \[[`73b112b1f`](73b112b)]: - @vercel/build-utils@7.11.0 ## @vercel/static-build@2.4.6 ### Patch Changes - Updated dependencies \[]: - @vercel/gatsby-plugin-vercel-builder@2.0.24 ## @vercel-internals/types@1.0.29 ### Patch Changes - Updated dependencies \[[`73b112b1f`](73b112b)]: - @vercel/build-utils@7.11.0 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
vc deploy --prebuilt
has not properly worked for projects linked withvc link --repo
ever since #11077.To fix, don't mutate
cwd
to be the project subdir (so thatcwd
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 #11097.