-
-
Notifications
You must be signed in to change notification settings - Fork 530
feat(cli): add tsconfig
file detection based on the framework
#1330
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
base: dev
Are you sure you want to change the base?
Conversation
add main shadcn-ui cli changes use c12 again for loading component.json/json5/js/ts
commit: |
export mcp in package.json
tsconfigPath
option to component.jsontsConfigPath
option to component.json
from main shadcn
from shadcn
from shadcn
from shadcn
Yo @sadeghbarati ! Thanks for adding this field back into the config. I wonder why this wasn't a request on actual |
β¦-in-component-dot-json
from shadcn
We have multiple choices
What we should do? which way is more convenient |
tsConfigPath
option to component.jsontsconfig
file detection based on the framework
Hi, @zernonia, could you please check this PR? Thank you β€οΈ I removed the The PR also has the latest changes from the main shadcn ui too There is a lot of room for improvement for detection, but let's start small |
β¦-in-component-dot-json
from shadcn
from shadcn
from shadcn
π Linked issue
Close #1243
β Type of change
π Description
AddtsConfigPath
options to thecomponents.json
options schemac12
again for loading component.json/json5/js/ts (it is working in Nuxt projects with empty or full components directory)shims
and add nodeProtocol: strip to removenode:
protocol from the buildπΈ Screenshots (if appropriate)
π Checklist