feat: Migrate from CRA/Vite to Next.js - #18
Merged
Conversation
- Remove all CRA legacy files (webpack configs, babel, jest setup) - Remove Vite configuration and related files - Set up Next.js 15 with App Router - Migrate pages to Next.js app directory structure - Add legacy route redirects for backwards compatibility - Clean up unused dependencies and reduce package size - Add 'use client' directives for client components - Configure MDX support for lesson content Note: CI workflow update needs to be done manually due to token scope Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Accidentally removed @typescript/native-preview during cleanup. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Make sidebar a slide-out drawer on mobile (hidden by default) - Add hamburger menu button to open sidebar - Stack content vertically on mobile instead of 2-column grid - Add bottom navigation bar on mobile for easier access - Make header responsive with smaller text/buttons - Make lesson content padding responsive - Add overlay when sidebar is open on mobile Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates the project from CRA/Vite to Next.js 15 with Vercel deployment.
/challenge/:id→/learn/:id,/theend→/complete)vercel.jsonfor Vercel deployment configurationDeployment
This project is now configured for Vercel deployment as a Next.js application. Vercel will automatically detect the Next.js framework and deploy accordingly.
Breaking Changes
None - all existing routes are preserved via redirects.
Manual Follow-up Required
The CI workflow (
.github/workflows/ci.yml) needs to be updated manually:maintomasterappfoldertsgowithtscfor type checking--frozen-lockfilefrom install stepTest plan
pnpm installcompletes successfullypnpm run buildpassespnpm exec biome check src apppassespnpm devand verify landing page loads🤖 Generated with Claude Code