feat: 添加生产环境配置,重构 API 请求,更新部署脚本和配置

This commit is contained in:
richarjiang
2026-03-15 23:00:51 +08:00
parent 3c35f1982f
commit 441cc8dd48
14 changed files with 131 additions and 20 deletions

View File

@@ -3,15 +3,16 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"dev": "next dev -p 3001",
"build": "next build",
"start": "next start",
"start": "next start -p 3001",
"lint": "next lint",
"db:generate": "prisma generate",
"db:push": "prisma db push",
"db:migrate": "prisma migrate dev",
"db:studio": "prisma studio",
"db:seed": "tsx prisma/seed.ts"
"db:seed": "tsx prisma/seed.ts",
"deploy": "./deploy.sh"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",