feat: ship native boss android console

This commit is contained in:
kris
2026-03-26 23:16:56 +08:00
parent 90e904814d
commit 90cb6b7ff1
261 changed files with 40051 additions and 135 deletions

View File

@@ -4,11 +4,21 @@
"private": true,
"scripts": {
"dev": "next dev",
"prebuild": "chmod -R u+w .next 2>/dev/null || true; python3 -c \"import shutil; shutil.rmtree('.next', ignore_errors=True)\"",
"build": "next build",
"start": "next start",
"lint": "eslint"
"postbuild": "mkdir -p .next/standalone/.next && rm -rf .next/standalone/.next/static .next/standalone/public && cp -R .next/static .next/standalone/.next/static && cp -R public .next/standalone/public",
"start": "BOSS_RUNTIME_ROOT=\"$PWD\" BOSS_STATE_FILE=\"$PWD/data/boss-state.json\" node .next/standalone/server.js",
"lint": "eslint",
"apk:debug": "cd android && ./gradlew assembleDebug && cd .. && zsh ./scripts/publish-apk-to-public.sh",
"apk:release": "zsh ./scripts/build-release-apk.sh"
},
"dependencies": {
"@capacitor/android": "^8.2.0",
"@capacitor/app": "^8.1.0",
"@capacitor/cli": "^8.2.0",
"@capacitor/core": "^8.2.0",
"@capacitor/preferences": "^8.0.1",
"clsx": "^2.1.1",
"next": "16.2.1",
"react": "19.2.4",
"react-dom": "19.2.4"