Files
orangecat/scripts/README.md
T
Georgy ButaevandClaude Fable 5 2e43593920 chore(cleanup): remove the Vercel-era deploy toolchain (post-migration orphan sweep)
Everything a developer could run or read that still targeted the exited
Vercel platform is gone or corrected:
- scripts/deployment/: 19 Vercel-era scripts deleted (one-button-deploy,
  vercel-monitor, auto-deploy-agent, …); browser-verify.js kept with a
  new README — it's the platform-agnostic post-deploy smoke test
- w + scripts/dev/w.bat + scripts/dev/sync-env.js deleted (auto-commit/
  Vercel-deploy/env-sync automation; w.bat triggered a deleted workflow)
- package.json: 14 dead scripts removed (ship, deploy*, deployment:*,
  env:pull/push, monitor:logs, mcp:vercel, w); deploy:rollback pointed
  at a file that didn't exist
- Makefile: dead 'ship' target removed
- docs: 1.3k lines of Vercel pipeline docs deleted (DEPLOYMENT_PROCESS,
  GITHUB_VERCEL_SETUP/STATUS, legacy-tools, action-plan.json) and
  replaced with short true versions; ci-cd.md rewritten; ghost links and
  stale instructions fixed in devops/README, ENVIRONMENT, debugging,
  workflows/README (DEPLOYMENT_WORKFLOW.md never existed)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-13 01:51:13 +02:00

1.7 KiB

Scripts Directory

This directory contains all automation scripts organized by purpose.

Directory Structure

  • analysis/ - Bundle analysis, documentation checking, and optimization tools
  • auth-fix/ - Scripts to fix authentication and RLS policy issues
  • db/ - Database operations, migrations, and schema management
    • Migration scripts moved from root: apply-migration.js, apply-*-migration.js
    • Old schema files archived in db/archive/
  • deployment/ - Deployment, production setup, and monitoring scripts
  • dev/ - Development helpers, local setup, and debugging tools
  • diagnostics/ - Health checks and system diagnostics
  • maintenance/ - Cleanup, optimization, and maintenance scripts
  • monitoring/ - Performance monitoring and bundle size tracking
  • oauth/ - OAuth provider setup and configuration
  • profile-fix/ - Scripts to fix profile-related issues
  • schema-fix/ - Database schema fixes and migrations
  • storage/ - Supabase storage bucket setup and management
  • test/ - Testing utilities and validation scripts
    • Test/debug scripts moved from root: test-*.js, check-*.js, debug-*.js

Usage

Most scripts can be run with:

node scripts/{category}/script-name.js

For deployment scripts:

bash scripts/deployment/script-name.sh

Important Scripts

  • scripts/dev/dev-start.js - Main development server starter
  • scripts/deployment/browser-verify.js - Post-deploy browser smoke test (deploys themselves happen on the box — see docs/deployment/DEPLOYMENT_PROCESS.md)
  • scripts/db/apply-migrations.ts - Database migrations
  • scripts/maintenance/cleanup-console-logs.ts - Remove console.log statements