Skip to content

feat: add create-vinext-app scaffolding CLI #407

@Divkix

Description

@Divkix

Summary

Add create-vinext-app — a standalone CLI package that scaffolds new vinext projects via npm create vinext-app@latest.

Motivation

Currently new projects require npm create next-app@latestvinext init → manual wrangler/worker setup (8-12 steps). This should be one command.

Scope

  • New packages/create-vinext-app/ package
  • 2 templates: App Router, Pages Router (both with Cloudflare Workers)
  • Interactive prompts via @clack/prompts
  • --yes flag for non-interactive CI usage
  • CI job to test scaffolding
  • Publish workflow integration
  • README, CLAUDE.md, CONTRIBUTING.md updates

Acceptance Criteria

  • npm create vinext-app@latest my-app --yes scaffolds a working project
  • cd my-app && bun run dev starts successfully with HTTP 200
  • App Router and Pages Router templates both work
  • All tests pass (unit, integration, e2e)
  • CI workflow tests scaffolding on ubuntu + windows
  • Publish workflow publishes to npm alongside vinext
  • README updated with new instructions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions