feat(vinext): add vinext plugin to marketplace#138
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
No issues found across 9 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Architecture diagram
sequenceDiagram
participant User
participant Agent as Claude / CLI
participant Registry as Marketplace (.json)
participant Skill as vinext Skill (Prompt/Docs)
participant Project as User Next.js Project
participant VinextCLI as vinext CLI (npx)
participant CF as Cloudflare / Nitro
Note over User,CF: NEW: Vinext Migration Workflow
User->>Agent: "Migrate my project to vinext"
Agent->>Registry: NEW: Lookup 'vinext' plugin
Registry-->>Agent: Metadata & source path
Agent->>Skill: NEW: Load 'migrate-to-vinext' skill
rect rgb(240, 240, 240)
Note over Agent,Project: Phase 1: Compatibility Check
Agent->>Project: Detect package manager & router (app/pages)
Agent->>VinextCLI: NEW: Run 'vinext check'
VinextCLI->>Project: Scan for Next.js features
VinextCLI-->>Agent: Compatibility report & score
end
alt NEW: Automated Migration (init)
Agent->>VinextCLI: NEW: Run 'vinext init'
VinextCLI->>Project: CHANGED: Add "type": "module" (ESM)
VinextCLI->>Project: CHANGED: Rename .js configs to .cjs
VinextCLI->>Project: NEW: Generate vite.config.ts
else Manual Migration
Agent->>Project: Replace 'next' with 'vinext' in package.json
Agent->>Project: Update scripts (next dev -> vinext dev)
end
Note over Agent,Project: Phase 2: Verification
Agent->>VinextCLI: NEW: Run 'vinext dev'
VinextCLI->>Project: Start Vite-based HMR server
Project-->>Agent: Dev server ready
opt NEW: Deployment Setup
Agent->>VinextCLI: NEW: Run 'vinext deploy'
VinextCLI->>Project: NEW: Generate wrangler.jsonc
VinextCLI->>CF: Deploy to Cloudflare Workers
end
Agent-->>User: Migration complete confirmation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces the vinext plugin, which facilitates the migration of Next.js projects to a Vite-based reimplementation. The changes include adding the plugin to the marketplace, updating the README, and providing comprehensive documentation and skills for the migration process. Feedback was provided regarding a missing author field in the plugin configuration and corrections to version references for Vite and Next.js in the documentation.
Add vinext plugin for migrating Next.js projects to the Vite-based reimplementation. Includes compatibility scanning, package replacement, Vite config generation, ESM conversion, and deployment setup skill. - Add plugin manifest and migrate-to-vinext skill with references - Register vinext in marketplace.json and README - Configure release-please for vinext component versioning
Add author field to vinext plugin.json crediting upstream Cloudflare organization.
df42f6c to
6abc555
Compare
Merged
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
vinextplugin for migrating Next.js projects to the Vite-based Next.js reimplementationmigrate-to-vinextskill with compatibility scanning, package replacement, Vite config generation, ESM conversion, and deployment setupmarketplace.json(category: framework) andREADME.mdrelease-please-config.jsonfor independentvinextcomponent versioningTest plan
plugins/vinext/.claude-plugin/plugin.jsonmanifest is valid (claude plugin validate plugins/vinext).claude-plugin/marketplace.jsonplugins/vinextas a separate componentSummary by cubic
Adds the
vinextplugin to the marketplace to migrate Next.js projects to the Vite-based reimplementation. Includes amigrate-to-vinextskill for compatibility checks, package swap,viteconfig, ESM conversion, and Cloudflare Workers/Nitro deploy setup.vinextplugin withmigrate-to-vinextskill (compat scan, package replacement,viteconfig, ESM, Cloudflare Workers/Nitro deploy).vinextin.claude-plugin/marketplace.jsonand README; added plugin manifest with Cloudflare author metadata andskills-lock.json.vinextreleases viarelease-please-config.jsonand included skill docs with compatibility, config examples, and troubleshooting references.Written for commit 6abc555. Summary will update on new commits.