make tsconfig.json configurable #1258
Labels
status: under review
Further discussion is needed to determine this issue's scope and/or implementation
type: feature
Introduction of new functionality to the application
Prerequisites
Describe the feature
I know that this has been discussed here #214.
My issue is that I have a Svelte / Inertia / AdonisJS project that uses multiple tsconfig.json files (frontend / backend).
Other shadcn ports like shadcn-vue make this configurable in the cli (https://github.com/radix-vue/shadcn-vue/blob/85b10641c22a7ce0275219bee78a4a9e8e586b46/packages/cli/src/commands/init.ts#L142) and store the tsconfig.json in the components.json.
Could this be an option?
If you don't like the additional setup step, an option to overwrite in components.json would help in this edge cases.
p.s. sorry for the "hacking" the prerequisitites.
p.p.s. As a workaround I currently just add the path aliases to my root tsconfig.json when running the cli.
The text was updated successfully, but these errors were encountered: