Skip to content

LaunchStack CLI v2.0.0

Choose a tag to compare

@wbizmo wbizmo released this 11 Jul 00:53

LaunchStack CLI v2.0.0

LaunchStack CLI v2 expands LaunchStack from a deployment workflow utility into a production-ready backend API scaffolding and developer workflow CLI.

Highlights

  • New launchstack create <project-name> command
  • Fastify and TypeScript API starter
  • Prisma ORM and PostgreSQL integration
  • JWT access and refresh-token authentication
  • Secure refresh-token rotation and revocation
  • Password hashing with bcrypt
  • Zod request and response validation
  • Swagger/OpenAPI documentation at /docs
  • Layered controllers, services, repositories, and DTOs
  • Structured application errors and response envelopes
  • Health, database health, and readiness endpoints
  • Docker and Docker Compose support
  • GitHub Actions CI and Docker workflows
  • Render, Railway, and Fly.io deployment presets
  • New launchstack doctor project health command
  • Generated architecture, deployment, README, and changelog documentation

Existing functionality retained

  • Project configuration initialization
  • Configuration validation
  • Environment switching
  • Provider management
  • Deployment workflow execution
  • Deployment history
  • Rollback target lookup
  • Local secrets management
  • Docker scaffolding
  • GitHub Actions generation

Generated project workflow

  1. Run launchstack create my-api
  2. Run cd my-api
  3. Run npm install
  4. Run npm run db:up
  5. Run npm run prisma:migrate -- --name init
  6. Run npm run dev

Swagger UI is available at http://localhost:3000/docs.

Quality verification

The release candidate passed:

  • LaunchStack unit and template tests
  • TypeScript build
  • npm package inspection
  • Installation from the packed npm tarball
  • Fresh project generation
  • Generated-project type checking
  • Generated-project tests
  • Generated-project production build
  • Docker image validation
  • PostgreSQL runtime validation
  • Registration and login flow
  • Protected profile access
  • Refresh-token rotation
  • Revoked-token rejection
  • Documentation and package-content audits

Installation

After npm publication, install with:

npm install -g launchstack-cli@2.0.0

Requirements

  • Node.js 20 or newer
  • PostgreSQL or Docker for database-backed development

See the updated README and generated documentation for setup, architecture, and deployment guidance.