8000 GitHub - PrinceMuichkine/stackshift: stackshift helps migrate your web app from Vite to Next.js
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PrinceMuichkine/stackshift

Repository files navigation

Stackshift

An AI powered CLI tool to help migrate web applications from Vite to Next.js.

Features

  • Intelligent analysis of Vite projects
  • Automatic migration of components and routing
  • Support for both Next.js App Router and Pages Router
  • AI-powered code transformations
  • Interactive assistance

Installation

pip install stackshift

Usage

  1. Configure your API key:
stackshift setup
  1. Scan your Vite project:
stackshift scan
  1. Validate migration progress:
stackshift validate
  1. Transform components:
stackshift transform
  1. Get interactive assistance:
stackshift chat

Options

  • --router: Choose between "app" (default) and "pages" router
  • --fix: Automatically fix validation issues
  • Project path is optional if you're inside a Vite project

Examples

# Scan current directory
stackshift scan

# Validate with Pages Router
stackshift validate --router pages

# Transform with automatic fixes
stackshift validate --fix

# Scan specific project
stackshift scan ./my-vite-project

Requirements

  • Python 3.8 or higher
  • Anthropic API key
  • Node.js and npm (for the Vite project)

License

MIT License

About

stackshift helps migrate your web app from Vite to Next.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0