2ab499bc54
- 修改 Dockerfile 中的运行命令,将 Next.js 设为对外服务,Go 服务在内部监听 - 更新端口配置,后端监听端口从 3000 改为 80 - 移除 Go 服务中的反向代理逻辑,统一由 Next.js 处理页面请求 - 修改 Next.js 配置,在生产环境中也启用 API 代理功能 - 更新文档描述,明确 Next.js 作为页面入口,API 请求代理到 Go 服务 - 调整开发环境端口配置,web 开发端口从 3001 改为 3000 - 更新版本号至 v0.0.4 并修改 CHANGELOG
42 lines
1.0 KiB
JSON
42 lines
1.0 KiB
JSON
{
|
|
"name": "infinite-canvas",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "next dev --webpack -H 0.0.0.0 -p 3000",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons": "^6.1.1",
|
|
"@ant-design/pro-components": "3.0.0-beta.3",
|
|
"@tanstack/react-query": "^5.100.9",
|
|
"antd": "^6.4.2",
|
|
"axios": "^1.16.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"copy-to-clipboard": "^4.0.2",
|
|
"localforage": "^1.10.0",
|
|
"lucide-react": "^1.16.0",
|
|
"motion": "^12.38.0",
|
|
"nanoid": "^5.1.11",
|
|
"next": "16.2.3",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "19.2.5",
|
|
"react-dom": "19.2.5",
|
|
"shadcn": "^4.7.0",
|
|
"tailwind-merge": "^3.6.0",
|
|
"tailwindcss": "^4",
|
|
"tw-animate-css": "^1.4.0",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "19.1.12",
|
|
"@types/react-dom": "19.1.9",
|
|
"typescript": "^5"
|
|
}
|
|
}
|