* chore: pnpm — the fleet has one package manager
- packageManager pnpm@11.25.0; lockfile via pnpm import, package-lock.json
removed
- npm "overrides" moved to pnpm-workspace.yaml overrides (pnpm ignores the
npm-only package.json field); nested gray-matter>js-yaml pin kept; $sharp
reference spelled out (pnpm 11 deprecates $ syntax)
- allowBuilds for native/postinstall deps; temporary minimumReleaseAgeExclude
for our own @bitbaum/ai-kit@0.6.2 (published <24h ago — pnpm 11's
supply-chain window would refuse it)
- postinstall dropped: it was the npm optional-deps sharp workaround
(npm/cli#4828); pnpm resolves optional deps correctly
- CI/CD/e2e-auth workflows: pnpm/action-setup@v6, store-dir pinned outside
the action's bin dir, cache: pnpm, frozen-lockfile installs, pnpm run;
Next cache key now hashes pnpm-lock.yaml; npm audit → pnpm audit --prod
- phantom deps declared: espree (eslint.config.mjs) and @mdx-js/mdx
(scripts/check-mdx.mjs), previously resolved via npm hoisting only
- package.json scripts, husky hooks, deploy-selfhost.sh converted to pnpm
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
* fix: another phantom dep only the CI clean room could see
@radix-ui/react-visually-hidden (CommandPalette.tsx) resolved locally through
the parent repo's hoisted npm node_modules. Declared; a full src/ bare-import
sweep against package.json now reports no other undeclared specifier.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
* fix: declare wait-on — npx fetched it on the fly, pnpm exec requires it
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
* fix(ci): security job — no install means no pnpm store, so no cache to save
The audit step itself passed (2 moderate, below the high gate); the job went
red in setup-node's POST step, which fails when the cache path it was told to
save (the pnpm store) was never created. This job only needs the lockfile.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
---------
Co-authored-by: Georgy Butaev <41178744+g-but@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Production is fully self-hosted on the Hetzner box (bitbaum, behind Caddy)
with self-hosted Supabase. This scrubs the remaining Vercel footprint:
Code (src/ now has zero Vercel references):
- security page: "Hosted on Vercel" → self-hosted infrastructure
- FleetCrown URL fleetcrown.vercel.app → fleetcrown.orangecat.ch (entity
registry + external-publish allowlist; the dead vercel.app subdomain was
also a re-registration risk in an allowlist)
- webhook-secret error + cron/env comments point at the box, not Vercel
- corrected stale "Vercel kills the function on response" comments (false
on a persistent server) to accurate await-before-respond reasoning
Security/config:
- supabase/config.toml: dropped dead *.vercel.app auth redirect URLs
- @vercel/mcp-adapter dependency removed (unused)
Artifacts removed:
- scripts/auth/vercel-login.js, scripts/preview-url.sh,
scripts/dev/merge-env.js, scripts/monitoring/deployment-monitor.js,
scripts/db/setup-env.js, mcp-servers/vercel-openapi.json, .vercel/
- setup_vercel_secrets MCP tool in mcp-servers/github-server.js
- .gitignore Vercel section; env scripts stripped of vercel-login/token
Docs + .claude rules/commands rewritten to the self-host deploy flow
(scripts/deploy-selfhost.sh / .github/workflows/cd.yml; env at
/opt/orangecat/app/.env). Historical/archive records left intact.
Verified: tsc 0 errors, SELF_HOST=1 build green, cron unit tests pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Scripts now read from .env.local using dotenv instead of
having hardcoded values or placeholders.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix currency defaults (SATS → CHF) across forms, configs, and API routes
- Remove @ts-nocheck from socialService.ts and improve type safety
- Replace console.log statements with proper logger utility in production code
- Additional type safety improvements and code quality enhancements
- Documentation updates for improved maintainability
All changes follow DRY, SSOT, and separation of concerns principles.
- Fixed messaging service Supabase insert/update type errors
- Fixed profile hooks (useProfileForm, useAuth, useActiveRoute, useMobileMenu)
- Added missing type exports (UserProduct, UserService, UserCause, Profile with email)
- Fixed messaging API route type errors
- Updated Database types for proper Supabase type safety
Note: Some TypeScript errors remain in non-critical areas (commerce, entity configs, tests) but core messaging and profile functionality is type-safe.