- Upgrade from Tailwind CSS v3 to v4 with CSS-first configuration - Install HeroUI v3 beta packages (@heroui/react, @heroui/styles) - Migrate PostCSS config to new @tailwindcss/postcss plugin - Convert tailwind.config.cjs to CSS @theme directive in globals.css - Replace @tailwindcss/typography with custom prose styles Component migrations: - theme-toggle, back-to-top: HeroUI Button with onPress - post-card, post-list-item: HeroUI Card compound components - right-sidebar: HeroUI Card, Avatar, Chip - search-modal: HeroUI Modal with compound structure - nav-menu: HeroUI Button for mobile controls - post-list-with-controls: HeroUI Button for sorting/pagination Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"name": "personal-home",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "concurrently \"contentlayer2 dev\" \"next dev --turbo\"",
|
|
"sync-assets": "node scripts/sync-assets.mjs",
|
|
"build": "npm run sync-assets && contentlayer2 build && next build && npx pagefind --site .next && rm -rf public/_pagefind && cp -r .next/pagefind public/_pagefind",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"contentlayer": "contentlayer build"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@emotion/is-prop-valid": "^1.4.0",
|
|
"@heroui/react": "^3.0.0-beta.5",
|
|
"@heroui/styles": "^3.0.0-beta.5",
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"@vercel/og": "^0.8.5",
|
|
"clsx": "^2.1.1",
|
|
"contentlayer2": "^0.5.8",
|
|
"gray-matter": "^4.0.3",
|
|
"markdown-wasm": "^1.2.0",
|
|
"next": "^16.0.7",
|
|
"next-contentlayer2": "^0.5.8",
|
|
"next-themes": "^0.4.6",
|
|
"react": "^19.2.1",
|
|
"react-dom": "^19.2.1",
|
|
"react-icons": "^5.5.0",
|
|
"rehype-autolink-headings": "^7.1.0",
|
|
"rehype-pretty-code": "^0.14.1",
|
|
"rehype-slug": "^6.0.0",
|
|
"remark-directive": "^4.0.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"shiki": "^3.15.0",
|
|
"tailwind-merge": "^3.4.0",
|
|
"tailwind-variants": "^3.2.2",
|
|
"unist-util-visit": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.10.1",
|
|
"@types/react": "^19.2.5",
|
|
"@types/react-dom": "^19.2.3",
|
|
"concurrently": "^9.2.1",
|
|
"eslint": "^9.39.1",
|
|
"eslint-config-next": "^16.0.3",
|
|
"pagefind": "^1.4.0",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.18",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|