Jens Astrup
a1bed464f3
chore(apps): Update lodash ( #4397 )
...
* chore(apps): Refactor usage of lodash.template to lodash to address security vulnerability
* chore(cli): Refactor usage of lodash.template to lodash to address security vulnerability
* deps: update lock
* chore: changesets
* style: fix format
* fix: import
* chore: build registry
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-12-09 12:33:28 +04:00
shadcn
5fc9ade413
chore(cli): add deprecation notice ( #4988 )
...
* feat(cli): add deprecation message
* chore: changesets
2024-09-27 17:43:16 +04:00
Shivang Rathore
207b69fe8d
fix(cli): Ensure .scss files are considered in getTailwindCssFile ( #4797 )
...
* fix(cli): Ensure .scss files are considered in getTailwindCssFile
- Updated getTailwindCssFile function to include .scss files when checking for Tailwind CSS configuration.
- This change ensures that .scss files are properly identified and handled, improving compatibility with projects using SCSS.
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-09-15 12:55:08 +04:00
kevinmitch14
343b20fc5c
refactor: update zod imports in /cli ( #2473 )
...
updates in /cli
2024-01-28 08:57:26 +00:00
shadcn
0374ba874d
feat(cli): add min-config support for Next.js ( #2454 )
...
* feat(cli): add zero-config support for Next.js
* chore: add changeset
* feat(cli): add preflight
2024-01-16 22:05:39 +04:00
shadcn
7640ef7bbc
feat: add support for adding devDependencies in the cli ( #2419 )
...
* feat(cli): add support for install devDependencies
* chore: add changeset
2024-01-14 15:21:57 +04:00
shadcn
be580dbf76
feat(cli): add support for custom ui dir ( #2266 )
...
* feat(cli): add support for custom ui dir
* docs(www): update docs for aliases.ui
* chore: add changeset
2024-01-02 22:32:15 +04:00
Bereket Engida
4fb98d520f
feat(cli): add support for custom Tailwind prefix transformer ( #770 )
...
* feat(cli): add support for custom Tailwind prefix
* fix(cli): add tw prefix on classes applied in the css file
* feat(cli): add support for custom tailwind prefix
* chore: add changeset
* style(shadcn-ui): code format
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-12-22 01:42:40 +04:00
Karan Janthe
5a13def46d
fix: updated error msg for jsconfig in cli ( #1696 )
...
* fix: updated error msg for jsconfig in cli
* chore: add changeset
* style(cli): format
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-10-21 16:35:55 +04:00
Luka Hartwig
4ec8a67dab
Support tailwind.config.ts ( #1247 )
...
Fixes #659
Fixes #633
Create Next App is using `tailwind.config.ts` in the TypeScript template. Since this is a very common use case it would be nice to preserve the type safety of the file.
I added new templates for TypeScript files. I see there is an issue #1073 which asks for ESM support as well. This is not included in this PR.
I also fixed the type error in the keyframes that is also handled in #636
2023-10-19 17:44:11 +00:00
Caíque de Castro Soares da Silva
46f247c47f
style(shadcn-ui): use space instead of tab on config fixture ( #1707 )
...
* style: use space instead of tab on config fixture
* style: fix identation on template script
* chore(shadcn-ui): add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-10-16 13:16:55 +04:00
shadcn
2f0dbca221
feat(cli): do not ask for confirmation ( #1554 )
...
* feat(cli): do not confirm
* chore: add changeset
2023-09-19 16:25:57 +04:00
Paul Ebose
58d012e342
feat(cli): add overwrite confirmation for existing components ( #973 )
...
* feat(cli): add overwrite confirmation for existing components
* fix(cli): handle overwrite for multiple items
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-09-19 15:57:19 +04:00
Shishir
963114e118
feat(cli): support adding all components via CLI ( #1033 )
...
* feat: support adding all components via CLI
`shadcn-ui add --all`
This was manually tested to work as expected.
* chore: run prettier
* fix(cli): rename to all
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-09-19 07:37:35 +04:00
Ayhan
0a4286500e
fix(cli): handle ts file extension ( #1466 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-09-19 07:23:07 +04:00
Santi Dalmasso
ae845788f6
fix(cli): deduplicate classNames in applyColorMapping ( #1089 )
...
* fix(cli): deduplicate classNames in applyColorMapping
* refactor: simplify applyColorMapping return
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-09-19 07:04:57 +04:00
shadcn
edc653c01e
feat(shadcn-ui): add support for jsx ( #834 )
2023-07-04 23:22:20 +04:00
Mark Lyck
c3377530f4
feat(shadcn-cli): add support for bun install ( #707 )
...
* add support for bun install
* fix(cli): add changeset for bun install
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-06-27 11:48:51 +04:00
Samuel Corsi-House
0f84973b4d
fix(shadcn-ui): use @antfu/ni to detect package manager ( #677 )
...
* fix(cli): use @antfu/ni to detect package manager
* chore(cli): cleanup imports
* Create cyan-houses-dress.md
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-06-24 21:01:22 +04:00
Daniele Luisetto
1971fa7511
fix(shadcn-ui): use slash for alpha values in colors ( #681 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-06-24 20:09:22 +04:00
Ahmed Abdelbaset
38fb9693d0
style(shadcn-ui): remove unused variable in index.ts ( #654 )
2023-06-23 10:58:33 +04:00
shadcn
658c710bce
fix: schema keys validation ( #641 )
...
* fix: schema keys validation
* chore: add changeset
* fix: update registry base url
2023-06-22 23:05:54 +04:00
shadcn
eeb17545a1
feat: new CLI, Styles and more ( #637 )
2023-06-22 22:44:52 +04:00
Prince Hernandez
dffbe89f7d
feat(cli): add support for config file ( #245 )
...
* feat(cli): add config files and examples in docs
* docs(www): remove cli advanced options
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-05-28 10:21:11 +04:00
Daniel Rotärmel
5aecccc586
feat(cli): use https_proxy and consider previous install locations ( #430 )
...
* feat(cli): use system proxy
* feat(cli): adds default installation directory
* style: formatting
* feat: update lockfile
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-05-25 14:37:37 +04:00
shadcn
888a5ad6f6
fix(shadcn-ui): update color of cards in dark mode ( #271 )
2023-05-02 15:39:16 +04:00
shadcn
4a794a354f
feat(shadcn-ui): update init message ( #197 )
2023-04-18 19:12:38 +04:00
shadcn
2953c6cb0a
fix(shadcn-ui): support for array of dependencies ( #195 )
2023-04-18 18:34:25 +04:00
shadcn
a243262748
feat(shadcn-ui): init command
2023-04-17 15:41:03 +04:00
shadcn
b5d43688b9
feat(shadcn-ui): add support for aliases
2023-04-17 12:59:57 +04:00
shadcn
712e625d48
feat: add warning for command ( #118 )
2023-03-08 19:13:12 +04:00
shadcn
92fe54184b
feat: add COMPONENTS_BASE_URL for development ( #115 )
2023-03-08 17:50:06 +04:00
shadcn
be701cf139
feat: add @shadcn/ui cli ( #112 )
2023-03-08 11:37:15 +04:00