Files
computer/package.json
T
zeekay 88e8d8327f feat(computer): migrate auth from Supabase to hanzo.id OAuth, data to Commerce API
- Replace Supabase auth with hanzo.id OAuth 2.0 PKCE flow (src/lib/auth.ts)
- Replace Supabase database queries with Commerce API client (src/lib/commerce.ts)
- Add OAuth callback page (src/pages/AuthCallback.tsx)
- Update all 19 files importing from supabase to use auth/commerce modules
- Remove @supabase/supabase-js dependency from package.json
- Delete src/lib/supabase.ts (422 lines)
- Update .env.example with IAM and Commerce API vars
- Build verified: zero Supabase imports remain
2026-03-04 16:30:20 -08:00

43 lines
1.1 KiB
JSON

{
"name": "hanzo-computer",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "playwright test",
"test:ui": "playwright test --ui",
"test:debug": "playwright test --debug"
},
"dependencies": {
"@heroicons/react": "^2.2.0",
"@react-pdf/renderer": "^4.3.1",
"@upstash/ratelimit": "^2.0.6",
"@upstash/redis": "^1.35.6",
"date-fns": "^4.1.0",
"express-rate-limit": "^8.2.1",
"lucide-react": "^0.552.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-router-dom": "^7.9.5",
"recharts": "^3.3.0"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@playwright/test": "^1.56.1",
"@tailwindcss/postcss": "^4.1.16",
"@types/node": "^22.14.0",
"@vercel/node": "^5.5.3",
"@vitejs/plugin-react": "^5.0.0",
"autoprefixer": "^10.4.21",
"jest": "^29.7.0",
"node-mocks-http": "^1.15.1",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.16",
"typescript": "~5.8.2",
"vite": "^6.2.0"
}
}