shadcn
cbf7b3708a
chore: minor refactor and error message
2026-01-06 13:23:13 +04:00
yeasin2002
9da12c13f9
fix(cli): #9160 updated CLI name validation
2025-12-20 17:36:15 +06:00
shadcn
d3156c09ae
fix(shadcn): resolver for url ( #9054 )
2025-12-14 02:16:26 +04:00
shadcn
86d9b00084
chore: update deps ( #9022 )
...
* feat: init
* fix
* fix
* fix
* feat
* feat
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* feat: implement icons
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* feat: update init command
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* feat: dialog
* feat
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* feat: add registry:base item type
* feat: rename frame to canva
* fix
* feat
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fi
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* feat: add all colors
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* feat: add outfit font
* fix
* fix
* fix
* fix
* fix
* chore: changeset
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
2025-12-12 21:01:44 +04:00
Pasquale Vitiello
142cd8ef13
Prevent duplicate keyframes when adding components ( #8993 )
...
* fix: prevent duplicate keyframes when adding components
- Check for existing keyframes in @theme inline before adding
- Replace existing keyframes instead of creating duplicates
- Add test to verify keyframe replacement behavior
* chore: changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-12-09 13:01:34 +04:00
shadcn
62218c1c0c
feat: update color value detection for cssVars ( #8901 )
2025-11-27 21:12:31 +04:00
Brendan Dash
c2075e2a8b
fix: typo ( #8800 )
2025-11-17 20:06:04 +04:00
Tommy D. Rossi
ad6a3c6367
Fix utils import transform when workspace alias does not start with @ ( #7557 )
...
* Fix nested src folder for utils import
* remove .only
* Update packages/shadcn/src/utils/transformers/transform-import.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* check for empty utils
* chore: changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-31 12:07:02 +04:00
shadcn
d7e0dc3ec8
feat(shadcn): middleware to proxy ( #8555 )
...
* feat: implement getFrameworkVersion
* feat(shadcn): add transformNext transformer
* feat(shadcn): rename
* chore: update
* chore: changeset
* fix
* fix: small refactor
2025-10-23 22:00:55 +04:00
shadcn
6bddba986d
feat(shadcn): add next 16 to init ( #8550 )
...
* feat: add next 16 init
* chore: changeset
* fix: tests
* fix
2025-10-23 17:20:45 +04:00
shadcn
e8674ee848
feat(shadcn): allow path to override targets ( #8452 )
2025-10-15 10:37:58 +04:00
shadcn
7cd019ad36
feat(shadcn): add support for color vars ( #8459 )
...
* feat(shadcn): add support for color vars
* chore: add changeset
2025-10-14 23:07:27 +04:00
Haz
b83023034a
fix(cli): fix add registry item with at-property css rule ( #8451 )
...
* Add fixture and test
* Handle at-property as regular CSS rules in updateCssPlugin
* Add changeset entry
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-10-14 17:11:29 +04:00
JunHyeok Ha
da8fa6aacd
fix(cli): Update package.json name property when init next-monorepo ( #7742 )
...
* fix(cli): Update package.json name property when init next-monorepo
* test(cli): Fix failing test
* fix(cli): Remove unnecessary git changes
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-10-05 14:18:31 +04:00
Elliot Sutton
cdf58be7e1
feat(shadcn): fix transformCssVars function ( #8186 )
...
* feat(shadcn): fix transformCssVars function
* test(shadcn): update snapshots
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-09-15 16:08:56 +04:00
Fuma Nama
fae1a81add
fix(shadcn): fix async imports not being transformed ( #8036 )
...
* fix(shadcn): fix async imports not being transformed when installing components
* fix(shadcn): improve performance
* test(shadcn): add tests for transform import
* test: update timeout
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-09-15 14:55:18 +04:00
shadcn
fc6d909ba2
add getRegistriesIndex ( #8216 )
...
* feat: add getRegistriesIndex
* chore: changeset
* fix: formatting
2025-09-15 14:55:05 +04:00
shadcn
e5402f9a20
feat(shadcn): implement recursive registry namespaces ( #8147 )
...
* feat(shadcn): implement recursive registry namespaces
* fix
2025-09-04 15:40:18 +04:00
shadcn
9c5eb0d20f
feat(shadcn): add support for registries index ( #8128 )
...
* feat(shadcn): add support for registries index
* fix
* fix
* chore: changeset
* feat(shadcn): update handling of add commands
* feat: add support for known registries
* docs: update index docs
2025-09-04 11:27:45 +04:00
shadcn
e84c819977
feat(shadcn): update handling of import and apply at rules ( #8109 )
...
* fix: plugin imports
* fix(shadcn): import in css
* feat(shadcn): allow empty body for apply rules
* chore: changeset
* fix: type issue
2025-09-01 20:02:26 +04:00
shadcn
296feb28a2
feat(shadcn): new mcp server ( #8012 )
...
* feat(shadcn): add getRegistriesConfig api
* feat(shadcn): add new mcp command
* feat(shadcn): add get_item_examples_from_registries and get_add_command_for_items
* feat: remove getRegistriesConfig
* chore: changeset
2025-08-13 11:15:26 +04:00
shadcn
a941287411
deps(shadcn): bump all dependencies ( #8004 )
...
* deps(shadcn): bump all dependencies
* chore: pin deps for fumadocs
2025-08-11 20:21:40 +04:00
shadcn
fed7e3bfdc
feat(shadcn): update signatures of apis ( #8001 )
...
* feat(shadcn): improve apis signature
* feat(shadcn): update signature of apis
* fix: tests snapshot
2025-08-11 14:34:10 +04:00
shadcn
a4a3600757
feat: move schema exports to shadcn/schema ( #7989 )
2025-08-10 16:05:53 +04:00
shadcn
a426fea941
refactor(shadcn): add getRegistryItems and resolveRegistryItems ( #7983 )
...
* feat(shadcn): refactor fetchFromRegistry
* refactor(shadcn): better api
* chore: changeset
* fix
* fix
* refactor
* refactor(shadcn): update getRegistryItems
* refactor(shadcn): error handling
* fix: getRegistryItems header context
* fix: tests
* feat(shadcn): export errors
* refactor(shadcn): getRegistryItems getRegistry
* fix
* fix
* fix
* fix
* chore: changeset
* chore: remove minor changeset
2025-08-10 15:20:38 +04:00
shadcn
fc8927a1f9
fix(shadcn): monorepo in nix system ( #7962 )
...
* debug: do not cd after init
* chore: changeset
2025-08-07 14:25:23 +04:00
shadcn
a80ab37483
feat(shadcn): update file handling for monorepo ( #7955 )
...
* feat(shadcn): update monorepo handling
* feat(shadcn): update file handling for monorepo
* chore: changeset
2025-08-06 15:13:51 +04:00
shadcn
2c164b0f22
feat(shadcn): update registry dependencies resolution algorithm ( #7948 )
...
* feat(shadcn): update dependency resolution algorithm
* feat(shadcn): rename style to base-style
* feat(shadcn): init from namespaced
* fix(shadcn): force validation early
* chore: changeset
* fix(shadcn): headers
* fix: smh
* fix(shadcn): restore backup on exit and error
2025-08-06 13:38:08 +04:00
shadcn
07eda36b13
feat(shadcn): add namespaced registries support ( #7919 )
...
* chore(shadcn): implement registries poc
* feat(shadcn): refactor our initial implementation
* feat(shadcn): properly resolve namespaced registryDependencies
* feat(shadcn): resolve namespaced registries recursively
* fix
* feat(shadcn): implement dotenv support
* test(shadcn): mock shadcn registry
* fix
* fix
* fix
* refactor(shadcn): update functions and tests
* refactor(shadcn): add fetchFromRegistry (#7937 )
* fix
* feat(shadcn): add shadcn as a built-in registry
* fix
* feat(shadcn): update no framework and shadcn
2025-08-04 14:35:41 +04:00
shadcn
e6778dee87
feat(shadcn): add envVars to schema ( #7902 )
...
* feat(shadcn): add envVars to schema
* fix(shadcn): tests
* chore: changeset
2025-07-28 12:14:46 +04:00
shadcn
97a8de1c1b
feat: update handling of env files in registry ( #7896 )
...
* feat: handle env update
* tests(shadcn): add tests for env helpers
* test(shadcn): update files test
* feat(shadcn): implement file alternatives
* test(shadcn): fix alternative handling
* fix(shadcn): env var logging
* test(shadcn): add tests for multi line env
* chore: changeset
* ci: update
2025-07-27 12:28:39 +04:00
shadcn
20e913d8e1
fix: handling of themes in registry ( #7837 )
2025-07-22 11:13:37 +04:00
shadcn
d9cdc3f7ae
Revert "fix: handling of shouldOverwriteCssVars" ( #7833 )
...
* Revert "fix: handling of shouldOverwriteCssVars (#7829 )"
This reverts commit ed5237c231 .
* fix: revert
2025-07-16 18:22:40 +04:00
shadcn
ed5237c231
fix: handling of shouldOverwriteCssVars ( #7829 )
...
* fix(shadcn): handling of shouldOverwriteCssVars
* chore: changeset
2025-07-16 17:44:25 +04:00
shadcn
6c341c16ae
feat: fix safe target and add docs ( #7795 )
...
* feat: fix safe target and add docs
* chore: add changeset
* fix: changelog
2025-07-11 18:19:34 +04:00
shadcn
06d03d64f4
feat(shadcn): add support for universal registry item ( #7782 )
...
* feat(shadcn): add support for universal registry item
* chore: changeset
2025-07-10 20:17:45 +04:00
shadcn
db93787712
feat(shadcn): implement registry safe path ( #7757 )
...
* feat(shadcn): implement registry safe path
* chore: changeset
* style(shadcn): formatting
* fix
2025-07-08 20:25:14 +04:00
Kitsune
ed244ea0b5
fix(cli): detect vinxi-based frameworks (@tanstack/start, SolidStart, ...) ( #6330 )
...
* fix(cli): detect vinxi-based frameworks
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-07-01 16:58:07 +04:00
xabierlameiro.com
5b8ee41511
fix(cli): correct function name typo unnsetSpreadElements to unsetSpreadElements ( #7609 )
...
* fix(cli): correct function name typo unnsetSpreadElements to unsetSpreadElements
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-06-18 11:44:59 +04:00
shadcn
56c4c83511
fix(shadcn): update plugin handling ( #7632 )
...
* fix(shadcn): update plugin handling
* style(shadcn): format fix
* docs(www): add docs for plugins
2025-06-18 11:03:36 +04:00
Zach Nugent
cb19ab8464
feat(shadcn): add support for updating dependencies with expo-cli for RN compatibility ( #7540 )
...
* feat(shadcn): add support for updating dependencies with expo-cli for RN compatibility
* feat(shadcn): add expo as a framework
* fix: update the contributing command for registry
* refactor(shadcn): update dependencies install functionality
* chore: changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-06-16 16:05:41 +04:00
Manuel Schiller
c86c27a2ff
fix TanStack Start detection ( #7601 )
...
* fix tanstack start detection
* chore: changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-06-16 15:24:41 +04:00
shadcn
92cfb9a30e
fix(shadcn): flaky create-project tests ( #7590 )
...
* fix(shadcn): flaky create-project tests
* fix
* fix
2025-06-11 13:50:35 +04:00
shadcn
3119f94d47
feat: only show npm flag for react 18 deps ( #7573 )
...
* feat: only show npm flag for react 18 deps
* tests: update
2025-06-09 16:17:44 +04:00
shadcn
df91b52887
feat(shadcn): registry commands ( #7497 )
...
* feat: grunt
* feat: add useCache option to fetchRegistry
* feat: wip mcp
* test(shadcn): add tests for build
* feat(shadcn): fix import and implement verbose
* chore(shadcn): add build back for now
* feat(shadcn): resolve css file
* chore(shadcn): add experimental tag
* chore: changeset
2025-05-29 15:49:22 +04:00
Joshua
2773f9e2e2
fix(tailwind-prefix): resolve prefixing issue for Tailwind CSS v4 compatibility (including tests) ( #6885 )
...
* WIP
* fix(tailwind-prefix): resolve prefixing issue for Tailwind CSS v4 compatibility
1. Fixed incorrect prefix application causing issues with Tailwind CSS v4.
2. Optimized implementation using map() for better performance and readability.
* fix(tailwind-prefix): fix test transform-tw-prefixt
* fix(tailwind-prefix): fix test apply-prefix
* fix(tailwind-prefix): add backwards compatibility for applyPrefix
* fix(tailwind-prefix): added changeset
---------
Co-authored-by: Al-Amin Islam Nerob <nerobit.786@gmail.com >
Co-authored-by: shadcn <m@shadcn.com >
2025-05-19 11:31:12 +04:00
Richard Szalay
9ad24d6a16
chore(shadcn): add update-dependencies tests ( #7067 )
2025-04-22 15:20:00 +04:00
迷渡
6f702f5fbf
fix: Add npm: specifier when install dependencies with Deno ( #6899 )
...
* fix: Add `npm:` specifier when install dependencies with Deno
* chore: changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-04-21 23:36:36 +04:00
shadcn
d0306774fe
feat(shadcn): resolve imports from anywhere ( #7220 )
...
* feat(shadcn): resolve imports from anywhere
* fix: type errors
* fix: add debug
* feat: handle root paths
* fix: src prefix
* fix: tests
* chore: changeset
2025-04-19 13:31:04 +04:00
Neeraj Dalal
f1e5cc4666
🔥 feat(fix): mark "tw-animate-css" as devDep ( #6985 )
...
* chore: tweaks to build-registry.mts ~ 1 file 2+ 5-
apps/v4/scripts/build-registry.mts
* chore: tweaks to index.json ~ 1 file 4+ 9-
apps/www/public/r/styles/new-york-v4/index.json
* chore: tweaks to registry.json ~ 1 file 221+ 850-
apps/v4/registry.json
* chore: tweaks to index.json ~ 1 file 47+ 144-
apps/www/public/r/index.json
* chore: tweaks to registry.json ~ 1 file 852+ 221-
apps/v4/registry.json
* chore: tweaks to build-registry.mts ~ 1 file 7+ 2-
apps/v4/scripts/build-registry.mts
* chore: tweaks to build-registry.mts ~ 1 file 2+ 2-
apps/v4/scripts/build-registry.mts
* chore: tweaks to index.json ~ 1 file 11+ 4-
apps/www/public/r/styles/new-york-v4/index.json
* chore: tweaks to index.json ~ 1 file 1+ 1-
apps/www/public/r/index.json
* chore: tweaks to index.json ~ 1 file 143+ 46-
apps/www/public/r/index.json
* chore: tweaks to update-dependencies.ts ~ 1 file 20+
packages/shadcn/src/utils/updaters/update-dependencies.ts
* chore: tweaks to update-dependencies.ts ~ 1 file 1-
packages/shadcn/src/utils/updaters/update-dependencies.ts
* chore: tweaks to update-dependencies.ts ~ 1 file 19-
packages/shadcn/src/utils/updaters/update-dependencies.ts
* chore: tweaks to add-components.ts update-dependencies.ts ~ 2 files 21+ 2-
packages/shadcn/src/utils/add-components.ts
packages/shadcn/src/utils/updaters/update-dependencies.ts
* chore: tweaks to update-dependencies.ts ~ 1 file 29+ 28-
packages/shadcn/src/utils/updaters/update-dependencies.ts
* refactor: remove redundant code
tw-animate-css already has accordion animations
* chore: tweaks > migrate-icons.ts
packages/shadcn/src/migrations/migrate-icons.ts
* fix: formatting > add-components.ts update-dependencies.ts
packages/shadcn/src/utils/add-components.ts
packages/shadcn/src/utils/updaters/update-dependencies.ts
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-04-19 13:05:52 +04:00