Skip to content

Commit 45cb7ef

Browse files
committed
Upgrade to React 19 and tailwindcss v4
1 parent 10bbff2 commit 45cb7ef

14 files changed

+4711
-10773
lines changed

.postcssrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"plugins": {
3+
"@tailwindcss/postcss": {}
4+
}
5+
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>React SPA with Vite + TypeScript</title>
88
</head>
9-
<body>
9+
<body class="text-foreground dark:text-foreground bg-background dark:bg-background">
1010
<div id="root"></div>
1111
<script type="module" src="/src/main.tsx"></script>
1212
</body>

package-lock.json

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

package.json

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -12,56 +12,56 @@
1212
"postbuild": "node -e \"fs.copyFileSync('dist/index.html','dist/404.html')\""
1313
},
1414
"dependencies": {
15-
"@radix-ui/react-dialog": "^1.0.5",
16-
"@radix-ui/react-dropdown-menu": "^2.0.6",
17-
"@radix-ui/react-slot": "^1.0.2",
18-
"@servicestack/client": "^2.1.2",
19-
"class-variance-authority": "^0.7.0",
15+
"@radix-ui/react-dialog": "^1.1.13",
16+
"@radix-ui/react-dropdown-menu": "^2.1.14",
17+
"@radix-ui/react-slot": "^1.2.2",
18+
"@servicestack/client": "^2.1.11",
19+
"class-variance-authority": "^0.7.1",
2020
"classnames": "^2.5.1",
21-
"clsx": "^2.1.0",
22-
"lucide-react": "^0.330.0",
23-
"react": "^18.2.0",
24-
"react-dom": "^18.2.0",
25-
"react-helmet-async": "^2.0.4",
26-
"react-router": "^6.22.0",
27-
"react-router-dom": "^6.22.0",
28-
"swr": "^2.2.4",
29-
"tailwind-merge": "^2.2.1",
21+
"clsx": "^2.1.1",
22+
"lucide-react": "^0.510.0",
23+
"react": "^19.1.0",
24+
"react-dom": "^19.1.0",
25+
"react-router": "^7.6.0",
26+
"react-router-dom": "^7.6.0",
27+
"swr": "^2.3.3",
28+
"tailwind-merge": "^3.3.0",
3029
"tailwindcss-animate": "^1.0.7"
3130
},
3231
"devDependencies": {
33-
"@iconify/react": "^4.1.1",
34-
"@mdx-js/rollup": "^3.0.1",
35-
"@tailwindcss/forms": "^0.5.7",
36-
"@tailwindcss/typography": "^0.5.10",
37-
"@types/mdx": "^2.0.11",
38-
"@types/node": "^20.11.20",
39-
"@types/react": "^18.2.56",
40-
"@types/react-dom": "^18.2.19",
41-
"@types/react-helmet-async": "^1.0.3",
32+
"@iconify/react": "^6.0.0",
33+
"@mdx-js/rollup": "^3.1.0",
34+
"@tailwindcss/forms": "^0.5.10",
35+
"@tailwindcss/postcss": "^4.1.6",
36+
"@tailwindcss/typography": "^0.5.16",
37+
"@tailwindcss/vite": "^4.1.6",
38+
"@types/mdx": "^2.0.13",
39+
"@types/node": "^22.15.17",
40+
"@types/react": "^19.1.4",
41+
"@types/react-dom": "^19.1.5",
4242
"@types/react-router-dom": "^5.3.3",
4343
"@types/remark-prism": "^1.3.7",
44-
"@typescript-eslint/eslint-plugin": "^6.21.0",
45-
"@typescript-eslint/parser": "^6.21.0",
46-
"@vitejs/plugin-react": "^4.2.1",
47-
"autoprefixer": "^10.4.17",
48-
"eslint": "^8.56.0",
49-
"eslint-plugin-react-hooks": "^4.6.0",
50-
"eslint-plugin-react-refresh": "^0.4.5",
51-
"hastscript": "^9.0.0",
52-
"postcss": "^8.4.35",
44+
"@typescript-eslint/eslint-plugin": "^8.32.1",
45+
"@typescript-eslint/parser": "^8.32.1",
46+
"@vitejs/plugin-react": "^4.4.1",
47+
"autoprefixer": "^10.4.21",
48+
"eslint": "^9.26.0",
49+
"eslint-plugin-react-hooks": "^5.2.0",
50+
"eslint-plugin-react-refresh": "^0.4.20",
51+
"hastscript": "^9.0.1",
52+
"postcss": "^8.5.3",
5353
"rehype-raw": "^7.0.0",
54-
"rehype-stringify": "^10.0.0",
55-
"remark-directive": "^3.0.0",
54+
"rehype-stringify": "^10.0.1",
55+
"remark-directive": "^4.0.0",
5656
"remark-frontmatter": "^5.0.0",
57-
"remark-gfm": "^4.0.0",
57+
"remark-gfm": "^4.0.1",
5858
"remark-parse": "^11.0.0",
5959
"remark-prism": "^1.3.6",
60-
"tailwindcss": "^3.4.1",
61-
"typescript": "^5.2.2",
62-
"vite": "^5.1.0",
63-
"vite-plugin-pages": "^0.32.0",
60+
"tailwindcss": "^4.1.6",
61+
"typescript": "^5.8.3",
62+
"vite": "^6.3.5",
63+
"vite-plugin-pages": "^0.33.0",
6464
"vite-plugin-press": "^1.0.10",
65-
"vite-plugin-svgr": "^4.2.0"
65+
"vite-plugin-svgr": "^4.3.0"
6666
}
6767
}

postcss.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)