Commit Graph

11 Commits

Author SHA1 Message Date
zernonia
d2b3a8783c refactor: radix-vue to reka-ui 2024-11-04 18:19:28 +08:00
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
175762a959
chore: bump detypes (#548)
* chore: bump detypes

* test: update snapshot

* test: add test to check all type references

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-05-21 13:12:12 +08:00
Sadegh Barati
d34c620055
chore: lint and enable Volar hybrid mode (#419)
* chore: update deps

* feat: enable Volar hybrid mode

* chore: lint

* chore: build registry
2024-03-20 22:29:42 +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
zernonia
eccfc9940d chore: update test snapshot 2023-12-21 09:11:07 +08:00
zernonia
1a1e229849 test: hide failing test temporary, fix test 2023-12-01 11:51:58 +08:00
Dunqing
a4774ff48d
fix(cli): missing props/emits when disable typescript (#105)
* feat(cli): support remove type when non-typescript

* fix(cli): missing props/emits when doesn't enable typescript

* test: add test cases for defineProps/defineEmits

* fix: withDefaults case

* fix: cannot resolve external and packages types

* fix: missing assign variable
2023-11-02 22:22:33 +08:00
zernonia
0b39d050b3 chore: cleanup 2023-09-18 22:38:37 +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