Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧 ui Build package with tsup #37

Merged
merged 3 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/nextjs/src/app/_components/auth-showcase.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { auth, signIn, signOut } from "@acme/auth";
import { Button } from "@acme/ui/components";
import { Button } from "@acme/ui/shadcn";

export async function AuthShowcase() {
const session = await auth();
Expand Down
4 changes: 2 additions & 2 deletions apps/nextjs/src/app/_components/posts.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"use client";

import type { RouterOutputs } from "@acme/api";
import { cn } from "@acme/ui/lib";
import {
Button,
Form,
Expand All @@ -11,8 +12,7 @@ import {
Input,
toast,
useForm,
} from "@acme/ui/components";
import { cn } from "@acme/ui/lib";
} from "@acme/ui/shadcn";
import { CreatePostSchema } from "@acme/validators";

import { api } from "~/trpc/react";
Expand Down
2 changes: 1 addition & 1 deletion apps/nextjs/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { headers } from "next/headers";
import { GeistMono } from "geist/font/mono";
import { GeistSans } from "geist/font/sans";

import { ThemeProvider, ThemeToggle, Toaster } from "@acme/ui/components";
import { cn } from "@acme/ui/lib";
import { ThemeProvider, ThemeToggle, Toaster } from "@acme/ui/shadcn";

import { env } from "~/env";
import { TRPCReactProvider } from "~/trpc/react";
Expand Down
2 changes: 1 addition & 1 deletion apps/worxpace/src/app/(marketing)/_components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Button } from "@acme/ui/components";
import { cn } from "@acme/ui/lib";
import { Button } from "@acme/ui/shadcn";

import { theme } from "~/constants/theme";
import Logo from "./logo";
Expand Down
2 changes: 1 addition & 1 deletion apps/worxpace/src/app/(marketing)/_components/heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Link from "next/link";
import { ArrowRight } from "lucide-react";

import { Button } from "@acme/ui/components";
import { Button } from "@acme/ui/shadcn";

import { theme } from "~/constants/theme";

Expand Down
2 changes: 1 addition & 1 deletion apps/worxpace/src/app/(marketing)/_components/navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use client";

import { ThemeToggle } from "@acme/ui/components";
import { useScrollTop } from "@acme/ui/hooks";
import { cn } from "@acme/ui/lib";
import { ThemeToggle } from "@acme/ui/shadcn";

import { theme } from "~/constants/theme";
import Logo from "./logo";
Expand Down
2 changes: 1 addition & 1 deletion apps/worxpace/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Metadata, Viewport } from "next";
import { Inter } from "next/font/google";

import { ThemeProvider } from "@acme/ui/components";
import { ThemeProvider } from "@acme/ui/shadcn";

import { env } from "~/env";

Expand Down
Loading
Loading