Files
trumpsignal-frontend/package.json
T
k d50c05b120 fix: pre-launch UI hardening + KOL reduce-action type, proxy IP relay, settings redesign
Frontend half of the pre-launch audit campaign:

- types/index.ts + kol/KolPageClient.tsx: add missing 'reduce' KolAction
  (backend emits it; frontend lacked the type + color/label maps → undefined
  styling). Adds ACTION_COLOR/actionLabel/postActionLabel entries.
- proxy/[...path]/route.ts: relay real client IP (x-forwarded-for / x-real-ip)
  so the backend rate limiter buckets per-user instead of per-Next-server (BUG-02).
- Settings/BotConfigPanel redesign, paper-mode clarity, copy cleanup.
- Assorted page/display fixes, loading states, Pagination component.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 11:57:43 +08:00

42 lines
956 B
JSON

{
"name": "trumpsignal",
"version": "0.1.0",
"private": true,
"engines": {
"node": ">=20.19.0"
},
"scripts": {
"dev": "next dev -p 3001",
"build": "next build",
"start": "next start -p 3001",
"lint": "eslint .",
"verify": "npm run lint && npm run build"
},
"dependencies": {
"@rainbow-me/rainbowkit": "^2.1.3",
"@tanstack/react-query": "^5.40.0",
"lightweight-charts": "^4.1.3",
"next": "16.2.6",
"next-intl": "4.12.0",
"react": "^18",
"react-dom": "^18",
"viem": "^2.17.0",
"wagmi": "^2.10.5",
"zustand": "^4.5.3"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10",
"eslint": "9.39.4",
"eslint-config-next": "16.2.6",
"postcss": "^8",
"tailwindcss": "^3.4.4",
"typescript": "^5"
},
"optionalDependencies": {
"@parcel/watcher-linux-arm64-glibc": "^2.5.6"
}
}