Skip to content

Fix utils import transform when workspace alias does not start with @ #7557

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

remorses
Copy link

@remorses remorses commented Jun 7, 2025

The code was assuming the workspace to always start with @, this is not always the case

Some snapshots from old tests also got updated with the correct values

Fix #7348

Copy link

vercel bot commented Jun 7, 2025

@remorses is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@shadcn shadcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. I'm going to test (some edge cases) and merge this. Thank you.

@shadcn shadcn added area: roadmap This looks great. We'll add it to the roadmap, review and merge. area: shadcn labels Jun 18, 2025
Copy link

vercel bot commented Jun 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ui ✅ Ready (Inspect) Visit Preview Jun 18, 2025 7:37am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: roadmap This looks great. We'll add it to the roadmap, review and merge. area: shadcn
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: Adding new components default import { cn } from "src/lib/utils" even though component.json specify differently
2 participants