What problem does it solve?
Migrating a Next.js project to a Vite-based runtime can be error-prone and time-consuming due to dependency swaps, ESM conversion, config translation, and deployment differences; this Skill streamlines and automates those tasks to minimize breakage and downtime.
Core Features & Use Cases
- Compatibility Scanning: Detects next dependency presence, router type (app/ vs pages/), and package manager from lockfiles to produce a scored compatibility report.
- Automated Migration: Installs vinext and Vite, adds type: module to package.json, renames CJS config files to .cjs, updates scripts, and generates a minimal vite.config.ts.
- Deployment Preparation: Generates Cloudflare Workers configuration (wrangler.jsonc) or Nitro integration for other platforms and advises on Cloudflare bindings and RSC plugin needs.
- Use Case: Convert an existing Next.js monorepo to run locally with vinext dev, verify routes and server components, and optionally deploy to Cloudflare Workers with vinext deploy.
Quick Start
Run vinext init to perform an automated migration, then start the development server with vinext dev to verify the project.