Commit Graph

8 Commits

Author SHA1 Message Date
zernonia
f8f3fc754f
feat: support tailwind prefix (#619)
* chore: enable tw prefix

* chore: enable tw  prefix during init

* fix: cater for cn function

* fix: prevent transforming importDeclaration

* chore: update registry to make sure tailwind prefix parse correctly

* chore: fix wrong import

* chore: checkpoint

* refactor: goodbye ts-morph

* chore: remove ts-morpg

* chore: update test

* chore: cleanup

* chore: fix test

* fix: move vue-metamorph to dep

* refactor: transform tw prefix by specific case

* fix: transform-sfc not parsing .ts file

* fix: prefix double quote

* chore: patch vue-eslint-parser

* refactor: transform to cater only for class in sfc

* refactor: replace detypes with @unovue/detypes

* chore: update test snapshot

* chore: update pnpm-lock, fix import

* chore: bump detypes version

* chore: update deps
2024-10-14 19:39:58 +08:00
Dunqing
cc3503689f
chore: bump vitest to 1.6.0 (#549)
* chore: bump vitest to 1.6.0

* fix: update
2024-05-13 14:32:36 +08: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
zernonia
6c99fd6dd1 chore: fix testing pipeline 2024-02-04 21:53:00 +08:00
zernonia
f46e2b98cd test: fix test missing safelist 2024-01-11 14:43:50 +08:00
zernonia
1a1e229849 test: hide failing test temporary, fix test 2023-12-01 11:51:58 +08:00
zernonia
ccfe4a891d
refactor: transform css variables for components (#129)
* refactor: transform css only in component

* refactor: more concise

* fix: pipeline
2023-10-21 18:02:19 +08:00
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