Axil_Accountants/package.json
Vadym Samoilenko 3f6dfe36b1 feat: full CMS integration — connect all content to Payload admin panel
- Connect homepage, blog, services, header, footer to Payload CMS via local API
- Add HomePage global with 7 editorial sections (hero, painPoints, solution, whyAxil, audience, process, finalCta)
- Add ServerHeader/ServerFooter async wrappers with unstable_cache + tag-based ISR revalidation
- Rewrite blog/[slug] and services/[slug] pages to fetch from CMS with fallbacks
- Add seed script (src/lib/seed.ts) to populate all collections and globals from hardcoded defaults
- Restructure app into (site)/ route group to fix Payload admin hydration conflicts
- Make root layout a passthrough; (site)/layout.tsx owns html/body/fonts
- Restrict user creation/update/delete to admin role only
- Fix migration imports: type MigrateUpArgs/Down from @payloadcms/db-postgres
- Wrap revalidateTag dynamic imports in try/catch for seed/CLI compatibility
- Skip migrations in dev mode (Payload handles schema push automatically)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 21:19:44 +00:00

48 lines
1.2 KiB
JSON

{
"name": "axil-accountants",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint",
"format": "prettier --write .",
"prepare": "husky"
},
"dependencies": {
"@gsap/react": "^2.1.2",
"@payloadcms/db-postgres": "^3.77.0",
"@payloadcms/next": "^3.77.0",
"@payloadcms/plugin-form-builder": "^3.77.0",
"@payloadcms/richtext-lexical": "^3.77.0",
"framer-motion": "^12.4.10",
"gsap": "^3.14.2",
"lenis": "^1.3.17",
"lucide-react": "^0.475.0",
"next": "15.4.11",
"payload": "^3.77.0",
"react": "19.2.3",
"react-dom": "19.2.3",
"resend": "^6.9.2",
"sharp": "^0.34.5"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@swc-node/register": "^1.11.1",
"@swc/core": "^1.15.11",
"@tailwindcss/postcss": "^4",
"@tailwindcss/typography": "^0.5.19",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "15.4.11",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"tailwindcss": "^4",
"typescript": "^5"
}
}