Commit Graph

15 Commits

Author SHA1 Message Date
MuhammadM1998
3132236449 fix: add 'prompt' argument to loadConfig 2024-06-24 12:43:04 +03:00
MuhammadM1998
b271e1e8df refactor: determine framework based on project info 2024-06-24 12:17:13 +03:00
MuhammadM1998
984977c85a refactor: move 'add' command to vue folder 2024-06-24 12:17:13 +03:00
Sadegh Barati
0e84af73de
feat: use unjs modules and improve cli from main shadcn-ui source, custom ui dir (#324)
* feat: add devDeps, add nypm for installing deps

* feat: custom ui dir

* refactor: use consola instead of chalk

* test: ui alias

* refactor: import { z } from 'zod' instead of *, replace node:path with pathe

* chore: add components name to `configFile` option

* chore: update `c12` which fix json5 parse issue

and it also supports .config directory

* chore: update `https-proxy-agent`

* fix: await until dependencies are installed then run detypes process

* feat: add tailwind prefix

* test: tw-prefix snapshot

* chore: add prefix option to init

* test: apply prefix

* fix: tw-prefix parse wrongly

* chore: hide prefix temporarily

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-03-06 05:38:19 +03:30
Dunqing
5c69b2160c
fix(cli): cannot add Carousel component without enabled typescript (#318) 2024-02-03 18:44:10 +03:30
zernonia
9d8035566f
fix: toggle A all not working (#157) 2023-11-10 17:21:46 +08:00
Dunqing
08fa517eb6
feat(cli): support adding all components (#65) 2023-09-20 16:52:14 +08:00
Dunqing
f2d66d4632
feat(cli): add overwrite confirmation for existing components (#66) 2023-09-20 16:50:42 +08:00
zernonia
27ac382bf9 fix: nuxt config 2023-09-19 00:30:11 +08:00
Dunqing
ad05aab3d2
feat(cli): support remove type when non-typescript (#45)
* fix(cli): shouldn't load tsconfig when typescript disabled

* feat(cli): support remove type when non-typescript

* feat: patch `detype` and fix ts extension

* test: update

* chore: update lock

* feat: patch again

* fix: missing

* chore: update lock

* feat: support root option

* chore: update lock

* feat: transform utils to js by detype

* refactor: load jsconfig and remove root option

* chore: remove babel/core
2023-09-18 15:19:59 +08:00
zernonia
16a42b1a27 chore: release 0.1.0 2023-09-06 13:29:48 +08:00
zernonia
ec0c3cc659 fix: cli installation error 2023-09-06 12:55:50 +08:00
zernonia
f979211d90 chore: run eslint 2023-09-06 09:57:37 +08:00
Mukund Shah
ea5c63a250
feat: add cli 2023-08-28 10:50:32 +05:45
Mukund Shah
fc01eaa310
chore(cli): create .ts file for add, diff, init commands 2023-08-26 22:30:04 +05:45