[eng-3646] migrate off Vercel (Next.js → Vite)#86
Conversation
Migrate the standalone Fireblocks dApp from Next.js/Vercel to a Vite SPA
deployed on AWS Amplify, mirroring the admin-dashboard setup.
- Replace Next.js with Vite + @vitejs/plugin-react and the Vanilla Extract
Vite plugin; add index.html + src/main.tsx entry point
- Merge layout.tsx/page.tsx into src/app/app.tsx; move layoutContainer off
<body> and set html/body/#app height in global styles
- Drop next/dynamic (direct re-exports), swap next/image for <img>, remove
"use client" directives, and use static asset URLs (firebaseLogo, icon.png
moved to public/)
- Switch env access to import.meta.env.VITE_API_KEY (+ vite-env.d.ts)
- Add mise.toml + mise.lock (node 24.15.0, pnpm 10.33.2) and regenerate the
pnpm lockfile; set tsconfig moduleResolution to bundler
- Update biome ignores (.next → dist) and pin schema to 2.3.11
- Add amplify.yml and .github/workflows/ci.yml (mise + lint + build)
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Migrate the standalone Fireblocks dApp from Next.js/Vercel to a Vite SPA
deployed on AWS Amplify, mirroring the admin-dashboard setup.