Skip to content

[cli] fix root dir issues with vc link and vc deploy - #11243

Merged
EndangeredMassa merged 7 commits into
mainfrom
endangeredmassa/fix-vc-with-root-dir
Mar 8, 2024
Merged

EndangeredMassa merged 7 commits into
mainfrom
endangeredmassa/fix-vc-with-root-dir

Conversation

@EndangeredMassa

@EndangeredMassa EndangeredMassa commented Mar 8, 2024 •

Copy link
Copy Markdown
Contributor

There's an issue with vc link and vc deploy when using a project root directory. Framework detection fails because it's looking in the wrong directory.


Manually tested and this fixes the issue. A project with a rootDirectory was previously not detecting a framework, but now it says:

Auto-detected Project Settings (Remix):

@changeset-bot

changeset-bot Bot commented Mar 8, 2024 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ed68c46

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
vercel Patch

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

@EndangeredMassa
EndangeredMassa marked this pull request as ready for review March 8, 2024 21:00
@EndangeredMassa
EndangeredMassa requested a review from trek as a code owner March 8, 2024 21:00
@EndangeredMassa
EndangeredMassa merged commit 33202de into main Mar 8, 2024
@EndangeredMassa
EndangeredMassa deleted the endangeredmassa/fix-vc-with-root-dir branch March 8, 2024 21:21
@EndangeredMassa EndangeredMassa changed the title fix vc with root dir issues [cli] fix root dir issues with vc link and vc deploy Mar 8, 2024
EndangeredMassa pushed a commit that referenced this pull request Mar 8, 2024
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/[email protected]

### Minor Changes

- Remove `VERCEL_ENABLE_NPM_DEFAULT` env var check
([#11242](#11242))

### Patch Changes

- Rename variants to flags and remove legacy flags
([#11121](#11121))

## [email protected]

### Patch Changes

- Rename variants to flags and remove legacy flags
([#11121](#11121))

- fix vc with root dir issues
([#11243](#11243))

- Updated dependencies
\[[`908e7837d`](908e783),
[`5e3656ec1`](5e3656e),
[`a53d1b0d3`](a53d1b0)]:
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`908e7837d`](908e783),
[`5e3656ec1`](5e3656e)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`908e7837d`](908e783),
[`5e3656ec1`](5e3656e)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Rename variants to flags and remove legacy flags
([#11121](#11121))

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`908e7837d`](908e783),
[`5e3656ec1`](5e3656e)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Update `@remix-run/dev` fork to v2.8.1
([#11241](#11241))

## @vercel/[email protected]

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/[email protected]

## @vercel-internals/[email protected]

### Patch Changes

- Updated dependencies
\[[`908e7837d`](908e783),
[`5e3656ec1`](5e3656e)]:
    -   @vercel/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
kodiakhq Bot pushed a commit that referenced this pull request Apr 5, 2024
I think this was a copy/paste typo from #11243

This branch was successfully deployed

1 active deployment
Preview — ed68c46d Deployed Mar 8, 2024 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants