Skip to content

v3.1.0: Automated Deployment Commands

Choose a tag to compare

@harperaa harperaa released this 08 Feb 22:20
· 304 commits to main since this release

✨ Automated Deployment Commands

One-command deployment to Vercel with /deploy-to-dev for sharing your app, and /deploy-to-prod for going live with real payments. Plus improved pull commands and a streamlined install experience.

Major Features

  • /deploy-to-dev command: Fully automated dev deployment to Vercel using existing Clerk and Convex development instances. Creates a GitHub repo, links Vercel, sets all environment variables, and deploys — no manual steps required. Subsequent updates are just git push origin main.
  • /deploy-to-prod command: Guided production deployment with Clerk production keys, Convex production deployment, Stripe billing, and Google OAuth. Automates key validation, JWT template creation, webhook setup, Convex function deployment, and Vercel configuration.
  • scripts/deploy.mjs: New 1,300+ line deployment engine with 12 subcommands (check-tools, github-setup, convex-deploy-key, validate-keys, convex-deploy-functions, prod-webhook, convex-prod-env, vercel-env-dev, vercel-env, vercel-deploy, write-summary, update-vercel-clerk-keys)

Improvements

  • /install command: Added "Skip for now" option for admin email, added git and sed to allowed tools to avoid permission prompts, simplified INSTALL.md output to match on-screen summary
  • Pull commands: Rewritten to use upstream remote instead of origin for template updates (/pull-repo-safe, /pull-commands, /pull-agents, /pull-security-skills)
  • DEPLOYMENT.md: Reorganized with clear "Experimenting" and "Going to Production" phases, explains 2-environment vs 3-environment setups
  • README.md: Updated deployment sections to explain the local → dev → prod progression and when each step is needed
  • Vercel framework detection: vercel.json with "framework": "nextjs" is now created by deploy commands to prevent Edge Function errors with Clerk middleware
  • Deployment dashboard URL: Vercel deployments dashboard URL is now displayed and saved to DEPLOYMENT-DEV.md

Bug Fixes

  • Fixed Vercel Edge Function error ("unsupported modules: #crypto, #safe-node-apis") caused by missing Next.js framework preset when project is created via CLI
  • Fixed Vercel project names rejected for containing uppercase characters

What's Included

This release includes 10 commits:

  • 7571f21: Improve deploy commands, install summary, and deployment docs
  • a773bd0: Remove vercel.json so it is created by /deploy-to-dev at deploy time
  • 945cdd2: Prepare for Vercel deployment
  • 8697b9e: Prepare for Vercel deployment
  • 2bd6cff: Use GitHub repo name for Vercel project instead of directory name
  • 69ce923: Write deployment summaries to separate files, show short Vercel URL
  • fe2fe72: Split /deploy into /deploy-to-dev and /deploy-to-prod commands
  • b60ad4a: Rewrite pull commands to use upstream remote instead of origin
  • 575a3b5: Add /deploy command for automated production deployment
  • 6367f29: Document GEMINI_API_KEY for blog images and technical diagrams

Files Changed:

  • ➕ Added: .claude/commands/deploy-to-dev.md, .claude/commands/deploy-to-prod.md, scripts/deploy.mjs
  • ✏️ Updated: .claude/commands/install.md, .claude/commands/pull-agents.md, .claude/commands/pull-commands.md, .claude/commands/pull-repo-safe.md, .claude/commands/pull-security-skills.md, .env.example, DEPLOYMENT.md, README.md, package.json, scripts/setup.mjs

📥 How to Update

For New Users

git clone https://github.com/harperaa/secure-vibe-coding-OS.git
cd secure-vibe-coding-OS
npm install

For Existing Users (Template Forks)

Option 1: Merge Everything

git fetch upstream --tags
git merge v3.1.0
git push origin main

Option 2: Use Pull Commands

/pull-repo-safe
# Follow on-screen instructions

Ship faster, deploy with confidence. 🚀