migrate-to-vinext

Pass

Audited by Gen Agent Trust Hub on Mar 20, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • Command Execution: The skill utilizes command-line tools to perform migration tasks, including npx vinext check for compatibility auditing and vinext init for automated setup. It also automates package management operations such as npm install and npm uninstall. These actions are necessary for modifying the project's dependency tree and environment.
  • Project File Modification: To ensure ESM compatibility, the skill modifies package.json by adding "type": "module" and renames existing CommonJS configuration files (e.g., tailwind.config.js to tailwind.config.cjs). It also generates new configuration files like vite.config.ts and wrangler.jsonc based on the project's requirements.
  • External Dependency Integration: The skill manages the installation of several libraries, including the core vinext package, vite, and plugins for React Server Components or Cloudflare Workers. These dependencies are pulled from standard package registries and are required for the framework to function.
  • Deployment Capabilities: The skill includes functionality to build and deploy applications to external platforms. For Cloudflare Workers, it uses vinext deploy and @cloudflare/vite-plugin, while other platforms are supported via the Nitro server engine. These processes involve compiling the application and uploading it to the specified hosting environment.
  • Project Metadata Ingestion: During the check and init phases, the skill reads project metadata such as package.json and directory structures (app/, pages/). This ingestion is used to determine the router type and package manager, ensuring the migration steps are tailored to the specific project.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 20, 2026, 05:59 AM