Skip to content

Commit f98735e

Browse files
committed
Update major deps
1 parent fa9ed89 commit f98735e

14 files changed

Lines changed: 1691 additions & 1389 deletions

File tree

‎app/(dashboard)/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default function HomePage() {
4747
<div className="lg:grid lg:grid-cols-3 lg:gap-8">
4848
<div>
4949
<div className="flex items-center justify-center h-12 w-12 rounded-md bg-orange-500 text-white">
50-
<svg viewBox="0 0 24 24" className="h-6 w-6">
50+
<svg viewBox="0 0 24 24" className="h-6 w-6" aria-hidden="true">
5151
<path
5252
fill="currentColor"
5353
d="M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z"

‎app/(dashboard)/pricing/page.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ function PricingCard({
8787
</span>
8888
</p>
8989
<ul className="space-y-4 mb-8">
90-
{features.map((feature, index) => (
91-
<li key={index} className="flex items-start">
90+
{features.map((feature) => (
91+
<li key={feature} className="flex items-start">
9292
<Check className="h-5 w-5 text-orange-500 mr-2 mt-0.5 flex-shrink-0" />
9393
<span className="text-gray-700">{feature}</span>
9494
</li>

‎app/(dashboard)/terminal.tsx‎

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@
33
import { Check, Copy } from "lucide-react";
44
import { useEffect, useState } from "react";
55

6+
const terminalSteps = [
7+
"git clone https://github.com/endformdev/playwright-tutorial",
8+
"pnpm install",
9+
"pnpm dev",
10+
"pnpm db:setup # optional: switch to local SQLite",
11+
"pnpm db:seed # optional: add local sample data",
12+
"open http://localhost:3000 🎉",
13+
];
14+
615
export function Terminal() {
716
const [terminalStep, setTerminalStep] = useState(0);
817
const [copied, setCopied] = useState(false);
9-
const terminalSteps = [
10-
"git clone https://github.com/endformdev/playwright-tutorial",
11-
"pnpm install",
12-
"pnpm dev",
13-
"pnpm db:setup # optional: switch to local SQLite",
14-
"pnpm db:seed # optional: add local sample data",
15-
"open http://localhost:3000 🎉",
16-
];
1718

1819
useEffect(() => {
1920
const timer = setTimeout(() => {
@@ -41,6 +42,7 @@ export function Terminal() {
4142
<div className="w-3 h-3 rounded-full bg-green-500"></div>
4243
</div>
4344
<button
45+
type="button"
4446
onClick={copyToClipboard}
4547
className="text-gray-400 hover:text-white transition-colors"
4648
aria-label="Copy to clipboard"
@@ -55,7 +57,7 @@ export function Terminal() {
5557
<div className="space-y-2">
5658
{terminalSteps.map((step, index) => (
5759
<div
58-
key={index}
60+
key={step}
5961
className={`${index > terminalStep ? "opacity-0" : "opacity-100"} transition-opacity duration-300`}
6062
>
6163
<span className="text-green-400">$</span> {step}

‎app/(login)/actions.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ import { db } from "@/lib/db/drizzle";
1515
import { getUser, getUserWithTeam } from "@/lib/db/queries";
1616
import {
1717
ActivityType,
18-
activityLogs,
1918
invitations,
20-
type NewActivityLog,
21-
type NewTeam,
22-
type NewTeamMember,
2319
type NewUser,
2420
teamMembers,
2521
teams,

‎app/api/internal/user/route.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ export async function POST(request: Request) {
2727
if ("error" in createdUser) {
2828
return new Response(createdUser.error, { status: 400 });
2929
}
30+
if (createdUser.id == null) {
31+
return new Response("Created user is missing an id", { status: 500 });
32+
}
3033

3134
const expiresInOneDay = new Date(Date.now() + 24 * 60 * 60 * 1000);
3235
const encryptedSession = await createSession(
33-
createdUser.id!,
36+
createdUser.id,
3437
expiresInOneDay,
3538
);
3639

‎biome.json‎

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.5.0/schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",
6-
"useIgnoreFile": false
6+
"useIgnoreFile": true
77
},
88
"files": {
99
"ignoreUnknown": false,
10-
"includes": ["**", "!**/node_modules", "!**/.next"]
10+
"includes": [
11+
"**",
12+
"!**/node_modules",
13+
"!**/.next",
14+
"!**/.auth",
15+
"!app/globals.css",
16+
"!**/playwright-report",
17+
"!**/test-results"
18+
]
1119
},
1220
"formatter": {
1321
"enabled": true,
@@ -16,14 +24,19 @@
1624
"linter": {
1725
"enabled": true,
1826
"rules": {
19-
"recommended": true
27+
"preset": "recommended"
2028
}
2129
},
2230
"javascript": {
2331
"formatter": {
2432
"quoteStyle": "double"
2533
}
2634
},
35+
"css": {
36+
"parser": {
37+
"tailwindDirectives": true
38+
}
39+
},
2740
"assist": {
2841
"enabled": true,
2942
"actions": {

‎components/ui/avatar.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ function AvatarFallback({
5050
);
5151
}
5252

53-
export { Avatar, AvatarImage, AvatarFallback };
53+
export { Avatar, AvatarFallback, AvatarImage };

‎components/ui/card.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
8383

8484
export {
8585
Card,
86-
CardHeader,
87-
CardFooter,
88-
CardTitle,
8986
CardAction,
90-
CardDescription,
9187
CardContent,
88+
CardDescription,
89+
CardFooter,
90+
CardHeader,
91+
CardTitle,
9292
};

‎components/ui/dropdown-menu.tsx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -240,18 +240,18 @@ function DropdownMenuSubContent({
240240

241241
export {
242242
DropdownMenu,
243-
DropdownMenuPortal,
244-
DropdownMenuTrigger,
243+
DropdownMenuCheckboxItem,
245244
DropdownMenuContent,
246245
DropdownMenuGroup,
247-
DropdownMenuLabel,
248246
DropdownMenuItem,
249-
DropdownMenuCheckboxItem,
247+
DropdownMenuLabel,
248+
DropdownMenuPortal,
250249
DropdownMenuRadioGroup,
251250
DropdownMenuRadioItem,
252251
DropdownMenuSeparator,
253252
DropdownMenuShortcut,
254253
DropdownMenuSub,
255-
DropdownMenuSubTrigger,
256254
DropdownMenuSubContent,
255+
DropdownMenuSubTrigger,
256+
DropdownMenuTrigger,
257257
};

‎package.json‎

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"packageManager": "pnpm@10.15.0",
3+
"packageManager": "pnpm@11.8.0",
44
"scripts": {
55
"dev": "next dev --turbopack",
66
"build": "next build --turbopack",
@@ -15,37 +15,37 @@
1515
"mcp-user": "tsx mcp-user.ts"
1616
},
1717
"dependencies": {
18-
"@libsql/client": "^0.15.15",
19-
"@tailwindcss/postcss": "4.1.18",
20-
"@types/node": "^25.0.3",
21-
"@types/react": "19.2.7",
18+
"@libsql/client": "^0.17.4",
19+
"@tailwindcss/postcss": "4.3.1",
20+
"@types/node": "^24.13.2",
21+
"@types/react": "19.2.17",
2222
"@types/react-dom": "19.2.3",
2323
"bcryptjs": "^3.0.3",
2424
"class-variance-authority": "^0.7.1",
2525
"clsx": "^2.1.1",
26-
"dotenv": "^17.2.3",
27-
"drizzle-kit": "^0.31.8",
28-
"drizzle-orm": "^0.45.1",
29-
"jose": "^6.1.3",
30-
"lucide-react": "^0.561.0",
31-
"next": "16.0.10",
32-
"postcss": "^8.5.6",
33-
"radix-ui": "^1.4.3",
34-
"react": "19.2.3",
35-
"react-dom": "19.2.3",
26+
"dotenv": "^17.4.2",
27+
"drizzle-kit": "^0.31.10",
28+
"drizzle-orm": "^0.45.2",
29+
"jose": "^6.2.3",
30+
"lucide-react": "^1.21.0",
31+
"next": "16.2.9",
32+
"postcss": "^8.5.15",
33+
"radix-ui": "^1.6.0",
34+
"react": "19.2.7",
35+
"react-dom": "19.2.7",
3636
"server-only": "^0.0.1",
37-
"swr": "^2.3.8",
38-
"tailwind-merge": "^3.4.0",
39-
"tailwindcss": "4.1.18",
37+
"swr": "^2.4.1",
38+
"tailwind-merge": "^3.6.0",
39+
"tailwindcss": "4.3.1",
4040
"tw-animate-css": "^1.4.0",
41-
"typescript": "^5.9.3",
42-
"zod": "^4.2.1"
41+
"typescript": "^6.0.3",
42+
"zod": "^4.4.3"
4343
},
4444
"devDependencies": {
45-
"@biomejs/biome": "^2.3.9",
46-
"@playwright/test": "1.60.0",
47-
"@types/bun": "^1.3.4",
48-
"endform": "^0.66.1",
49-
"tsx": "^4.21.0"
45+
"@biomejs/biome": "^2.5.0",
46+
"@playwright/test": "1.61.0",
47+
"@types/bun": "^1.3.14",
48+
"endform": "^0.69.0",
49+
"tsx": "^4.22.4"
5050
}
5151
}

0 commit comments

Comments
 (0)