Commit Graph

27 Commits

Author SHA1 Message Date
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
57d404b5d3 feat: new components (#2144) 2023-12-22 23:36:59 +04:00
Yahor Barkouski
5d2373fb7a fix(www): update faker version, reduce int() deprecation (#1832)
* fix: update faker version, reduce int() deprecation

* chore: pnpm format:write

---------

Co-authored-by: shadcn <m@shadcn.com>
2023-11-12 22:12:58 +04:00
Chongyi Zheng
1ae9ffcf58 chore: upgrade @radix-ui/react-select to 2.0.0 (#1688) 2023-11-12 10:32:03 +00:00
shadcn
3c9f7ca0e2 feat: themes (#1135) 2023-08-07 22:39:16 +04:00
shadcn
f78a4aaa28 chore(www): site updates (#829)
* chore(www): update to latest Next.js

* feat(www): replace lucide icons
2023-07-04 17:04:22 +04:00
shadcn
ea6699adbf feat: restructure installation docs 2023-06-30 22:37:43 +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
shadcn
36881682cf feat: switch to stable next 2023-05-20 20:02:42 +04:00
shadcn
4ccff13f9c feat: react-hook-form (#377)
* feat(form): add form component

* feat(www): update site styles

* feat: add form examples

* docs(www): add docs for forms

* docs(www): hide tabs for docs demo
2023-05-19 22:56:49 +04:00
shadcn
f8272baf07 feat: add table and data table (#321) 2023-05-09 23:25:26 +04:00
shadcn
6e67107170 fix(www): update to canary with scrolling fix (#279) 2023-05-03 10:53:59 +04:00
shadcn
5e915756d5 feat(www): implement event tracking (#218)
* feat(www): implement event tracking

* fix(www): always show copy button

* fix(www): update align props for copy button
2023-04-20 12:21:50 +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
Raj Savaliya
81ee0de71c chore: replace third party @next/font with next/font (#145) 2023-04-03 09:15:23 +04:00
shadcn
3961f15dc6 fix: remove unist dependency 2023-04-01 06:46:01 +04:00
shadcn
be701cf139 feat: add @shadcn/ui cli (#112) 2023-03-08 11:37:15 +04:00
shadcn
7f092ca3c9 chore: temporarily remove logsnag (#91) 2023-02-16 13:13:06 +04:00
shadcn
19813d25d6 ci: add code-check workflow (#71) 2023-02-10 11:15:33 +04:00
Vincent Dusautoir
a94375fb85 feat(toast): add toast component 2023-02-10 10:03:52 +04:00
shadcn
b09a75275a feat(command): add command component 2023-02-07 21:39:08 +04:00
Swapnanil Gupta
1334ac57be feat(toggle): add the Toggle component
* Added Toggle UI component

* Added Toggle examples and docs

* Added radix ui package installation instruction

* fix(toggle): simplify variants
2023-02-04 10:44:49 +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
shadcn
e03e004d9a chore: update next and next/font 2023-01-29 13:36:06 +04:00
shadcn
0a241be17f feat: initial commit 2023-01-24 19:51:29 +04:00