shadcn-vue/packages/cli/test/utils
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
..
__fixtures__ fix(cli): missing props/emits when disable typescript (#105) 2023-11-02 22:22:33 +08:00
__snapshots__ feat: use unjs modules and improve cli from main shadcn-ui source, custom ui dir (#324) 2024-03-06 05:38:19 +03:30
apply-color-mapping.test.ts feat: use unjs modules and improve cli from main shadcn-ui source, custom ui dir (#324) 2024-03-06 05:38:19 +03:30
apply-prefix.test.ts feat: use unjs modules and improve cli from main shadcn-ui source, custom ui dir (#324) 2024-03-06 05:38:19 +03:30
get-config.test.ts feat: use unjs modules and improve cli from main shadcn-ui source, custom ui dir (#324) 2024-03-06 05:38:19 +03:30
registry.test.ts feat: complete utils test 2023-09-18 22:34:06 +08:00
resolve-import.test.ts feat: use unjs modules and improve cli from main shadcn-ui source, custom ui dir (#324) 2024-03-06 05:38:19 +03:30
transform-cjs-to-esm.test.ts feat(cli): support tailwind.config.mjs file (#120) 2023-10-21 10:25:41 +08:00
transform-css-vars.test.ts feat: use unjs modules and improve cli from main shadcn-ui source, custom ui dir (#324) 2024-03-06 05:38:19 +03:30
transform-import.test.ts fix: nuxt config 2023-09-19 00:30:11 +08:00
transform-sfc.test.ts feat: use unjs modules and improve cli from main shadcn-ui source, custom ui dir (#324) 2024-03-06 05:38:19 +03:30
transform-tw-prefix.test.ts feat: use unjs modules and improve cli from main shadcn-ui source, custom ui dir (#324) 2024-03-06 05:38:19 +03:30