diff options
| author | Bertrand Yuan <bert.yuan@outlook.com> | 2025-12-16 00:12:49 +0800 |
|---|---|---|
| committer | Bertrand Yuan <bert.yuan@outlook.com> | 2025-12-16 00:12:49 +0800 |
| commit | 02ae938c238c9d18448d17a8ec92c0edd8c17463 (patch) | |
| tree | dcd6a30505adb52522b20af2c0ac27f713403f10 /package.json | |
| parent | 48b07bc308a35734a6a7a305c8fdccbfa47de7d8 (diff) | |
feat(back-end): introduce payload
Payload is the next.js Headless CMS and App Framework,
I would like to pick it up and modify it as it is MIT licensed.
Many features in Payload is not applicable for our project.
So, I modify it so that it is light and clear.
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/package.json b/package.json index 04d146e..a3bb1cb 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,9 @@ "db:migrate": "drizzle-kit migrate", "db:push": "drizzle-kit push", "db:studio": "drizzle-kit studio", + "payload:generate": "payload generate:types", + "payload:migrate": "payload migrate", + "payload:migrate:create": "payload migrate:create", "email:build": "email build", "email:dev": "email dev -p 3001", "email:export": "email export" @@ -30,6 +33,9 @@ "@fuma-comment/server": "^1.2.1", "@hookform/resolvers": "^4.1.3", "@neondatabase/serverless": "^1.0.0", + "@payloadcms/db-postgres": "^3.68.4", + "@payloadcms/next": "^3.68.4", + "@payloadcms/richtext-lexical": "^3.68.4", "@radix-ui/react-accordion": "^1.2.3", "@radix-ui/react-avatar": "^1.1.3", "@radix-ui/react-dropdown-menu": "^2.1.6", @@ -50,15 +56,18 @@ "fumadocs-mdx": "^11.5.7", "fumadocs-twoslash": "^3.1.0", "fumadocs-ui": "^15.2.0", + "graphql": "^16.12.0", "katex": "0.16.21", "lucide-react": "^0.477.0", "motion": "^12.6.2", - "next": "^15.2.4", + "next": "^15.5.9", "next-safe-action": "^7.10.4", "next-sitemap": "4.2.3", "next-themes": "0.4.4", - "react": "19.0.0", - "react-dom": "19.0.0", + "payload": "^3.68.4", + "pg": "^8.16.3", + "react": "19.1.0", + "react-dom": "19.1.0", "react-hook-form": "^7.55.0", "react-wrap-balancer": "^1.1.1", "rehype-katex": "7.0.1", @@ -67,6 +76,7 @@ "remark-mdx": "^3.1.0", "resend": "^4.2.0", "schema-dts": "^1.1.5", + "sharp": "^0.34.5", "shiki": "^3.2.1", "sonner": "^2.0.2", "tailwind-merge": "^3.0.2", @@ -77,9 +87,10 @@ }, "devDependencies": { "@biomejs/biome": "1.9.4", - "@tailwindcss/postcss": "4.0.4", + "@tailwindcss/postcss": "4.1.18", "@types/mdx": "2.0.13", "@types/node": "22.13.1", + "@types/pg": "^8.16.0", "@types/react": "19.0.8", "@types/react-dom": "19.0.3", "@types/rss": "^0.0.32", @@ -89,7 +100,7 @@ "next-validate-link": "^1.5.2", "postcss": "8.5.1", "react-email": "^4.0.2", - "tailwindcss": "4.0.4", + "tailwindcss": "4.1.18", "tsx": "^4.19.3", "typescript": "5.7.3" }, |
