49b8e27219
- Delete supabase/ directory (config.toml, push-migrations.js, ADMIN_CREATE_STOP_FIX.sql, 137 archived migration files) - Remove @supabase/ssr and @supabase/supabase-js from package.json - Strip *.supabase.co from next.config.ts image hostnames - Strip https://*.supabase.co from vercel.json CSP connect-src - Remove 'supabase/**' ignore from eslint.config.mjs - Clean supabase references from src/lib/db.ts, vitest.config.ts, db/seeds/2026-tuxedo-tour-stops.sql, src/actions/storefront.ts, scripts/import-tuxedo-stops.ts comments - Rewrite env-var docs in README, ENVIRONMENT, PRODUCTION_SETUP, PRODUCTION_DEPLOYMENT_CHECKLIST, LAUNCH_CHECKLIST, CLAUDE, MEMORY, REPORT to drop NEXT_PUBLIC_SUPABASE_URL / SUPABASE_SERVICE_ROLE_KEY / supabase link / supabase CLI references The canonical migration runner is now scripts/migrate.js (uses pg directly via DATABASE_URL). Migrations live in db/migrations/. The Supabase CLI is no longer in the codebase. The only remaining '@supabase/*' in the dep tree is @supabase/auth-js as a transitive of @neondatabase/auth (Neon Auth / Better Auth). Final source scan: grep -rln '@supabase\|rest/v1\|supabase\.co' src/ tests/ db/ scripts/ next.config.ts vercel.json eslint.config.mjs package.json returns zero. Verification: npm install clean (11 added, 21 removed, 12 changed), tsc shows same 17 pre-existing errors (Stripe dahlia API version + fetch preconnect mocks), vitest 172/175 (3 pre-existing failures in getAdminUser.test.ts), lint shows same 14 pre-existing errors. Live-tested: dev server boots in 248ms, public storefronts (/) (/login) (/pricing) (/tuxedo) (/indian-river-direct) all return 200; /admin/v2?demo=1 reaches 200 after dev_session redirect; storefront renders real brand content.
90 lines
2.6 KiB
JSON
90 lines
2.6 KiB
JSON
{
|
|
"name": "route-commerce-platform",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "node fix-agents.js && next dev --webpack -H 0.0.0.0 -p 4000",
|
|
"build": "next build --webpack",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"lint:fix": "eslint --fix",
|
|
"migrate": "node scripts/migrate.js",
|
|
"migrate:one": "node scripts/migrate.js",
|
|
"db:migrate": "node scripts/migrate.js",
|
|
"db:seed": "tsx db/seed.ts",
|
|
"db:seed:tour": "node scripts/seed-tuxedo-2026.js",
|
|
"db:reset": "node scripts/db-reset.js",
|
|
"db:studio": "drizzle-kit studio",
|
|
"type-check": "npx tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:e2e": "playwright test --project=local",
|
|
"test:e2e:prod": "PLAYWRIGHT_PROD=1 playwright test",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx}\""
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.96.0",
|
|
"@aws-sdk/client-s3": "^3.1064.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.1064.0",
|
|
"@google/generative-ai": "^0.24.1",
|
|
"@gsap/react": "^2.1.2",
|
|
"@neondatabase/auth": "^0.4.2-beta",
|
|
"@neondatabase/serverless": "^1.1.0",
|
|
"@sentry/nextjs": "^10.55.0",
|
|
"@stripe/react-stripe-js": "^6.6.0",
|
|
"@stripe/stripe-js": "^9.7.0",
|
|
"@upstash/ratelimit": "^2.0.8",
|
|
"@upstash/redis": "^1.38.0",
|
|
"drizzle-orm": "^0.36.4",
|
|
"exceljs": "^4.4.0",
|
|
"framer-motion": "^12.40.0",
|
|
"gsap": "^3.15.0",
|
|
"idb": "^8.0.3",
|
|
"lucide-react": "^1.17.0",
|
|
"next": "^16.2.6",
|
|
"next-auth": "^5.0.0-beta.31",
|
|
"next-themes": "^0.4.6",
|
|
"openai": "^6.37.0",
|
|
"papaparse": "^5.5.3",
|
|
"pdf-lib": "^1.17.1",
|
|
"posthog-js": "^1.378.1",
|
|
"posthog-node": "^5.35.11",
|
|
"qrcode": "^1.5.4",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"server-only": "^0.0.1",
|
|
"square": "^44.0.1",
|
|
"stripe": "^22.1.1",
|
|
"uuid": "^11.1.1",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@lhci/cli": "^0.15.1",
|
|
"@playwright/test": "^1.60.0",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/papaparse": "^5.5.2",
|
|
"@types/pg": "^8.20.0",
|
|
"@types/qrcode": "^1.5.6",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/uuid": "^11.0.0",
|
|
"@vitejs/plugin-react": "^4.7.0",
|
|
"dotenv": "^17.4.2",
|
|
"drizzle-kit": "^0.30.6",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.5",
|
|
"fake-indexeddb": "^6.2.5",
|
|
"jsdom": "^25.0.1",
|
|
"pg": "^8.20.0",
|
|
"playwright": "^1.59.1",
|
|
"tailwindcss": "^4",
|
|
"tsx": "^4.22.4",
|
|
"typescript": "^5",
|
|
"vite-tsconfig-paths": "^5.1.4",
|
|
"vitest": "^2.1.9"
|
|
},
|
|
"overrides": "{}"
|
|
}
|