-
Notifications
You must be signed in to change notification settings - Fork 12
Open
MichaelFisher1997/redot-website
#1Description
Overview
Comprehensive modernization of the Redot website's core dependencies and deployment infrastructure
to ensure long-term maintainability, security, and performance.
Scope of Work
✅ Phase 1: Cloudflare Deployment Fixes (COMPLETED)
- Update @opennextjs/cloudflare from 1.3.1 → 1.11.0
- Fix edge runtime compatibility by adding
export const runtime = "nodejs"to 15+ pages/API
routes - Update wrangler.jsonc configuration
- Remove R2 cache dependency from open-next.config.ts (temporary - see pending changes)
- Successfully deploy to Cloudflare Workers (requires Pro plan for 4.4MB bundle)
🔄 Phase 2: Minor Dependency Updates (COMPLETED)
- Update React 19.1.0 → 19.2.0
- Update all @radix-ui UI components (9 packages)
- Update axios 1.7.9 → 1.12.2
- Update motion 12.0.5 → 12.23.24
- Update wrangler 4.22.0 → 4.43.0
⏳ Phase 3: Major Framework Updates (PENDING)
- Update Next.js 15.1.3 → Latest (requires testing)
- Update Sanity 3 → Latest (requires testing)
- Update TailwindCSS 3.4.1 → Latest (requires testing)
🔄 Pending Configuration Changes
- R2 Cache: Re-add R2 cache dependency to
open-next.config.tswhen access to main
Cloudflare account is restored- Currently disabled due to deployment on personal account
- Need to restore:
incrementalCache: "r2"configuration - Waiting for Cloudflare account access permissions
🐛 Known Issues
- CORS configuration needed for Sanity API (local dev + production)
- Add domains to Sanity CORS settings: https://www.sanity.io/manage/project/qqvmmpgb/settings/api
- Local: http://localhost:3000-3002, Production: https://redot-website.bitter-wave-e2ec.workers.
dev
Benefits
- ✅ Security: Latest security patches across all dependencies
- ✅ Performance: Improved bundle optimization and runtime performance
- ✅ Stability: Fixed Cloudflare deployment issues
- ✅ Maintainability: Up-to-date dependencies reduce technical debt
- ✅ Developer Experience: Improved tooling and build times
Metadata
Metadata
Assignees
Labels
No labels