Skip to content

Commit 35ed8fd

Browse files
committed
feat: Tailwind v4 migration
1 parent 6d11598 commit 35ed8fd

37 files changed

+453
-516
lines changed

.eslintrc.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,14 @@
33
"root": true,
44
"extends": [
55
"next/core-web-vitals",
6-
"prettier",
7-
"plugin:tailwindcss/recommended"
8-
],
9-
"plugins": [
10-
"tailwindcss"
6+
"prettier"
117
],
128
"rules": {
139
"@next/next/no-html-link-for-pages": "off",
1410
"react/jsx-key": "off",
15-
"tailwindcss/no-custom-classname": "off",
1611
"react-hooks/exhaustive-deps": "off"
1712
},
1813
"settings": {
19-
"tailwindcss": {
20-
"callees": [
21-
"cn"
22-
],
23-
"config": "tailwind.config.js"
24-
},
2514
"next": {
2615
"rootDir": [
2716
"./"
@@ -37,4 +26,4 @@
3726
"parser": "@typescript-eslint/parser"
3827
}
3928
]
40-
}
29+
}

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,20 @@
7575
},
7676
"devDependencies": {
7777
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
78+
"@tailwindcss/postcss": "^4.0.15",
7879
"@types/blueimp-md5": "^2.18.2",
7980
"@types/node": "^20.11.30",
8081
"@types/nprogress": "^0.2.3",
8182
"@types/react": "^18.2.73",
8283
"@types/react-dom": "^18.2.23",
8384
"@typescript-eslint/parser": "^7.4.0",
84-
"autoprefixer": "^10.4.19",
8585
"eslint": "^8.57.0",
8686
"eslint-config-next": "14.1.4",
8787
"eslint-config-prettier": "^9.1.0",
8888
"eslint-plugin-react": "^7.34.1",
89-
"eslint-plugin-tailwindcss": "^3.15.1",
9089
"postcss": "^8.4.38",
9190
"prettier": "^3.2.5",
92-
"tailwindcss": "^3.4.3",
91+
"tailwindcss": "^4.0.15",
9392
"typescript": "^5.4.3"
9493
},
9594
"packageManager": "[email protected]+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"

0 commit comments

Comments
 (0)