Skip to content

Commit 9b93dc1

Browse files
Frontend: land deferred major upgrades (Clerk 7, Tailwind 4, lucide-react 1) (#24)
* Upgrade Clerk 6 -> 7 in frontend - SignedIn/SignedOut replaced with Show when="signed-in"/"signed-out" - ClerkProvider afterSignInUrl/afterSignUpUrl -> signInFallbackRedirectUrl/signUpFallbackRedirectUrl Co-authored-by: Rishi Desai <RishiDesai@users.noreply.github.com> * Upgrade lucide-react 0.468.0 -> 1.9.0; inline Github icon Brand icons (Github, Twitter, etc.) removed in lucide-react v1. Added a minimal inline SVG GithubIcon component used on the landing page; ArrowRight still comes from lucide-react. Co-authored-by: Rishi Desai <RishiDesai@users.noreply.github.com> * Upgrade Tailwind CSS 3 -> 4 - Run official @tailwindcss/upgrade codemod across templates and CSS - Drop tailwind.config.ts; theme tokens moved into @theme block in src/app/globals.css - postcss.config.mjs now uses @tailwindcss/postcss - tailwindcss-animate wired via @plugin in globals.css - prettier-plugin-tailwindcss bumped to 0.7.3 (Tailwind 4 compatible) - Fix two Badge variant prop literals that the codemod incorrectly rewrote to 'outline-solid' in src/app/(app)/admin/page.tsx; Badge variant is still 'outline' Co-authored-by: Rishi Desai <RishiDesai@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent acda6d1 commit 9b93dc1

40 files changed

Lines changed: 613 additions & 743 deletions

frontend/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
/// <reference path="./.next/types/routes.d.ts" />
3+
import "./.next/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

frontend/package.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@
1111
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
1212
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\""
1313
},
14-
"//": "All dependencies pinned to exact versions for supply-chain security. Upgrade via `pnpm up <pkg>@<version>` and commit the regenerated pnpm-lock.yaml. CI + Dockerfile use `pnpm install --frozen-lockfile` to reject drift.",
14+
"//": [
15+
"All dependencies pinned to exact versions for supply-chain security. Upgrade via `pnpm up <pkg>@<version>` and commit the regenerated pnpm-lock.yaml. CI + Dockerfile use `pnpm install --frozen-lockfile` to reject drift.",
16+
"ESLint 10 deferred until eslint-plugin-react releases an eslint@10-compatible version."
17+
],
1518
"dependencies": {
16-
"@clerk/nextjs": "6.36.8",
19+
"@clerk/nextjs": "7.2.5",
1720
"@lobehub/icons": "5.5.4",
1821
"@radix-ui/react-accordion": "1.2.12",
1922
"@radix-ui/react-alert-dialog": "1.1.15",
@@ -30,7 +33,7 @@
3033
"@tanstack/react-virtual": "3.13.24",
3134
"class-variance-authority": "0.7.1",
3235
"clsx": "2.1.1",
33-
"lucide-react": "0.468.0",
36+
"lucide-react": "1.9.0",
3437
"mammoth": "1.12.0",
3538
"next": "16.2.4",
3639
"prism-react-renderer": "2.4.1",
@@ -48,17 +51,17 @@
4851
},
4952
"devDependencies": {
5053
"@eslint/js": "9.39.2",
54+
"@tailwindcss/postcss": "4.2.4",
5155
"@types/node": "22.19.5",
5256
"@types/react": "19.2.14",
5357
"@types/react-dom": "19.2.3",
54-
"autoprefixer": "10.5.0",
5558
"eslint": "9.39.2",
5659
"eslint-plugin-react": "7.37.5",
5760
"eslint-plugin-react-hooks": "7.1.1",
5861
"postcss": "8.5.10",
5962
"prettier": "3.8.3",
60-
"prettier-plugin-tailwindcss": "0.6.14",
61-
"tailwindcss": "3.4.19",
63+
"prettier-plugin-tailwindcss": "0.7.3",
64+
"tailwindcss": "4.2.4",
6265
"typescript": "6.0.3",
6366
"typescript-eslint": "8.59.0"
6467
}

0 commit comments

Comments
 (0)