shumiland-web/package.json
Vadym Samoilenko a33b0883fc fix: Payload 3.81 admin panel + HeroBlock RSC errors
- layout.tsx: replace minimal html wrapper with RootLayout + handleServerFunctions (fixes ConfigProvider not being initialized)
- HeroBlockComponent.tsx: add 'use client' (fixes onClick event handler RSC serialization error)
- patches/@payloadcms__ui@3.81.0.patch: safe optional chaining for useConfig() in PageConfigProvider + ThemeProvider (fixes 'Cannot destructure config/sort' hydration errors)
- ListQueryContext: add proper default value with query:{} (fixes 'Cannot destructure sort of undefined' on users/labels list)
- package.json: register pnpm patch + add dotenv devDependency + remove --turbopack from dev script

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 19:50:20 +01:00

72 lines
2.1 KiB
JSON

{
"name": "shumiland-web",
"version": "1.0.0",
"description": "Shumiland — сімейний тематичний парк",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"payload": "payload",
"generate:types": "payload generate:types",
"generate:importmap": "payload generate:importmap",
"seed": "tsx src/seed.ts",
"lint": "next lint"
},
"dependencies": {
"@hookform/resolvers": "^3.9.0",
"@payloadcms/db-postgres": "^3.38.0",
"@payloadcms/next": "^3.38.0",
"@payloadcms/richtext-lexical": "^3.38.0",
"@payloadcms/ui": "^3.38.0",
"@radix-ui/react-accordion": "^1.2.2",
"@radix-ui/react-dialog": "^1.1.4",
"@radix-ui/react-dropdown-menu": "^2.1.4",
"@radix-ui/react-label": "^2.1.1",
"@radix-ui/react-select": "^2.1.4",
"@radix-ui/react-separator": "^1.1.1",
"@radix-ui/react-slot": "^1.1.1",
"@radix-ui/react-tabs": "^1.1.2",
"@radix-ui/react-toast": "^1.2.4",
"@radix-ui/react-tooltip": "^1.1.6",
"@react-pdf/renderer": "^4.3.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"framer-motion": "^11.18.0",
"graphql": "^16.10.0",
"lucide-react": "^0.475.0",
"next": "15.4.11",
"nodemailer": "^6.9.16",
"payload": "^3.38.0",
"qrcode": "^1.5.4",
"qrcode.react": "^4.2.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-hook-form": "^7.54.0",
"recharts": "^2.15.0",
"sharp": "^0.33.5",
"slugify": "^1.6.6",
"tailwind-merge": "^2.6.0",
"zod": "^3.24.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.4",
"@types/node": "^22.13.0",
"@types/nodemailer": "^6.4.17",
"@types/qrcode": "^1.5.5",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.0",
"dotenv": "^17.4.0",
"postcss": "^8.5.1",
"tailwindcss": "^4.1.4",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
},
"pnpm": {
"patchedDependencies": {
"@payloadcms/ui@3.81.0": "patches/@payloadcms__ui@3.81.0.patch"
}
}
}