Skip to content

[MODERNIZATION] Update core dependencies and fix Cloudflare deployment #262

@MichaelFisher1997

Description

@MichaelFisher1997

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.ts when 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

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions