vinext-stack
v1.1.2
Published
CLI para crear proyectos Vinext con configuración predeterminada.
Readme
🇺🇸 English Documentation
create-vinext-stack is a powerful, beautifully crafted CLI tool designed to help you generate Vinext projects instantly. Forget about complex and repetitive configurations; this CLI interactively guides you to pick your preferred styling, native Shadcn UI components, and routing patterns. The result is a fully tailored, modern architecture ready to be deployed.
✨ Key Features
- 🌐 10 Languages Supported: Fully localized CLI for English, Spanish, Portuguese, French, German, Italian, Japanese, Korean, and Chinese (Simplified & Traditional).
- 🎨 Native Shadcn UI Integration: Choose between standard CSS or automatic Shadcn installation with premium pre-designed templates (Hello World, Blog, Store).
- ⚡ Two Creation Modes:
- Cloudflare Ready: Automatically wraps around official Next.js scaffolds and prepares the project for Cloudflare using
vinext init. - Custom Vinext Scaffold: A faster, lightweight custom solution.
- Cloudflare Ready: Automatically wraps around official Next.js scaffolds and prepares the project for Cloudflare using
- 💾 Smart Memory: Automatically remembers your previous configurations (
~/.vinext-config.json) so you can skip the questionnaire next time.
📦 Quick Start
Initialize your new project globally using your favorite package manager:
```bash bun create vinext-stack ```
You can also use: ```bash npx create-vinext-stack@latest
or
pnpm create vinext-stack@latest
or
yarn create vinext-stack ```
🛠️ Development & Publishing
If you want to contribute, build from source, or publish to NPM:
```bash
1. Install dependencies
bun install
2. Run the CLI locally
bun run dev
3. Format, lint, and build the code
bun run format bun run lint bun run build
4. Deploy and Publish to NPM
This command will build the project and securely prompt you for your OTP
bun run deploy ```
🇪🇸 Documentación en Español
create-vinext-stack es una potente herramienta de línea de comandos (CLI) con un diseño impecable, creada para ayudarte a generar proyectos Vinext al instante. Olvídate de configuraciones aburridas y repetitivas; este CLI te guía interactivamente para elegir tu estilo preferido, componentes nativos de Shadcn UI y la lógica de enrutamiento necesaria. El resultado es una arquitectura a medida, moderna y lista para ser desplegada automáticamente.
✨ Características Principales
- 🌐 10 Idiomas Soportados: CLI totalmente localizado al Inglés, Español, Portugués, Francés, Alemán, Italiano, Japonés, Coreano y Chino (Simplificado y Tradicional).
- 🎨 Integración Nativa con Shadcn UI: Elige entre código estándar o instalación automática de Shadcn con increíbles plantillas premium pre-diseñadas (Hola Mundo, Blog, Tienda).
- ⚡ Dos Modos de Creación:
- Cloudflare Ready: Envuelve automáticamente los scaffolds oficiales de Next.js y prepara el proyecto para Cloudflare usando la orden
vinext init. - Custom Vinext Scaffold: Una solución base personalizada, mucho más rápida y ligera.
- Cloudflare Ready: Envuelve automáticamente los scaffolds oficiales de Next.js y prepara el proyecto para Cloudflare usando la orden
- 💾 Memoria Inteligente: Recuerda automáticamente tus configuraciones previas (
~/.vinext-config.json) para que el CLI cree tu proyecto la próxima vez sin tener que preguntar de nuevo.
📦 Inicio Rápido
Ejecuta el CLI de forma global usando tu gestor de paquetes favorito:
```bash bun create vinext-stack ```
También puedes usar: ```bash npx create-vinext-stack@latest
o
pnpm create vinext-stack@latest
o
yarn create vinext-stack ```
🛠️ Desarrollo y Publicación
Si quieres contribuir, compilar desde el código fuente propio, o publicar a NPM:
```bash
1. Instalar dependencias
bun install
2. Ejecutar el CLI localmente en modo desarrollo
bun run dev
3. Formatear, revisar y compilar el código
bun run format bun run lint bun run build
4. Desplegar y Publicar a NPM
Comando inteligente que compila y te pide tu código OTP de forma segura antes de publicar
bun run deploy ```
