Skip to content

v0.1.3

Latest

Choose a tag to compare

@jyoungblood jyoungblood released this 17 Jul 22:49

create-vergekit 0.1.3 introduces scaffold presets while preserving the
existing Cloudflare Workers + D1 output as the no-flag default.

New preset commands

# Cloudflare Workers + D1 (default)
npm create vergekit@latest my-app

# Explicit Cloudflare preset
npm create vergekit@latest my-app --preset cloudflare-d1

# Standalone Node.js + MySQL 8
npm create vergekit@latest my-app --preset node-mysql

Both --preset node-mysql and --preset=node-mysql are supported. Unknown or
missing preset values fail with a clear error.

Node.js + MySQL preset

  • Uses Astro's standalone Node adapter with Node.js 22.12 or newer.
  • Uses a module-level mysql2 pool and Drizzle's MySQL adapter.
  • Includes the complete Better Auth/admin MySQL schema and generated migration.
  • Uses separate MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, and
    MYSQL_DATABASE settings; an empty local password is supported.
  • Includes MySQL migration, Drizzle Studio, build/start, and verified
    administrator initialization commands.
  • Supports console email for development and Resend or Mailgun for production.
  • Includes target-specific setup documentation, tests, environment types, and
    a Node-specific lockfile.
  • Produces no Wrangler config, D1 migrations, Workers types, Cloudflare runtime
    imports, or template metadata.

Safer project creation

  • Template download, preset composition, package/lockfile naming, and final
    validation now complete in a temporary staging directory before the target
    directory is written.
  • Composition failures leave an absent destination absent and preserve allowed
    metadata-only directories.
  • Generated output is validated for target dependencies, runtime imports,
    migration trees, required files, and forbidden cross-preset leakage.

Release hardening

  • Both generated presets include explicit npm 11.18 install-script approvals
    and denials rather than blanket script permission.
  • Both lockfiles include the safe Astro language-server/YAML refresh and
    resolve @vergekit/core@0.0.3.
  • The Node lockfile has a reproducible maintenance command in the development
    repository.
  • The published npm package contains the preset engine and Node overlay while
    excluding development-only verification harnesses.