feat: 全平台打包 + CI/CD 自动构建工作流

- 修复移动端: axios替换为原生fetch (React Native兼容)
- 新增 .gitea/workflows/build.yml CI/CD工作流:
  - Windows: NSIS安装包 (windows-latest)
  - macOS: DMG x64+arm64 (macos-latest)
  - Linux: AppImage+deb (ubuntu-latest)
  - Android: APK via expo prebuild + gradle (ubuntu-latest)
  - iOS: simulator build (macos-latest)
  - 移动端JS Bundle导出 (android+ios)
  - 自动创建Release (tag触发)

本地已构建产物:
- client/release/FunConnect-1.1.0-Win-x64.exe (73MB)
- client/release/FunConnect-1.1.0-Linux-x64.zip (99MB)
- mobile JS bundles (android + ios) 已验证导出成功
This commit is contained in:
FunMC
2026-02-23 08:16:28 +08:00
parent 09470c0465
commit 7fdc570391
5 changed files with 14547 additions and 24 deletions

View File

@@ -12,18 +12,17 @@
"build:all": "eas build --platform all"
},
"dependencies": {
"@react-native-async-storage/async-storage": "1.21.0",
"@react-navigation/bottom-tabs": "^6.5.11",
"@react-navigation/native": "^6.1.9",
"expo": "~50.0.0",
"expo-status-bar": "~1.11.1",
"expo-clipboard": "~5.0.1",
"expo-constants": "~15.4.5",
"expo-status-bar": "~1.11.1",
"react": "18.2.0",
"react-native": "0.73.4",
"react-native-safe-area-context": "4.8.2",
"react-native-screens": "~3.29.0",
"@react-navigation/native": "^6.1.9",
"@react-navigation/bottom-tabs": "^6.5.11",
"@react-native-async-storage/async-storage": "1.21.0",
"axios": "^1.6.2"
"react-native-screens": "~3.29.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",