Commit Graph

26 Commits

Author SHA1 Message Date
shadcn
650b3b9bda chore(www): switch to contentlayer2 (#4292)
* chore(www): switch to contentlayer2

* chore: rebuild registry

* fix: build
2024-07-15 12:18:58 +04:00
shadcn
f0093d6a41 feat: add chart colors to base colors (#4228)
* feat: add chart colors to base colors

* fix: format
2024-07-09 15:29:20 +04:00
shadcn
4ac9db98fe Charts (#4181) 2024-07-06 02:06:40 +04:00
shadcn
79c054ac7a feat: blocks (#3094) 2024-03-22 21:39:33 +04:00
Gravy59
f3ff4a4fc3 fix(build): replace ts-node with tsx to resolve issues with modules (#1977)
This pull request resolves #1926 and prevents issues like it from happening in the future

## Rationale for this PR

This PR changes the TypeScript execution package for use in scripts like `build:registry` from `ts-node` to `tsx`. This is because `ts-node` has many difficult quirks to work through (and is slow). In addition, it also has a difficult to understand error for newcomers that *is* reproducible.

### The ts-node error

As shown in #1926, using `ts-node` (specifically in `build:registry`) results in this error: `Unknown file extension ".ts" for /ui/apps/www/scripts/build-registry.ts`. There are many issues in the `ts-node` repository documenting this problem:
* TypeStrong/ts-node/issues/1062
* TypeStrong/ts-node/issues/2033
* TypeStrong/ts-node/issues/1997

Switching the typescript-in-node system to `tsx`, which uses esbuild under the hood, resolves this error.

This PR shouldn't affect tests, representation, etc. and is merely a change of build tools. There is no urgent need to merge this.

I accidentally deleted the head repository on #1937. That will not happen again.
2024-01-28 09:18:18 +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
57d404b5d3 feat: new components (#2144) 2023-12-22 23:36:59 +04:00
shadcn
eeb17545a1 feat: new CLI, Styles and more (#637) 2023-06-22 22:44:52 +04:00
shadcn
eb27529f50 feat(next-template): update template and dependencies (#483)
* feat(next-template): update template and deps

* docs(next-template): update README

* fix(www): update deps

* chore: remove console.log
2023-05-29 11:02:02 +04:00
Alexander Kachkaev
22f23b7db3 chore: update pnpm version in package.json (#314)
* Update pnpm version in package.json

* Update package.json

* 8.5.1

---------

Co-authored-by: shadcn <m@shadcn.com>
2023-05-25 22:05:55 +04:00
shadcn
68e1c5624a chore(www): update deps and fix CI errors (#204) 2023-04-19 13:22:53 +04:00
shadcn
a703c6fb58 feat: CSS variables and CLI (#180) 2023-04-17 19:19:40 +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
github-actions[bot]
fa3af5d020 chore(release): version packages (#114) 2023-03-08 15:06:29 +04:00
shadcn
5fc7f7b2bd fix: update type 2023-03-08 13:05:00 +04:00
shadcn
3de9c0c7b8 fix: npm scripts 2023-03-08 12:59:49 +04:00
shadcn
385cc1a57d chore: add @changesets/changelog-github 2023-03-08 11:39:28 +04:00
shadcn
be701cf139 feat: add @shadcn/ui cli (#112) 2023-03-08 11:37:15 +04:00
shadcn
e77f7d2d23 feat(examples): add example app (#80) 2023-02-13 21:28:40 +04:00
shadcn
19813d25d6 ci: add code-check workflow (#71) 2023-02-10 11:15:33 +04:00
Theodorus Clarence
403ec20e15 chore: add husky prepare 2023-02-06 15:25:29 +04:00
Vincent Dusautoir
a0b1f89455 feat: add navigation-menu (#31)
* feat: navigation-menu

* fix: export at the end

* fix: rounded-md

* fix: demo design

* rename: NavigationMenuRoot -> NavigationMenu

* feat: update roadmap

* feat: update style for navigation menu

* feat: implement navigation menu component

* feat: implement navigation menu for www

---------

Co-authored-by: shadcn <m@shadcn.com>
2023-01-29 21:28:13 +04:00
Elliot Anderson
6ea6856f5a chore: add MIT license
* Add MIT License

* Set license in package.json
2023-01-27 16:02:33 +04:00
shadcn
0a241be17f feat: initial commit 2023-01-24 19:51:29 +04:00