Files
b2da8561b7 refactor(brand): marks come from @bitbaum/design-tokens/marks (#1584)
* refactor(brand): marks come from @bitbaum/design-tokens/marks

Every product's mark now lives in the design-tokens package (1.6.0), so
a logo is replaced once and OrangeCat, Solon and Loki follow. The local
copies (loki, orangecat, solon) and the source writer are gone;
src/config/marks, mark-svg and svg-to-mark re-export the package, so no
call site changed. The cat generator stays here and the brand test holds
the package's cat equal to it. `brand:import` now prints where to import
a mark instead of writing a copy that would drift.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92

* docs(brand): name the package's import script without claiming it here

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Cato <cato@orangecat.ch>
2026-11-28 22:56:37 +01:00
..
2025-12-10 16:56:40 +01:00

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
  • 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 run from .github/workflows/cd.yml via scripts/deploy-selfhost.sh — see docs/operations/deployment/DEPLOYMENT_PROCESS.md)
  • scripts/apply-migrations.sh - Applies pending supabase/migrations/*.sql on every deploy (run by scripts/deploy-selfhost.sh). scripts/db/apply-migrations.ts is a legacy script, not the deploy path.
  • scripts/maintenance/cleanup-console-logs.ts - Remove console.log statements