Skip to content

Commit 3c88155

Browse files
committed
build(deps): upgrade dependencies and update configs
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
1 parent aa2ac65 commit 3c88155

16 files changed

Lines changed: 340 additions & 372 deletions

File tree

biome.json

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,66 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",
66
"useIgnoreFile": false
77
},
88
"files": {
99
"ignoreUnknown": false,
10-
"ignore": ["src/components/ui/*.tsx", "src/app/providers.tsx"]
11-
},
12-
"organizeImports": {
13-
"enabled": true
10+
"includes": [
11+
"**",
12+
"!**/.next",
13+
"!**/node_modules",
14+
"!src/components/ui/*.tsx",
15+
"!src/app/providers.tsx"
16+
]
1417
},
1518
"linter": {
1619
"enabled": true,
1720
"rules": {
1821
"recommended": true,
22+
"correctness": {},
1923
"performance": {
20-
"all": true
21-
},
22-
"security": {
23-
"all": true
24+
"noImgElement": "off"
2425
},
26+
"security": {},
2527
"style": {
26-
"all": true,
2728
"noDefaultExport": "off",
2829
"useFilenamingConvention": {
2930
"level": "error",
3031
"options": {
3132
"filenameCases": ["kebab-case"]
3233
}
33-
}
34+
},
35+
"noParameterAssign": "error",
36+
"useAsConstAssertion": "error",
37+
"useDefaultParameterLast": "error",
38+
"useEnumInitializers": "error",
39+
"useSelfClosingElements": "error",
40+
"useSingleVarDeclarator": "error",
41+
"noUnusedTemplateLiteral": "error",
42+
"useNumberNamespace": "error",
43+
"noInferrableTypes": "error",
44+
"noUselessElse": "error"
3445
}
35-
}
46+
},
47+
"includes": ["src/**/*", "!src/components/ui/**/*"]
3648
},
3749
"formatter": {
3850
"enabled": true,
3951
"indentStyle": "space",
4052
"indentWidth": 2,
4153
"lineWidth": 80
4254
},
55+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
4356
"javascript": {
4457
"formatter": {
4558
"quoteStyle": "double"
4659
}
60+
},
61+
"css": {
62+
"parser": {
63+
"tailwindDirectives": true
64+
}
4765
}
4866
}

bun.lock

Lines changed: 246 additions & 278 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,35 +11,35 @@
1111
"lint:fix": "biome check src --write"
1212
},
1313
"dependencies": {
14-
"@radix-ui/react-accordion": "^1.2.3",
15-
"@radix-ui/react-dialog": "^1.1.6",
16-
"@radix-ui/react-dropdown-menu": "^2.1.6",
17-
"@radix-ui/react-navigation-menu": "^1.2.5",
18-
"@radix-ui/react-progress": "^1.1.7",
19-
"@radix-ui/react-separator": "^1.1.7",
20-
"@radix-ui/react-slot": "^1.1.2",
21-
"@radix-ui/react-tabs": "^1.1.12",
14+
"@radix-ui/react-accordion": "^1.2.12",
15+
"@radix-ui/react-dialog": "^1.1.15",
16+
"@radix-ui/react-dropdown-menu": "^2.1.16",
17+
"@radix-ui/react-navigation-menu": "^1.2.14",
18+
"@radix-ui/react-progress": "^1.1.8",
19+
"@radix-ui/react-separator": "^1.1.8",
20+
"@radix-ui/react-slot": "^1.2.4",
21+
"@radix-ui/react-tabs": "^1.1.13",
2222
"class-variance-authority": "^0.7.1",
2323
"clsx": "^2.1.1",
24-
"framer-motion": "^12.18.1",
25-
"lucide-react": "^0.516.0",
26-
"motion": "^12.18.1",
27-
"next": "15.3.8",
28-
"next-mdx-remote": "^5.0.0",
29-
"posthog-js": "^1.253.4",
30-
"react": "19.1.0",
31-
"react-dom": "19.1.0",
32-
"tailwind-merge": "^3.3.1",
24+
"framer-motion": "^12.38.0",
25+
"lucide-react": "^1.7.0",
26+
"motion": "^12.38.0",
27+
"next": "16.2.2",
28+
"next-mdx-remote": "^6.0.0",
29+
"posthog-js": "^1.364.6",
30+
"react": "19.2.4",
31+
"react-dom": "19.2.4",
32+
"tailwind-merge": "^3.5.0",
3333
"tailwindcss-animate": "^1.0.7"
3434
},
3535
"devDependencies": {
36-
"@biomejs/biome": "^1.9.4",
37-
"@tailwindcss/postcss": "^4.1.10",
38-
"@types/node": "^24",
36+
"@biomejs/biome": "^2.4.10",
37+
"@tailwindcss/postcss": "^4.2.2",
38+
"@types/node": "^25",
3939
"@types/react": "^19",
4040
"@types/react-dom": "^19",
4141
"postcss": "^8",
42-
"tailwindcss": "^4.1.10",
43-
"typescript": "^5"
42+
"tailwindcss": "^4.2.2",
43+
"typescript": "^6"
4444
}
4545
}

src/app/(about)/overview/_components/organising-team.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
"use client";
2-
import { useOutsideClick } from "@/hooks/use-outside-click";
32
import { AnimatePresence, motion } from "framer-motion";
43
import { X } from "lucide-react";
54
import Image from "next/image";
6-
import React, {
7-
type RefObject,
8-
useEffect,
9-
useId,
10-
useRef,
11-
useState,
12-
} from "react";
5+
import { type RefObject, useEffect, useId, useRef, useState } from "react";
6+
import { useOutsideClick } from "@/hooks/use-outside-click";
137

148
const team = [
159
{

src/app/(about)/overview/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import AboutSection from "@/components/about-section";
21
import HeroSection from "./_components/hero-section";
32
import { OrganisingTeam } from "./_components/organising-team";
43

src/app/(articles)/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import { notFound } from "next/navigation";
12
import { CustomMdx } from "@/components/mdx";
23
import { TracingBeam } from "@/components/ui/tracing-beam";
34
import { getArticles } from "@/lib/mdx";
4-
import { notFound } from "next/navigation";
55

66
export default async function Article(props: {
77
params: Promise<{ slug: string }>;

src/app/(articles)/_components/sponsors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { sponsors } from "@/lib/constants";
21
import Image from "next/image";
2+
import { sponsors } from "@/lib/constants";
33

44
export default function Sponsors() {
55
const years = [...new Set(sponsors.flatMap((sponsor) => sponsor.year))]

src/app/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import "tailwindcss";
22

3-
@plugin 'tailwindcss-animate';
3+
@plugin "tailwindcss-animate";
44

55
@custom-variant dark (&:is(.dark *));
66

src/app/posthog-page-view.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ function PostHogPageView(): null {
1717
url = `${url}?${searchParams.toString()}`;
1818
}
1919

20-
// biome-ignore lint/style/useNamingConvention: This is used by PostHog
2120
posthog.capture("$pageview", { $current_url: url });
2221
}
2322
}, [pathname, searchParams, posthog]);

src/components/gallery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import BlurFade from "@/components/ui/blur-fade";
21
import Image from "next/image";
2+
import BlurFade from "@/components/ui/blur-fade";
33

44
export default function Gallery({ images }: { images: string[] }) {
55
return (

0 commit comments

Comments
 (0)