sek-consulting / solid-ui

Beautifully designed components. Built with Kobalte & corvu. Styled with Tailwind CSS.
https://www.solid-ui.com
MIT License
680 stars 25 forks source link

[CLI] Something went wrong while configuring your tsconfig.json. #47

Open xehpuk opened 6 months ago

xehpuk commented 6 months ago
npx solidui-cli@latest init
Need to install the following packages:
solidui-cli@0.3.0
Ok to proceed? (y) y
│
◇  Would you like to use TypeScript? (recommended)
│  No
│
◇  Where is your global CSS file?
│  src/styles/root.css
│
◇  Where is your tailwind.config.js located?
│  tailwind.config.js
│
◇  Configure the import alias for the src directory:
│  ~/*
│                                                                                                                                                                                                                                    
◇  ui.config.json successfully created!                                                                                                                                                                                              
│                                                                                                                                                                                                                                    
◇  Done configuring your tsconfig.json                                                                                                                                                                                               
│                                                                                                                                                                                                                                    
◇  Done creating utils.ts file!                                                                                                                                                                                                      
│
◇  ui.preset.js successfully created!
│
◇  Done done configuring your tailwind.config.cjs
│
◇  Done Writing CSS styles!
│
◆  Project configuration completed.
│
◆  Would you like to install the required dependencies? (recommended)
│  ● Yes / ○ No
└
│
■  Something went wrong while configuring your tsconfig.json. Please make sure it is formatted correctly and doesn't contain any comments.

Note: There is no tsconfig.json as I chose not to use TypeScript.

xehpuk commented 6 months ago

Also: A utils.ts (instead of utils.js) was created.

sek-consulting commented 6 months ago

The problem with the javascript version is that it's still in the early stages and wasn't developed any further after Michael took a break from the project. But I'll put it on the list of things that I'll do next.

If you want to contribute feel free to open a PR :)