mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
refactor(server): 将后端从 Node.js 迁移至 Go
- 移除对 Express 和相关中间件的依赖 - 新增 Go 编写的 HTTP 服务,支持嵌入前端资源 - 更新构建流程以使用 Go 编译跨平台可执行文件 - 配置 GitHub Actions 工作流以适应新的构建方式 - 实现自动打开浏览器和显示局域网访问地址功能 - 清理 package.json 中不再需要的脚本和依赖项 - 更新 pnpm-lock.yaml 文件以反映依赖变化
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"dev": "vite --port 25121",
|
||||
"build": "vue-tsc -b && vite build && node update-build-date.js",
|
||||
"preview": "vite preview",
|
||||
"build-pkg:windows": "bun build ./server.js --compile --minify --outfile ogame.exe"
|
||||
"build-pkg:windows": "bun build ./server.js --compile --embed --minify --outfile ogame.exe"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tailwindcss/vite": "^4.1.17",
|
||||
@@ -21,7 +21,6 @@
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"crypto-js": "^4.2.0",
|
||||
"express": "^5.2.1",
|
||||
"file-saver": "^2.0.5",
|
||||
"lucide-vue-next": "^0.556.0",
|
||||
"pinia": "^3.0.4",
|
||||
|
||||
Reference in New Issue
Block a user