Commit Graph

13 Commits

Author SHA1 Message Date
Sam K
10319df960
fix(cli): add an option to component.json to resolve nuxt buildDir (#447)
* fix(cli): add an option to `component.json` to resolve nuxt buildDir dynamically

* feat: add `tsConfigPath` option

* docs: updated installation docs to reflect the new option `tsConfigPath`

* feat: include option in init

---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
Co-authored-by: zernonia <zernonia@gmail.com>
2024-05-06 16:13:46 +08:00
Sadegh Barati
a3e1db9578
fix: make c12 look only for components.json for now (#388) 2024-03-07 09:01:07 +03:30
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
f4b5b3fbc4
feat(cli): support tailwind.config.mjs file (#120)
* feat(cli): support `tailwind.config.mjs` file

* feat: update

* fix: teest case

---------

Co-authored-by: sadeghbarati <sadeghbaratiwork@gmail.com>
2023-10-21 10:25:41 +08:00
zernonia
6e0cfe1ade
feat: improve installation section to accommodate other frameworks (#63)
* feat: installation section by framwork

* chore: update installations

* refactor: use lodash templates

* fix: frozen pnpm-lock

* fix: capitalize
2023-09-19 13:08:40 +08:00
zernonia
27ac382bf9 fix: nuxt config 2023-09-19 00:30:11 +08:00
zernonia
afcdbf99a3 test: improve testing for cli 2023-09-18 21:27:44 +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
Dunqing
a4dc8ab971
fix(cli): shouldn't load tsconfig when typescript disabled (#43) 2023-09-11 13:45:39 +08:00
Dunqing
529b2b4942
fix(cli): break caused by non-existence of tsconfig.app.json (#38)
* fix(cli): break caused by non-existence of `tsconfig.app.json`

* feat: better
2023-09-09 17:21:17 +08:00
zernonia
ec0c3cc659 fix: cli installation error 2023-09-06 12:55:50 +08:00
zernonia
8ea7e586dd chore: add public assets, update registry 2023-09-05 23:24:27 +08:00
Mukund Shah
ea5c63a250
feat: add cli 2023-08-28 10:50:32 +05:45