zernonia
b4e1135b15
feat: transform icons
2024-11-27 11:10:34 +08:00
zernonia
ec790cb5ba
chore: fix regsitry dependencies adding .vue files
2024-11-26 13:46:07 +08:00
zernonia
6d2515f02a
chore: fix crawled content
2024-11-26 12:15:04 +08:00
zernonia
d963607719
chore: fix json
2024-11-25 21:55:02 +08:00
zernonia
01808de25c
refactor: cli, add test
2024-11-22 15:03:41 +08:00
zernonia
ac14ca835a
chore: move registry, update import path, run app
2024-11-21 12:40:47 +08:00
zernonia
8cd51af246
refactor: new CLI
2024-11-20 18:07:34 +08:00
zernonia
f079f0161b
refactor: perform migration
2024-11-05 07:12:04 +08:00
zernonia
d2b3a8783c
refactor: radix-vue to reka-ui
2024-11-04 18:19:28 +08:00
Selemon Brahanu
3646203d4f
refactor(CLI): base dependencies not installing when using shadcn-nuxt ( #821 )
...
* refactor: 815 shadcn-nuxt dependencies and CLI init
Closes: 815
* chore: remove unnecessary dependencies
* chore: update pnpm-lock.yaml file
* chore: cleanup
* chore: update pnpm-lock
---------
Co-authored-by: zernonia <zernonia@gmail.com>
2024-11-04 14:20:14 +08:00
zernonia
5c71911104
chore: run lint:fix, re-build registry
2024-10-14 19:48:05 +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
AlvesJorge
ec350df9d4
fix(cli): replace tab symbol with spaces ( #756 )
2024-09-19 14:59:05 +03:30
Sadegh Barati
9960925881
chore: update deps and fix tailwindcss for charts reproductions ( #596 )
2024-06-09 09:15:46 +03:30
Muhammad Mahmoud
bd0a8206ef
chore(module): add critical packages to module's dependencies ( #531 )
2024-05-24 17:03:48 +03:30
Sadegh Barati
60e12b962f
fix: add tailwind.config and global CSS overwrite warning ( #541 )
2024-05-09 11:21:00 +03:30
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
5f774f83d9
fix: replace lodash.template with lodash-es to prevent vulnerabilities ( #515 )
2024-04-25 23:03:26 +08:00
Sadegh Barati
9712ba9bae
fix(CLI): shadcn-vue init not installing all dependencies or devDependencies ( #469 )
2024-04-06 10:57:20 +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
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
Braden Wong
6aa1ce4f1b
chore: remove unused imports in utils ( #364 )
2024-02-29 21:05:18 +03:30
itsTPM
83d0a06e6f
fix(cli): add xl item to borderRadius in tailwind.config template ( #319 )
2024-02-03 21:12:49 +03:30
Dunqing
5c69b2160c
fix(cli): cannot add Carousel component without enabled typescript ( #318 )
2024-02-03 18:44:10 +03:30
Antoine Lethimonnier
f05922dfd0
feat(cli): Add JSON schema ( #256 )
...
* Add schema
* Update schema.json
2024-01-10 10:15:02 +03:30
Hai Yang Tang
1ff244c475
fix(cli): safelist dark when CSS variable colors are used. ( #255 )
2024-01-10 09:15:21 +03:30
Sadegh Barati
989c0e2024
chore(cli): match cli prompt question (global CSS) with the documentation
2024-01-07 09:35:54 +03:30
Sadegh Barati
010e377669
fix: avoid failing resolve types by adding radix-vue to project deps in shadcn-vue init before the add command ( #216 )
...
* fix: avoid failing resolve types by adding `radix-vue` to project deps in `init` command
* chore: add `shell-emulator` and remove `cross-env`
fix some registry example import path
* chore: remove additional `radix-vue` dependency from components registry
* chore: update `tsx` and `vue-tsc`
* fix: normalize `components:example` path to process `crawlExample` function correctly
* chore: build registry
---------
Co-authored-by: zernonia <zernonia@gmail.com>
2023-12-21 09:06:14 +08:00
zernonia
692191104d
chore: lint, fix frozen lockfile
2023-12-01 11:36:12 +08:00
Lucas Goyeche
89874ca324
feat(cli): add collapsible animations by default ( #186 )
...
* feat(cli): add collapsible animations by default
* docs: add collapsible animation instructions
2023-11-25 13:52:37 +08:00
zernonia
6e5963ebe9
fix: also parse tyepscript file ( #159 )
2023-11-10 17:36:18 +08:00
zernonia
9d8035566f
fix: toggle A all not working ( #157 )
2023-11-10 17:21:46 +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
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
zernonia
b46f4f75c8
chore: fix lint, wrong initial value
2023-10-21 10:51:24 +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
zernonia
d49126ecc8
feat: implement utilities from radix vue ( #89 )
...
* refactor: change all popper related element to use useForwardPropsEmits
* refactor: use useEmitAsProps from radix-vue
2023-09-28 16:51:31 +08:00
zernonia
02fe76d1f0
refactor: replace iconify icons with @radix-icons/vue for newyork style ( #87 )
...
* refactor: changes all instance of unplugin-icons to radix-icons
* chore: build registry
* test: fix new deps
2023-09-27 12:26:24 +08:00
zernonia
9b2447b249
fix: update extension for tailwindconfig ( #68 )
2023-09-21 08:11:25 +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
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
22e46c16f5
fix: babel/core required
2023-09-18 23:47:43 +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
Libon
89417e9e66
fix: component and utils alias does not update imports in file ( #53 )
2023-09-17 19:02:44 +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