2 Commits

Author SHA1 Message Date
Lane Campbell
4ff5800246 feat: plugin auto-discovery system and stripe admin enhancements
Replace hardcoded plugin lists across 5+ files with a manifest-driven
auto-discovery system. Enrich all 26 plugin manifests with standardized
fields. Add Stripe subscription sync, webhook event logging, and tabbed
admin UI.

Plugin auto-discovery:
- Rewrite generate-plugin-registry.mjs to scan manifest.json files and
  produce manifest-registry.ts as single source of truth
- Replace hardcoded AVAILABLE_PLUGINS in admin-plugins.ts with registry
- Replace CORE_PLUGINS in plugin-bootstrap.ts with registry
- Replace MENU_PLUGINS in plugin-menu.ts with registry
- Add icon resolution (text name -> Heroicon SVG) in plugin menu middleware
- Enrich all 26 manifest.json files with codeName, iconEmoji, is_core,
  defaultSettings, and adminMenu fields

Stripe plugin enhancements:
- Add subscription sync from Stripe API (listAllSubscriptions + upsert)
- Add stripe_events table and StripeEventService for webhook event logging
- Webhook handler now logs all events as processed/failed/ignored
- Add events log admin page with stats, type/status filters, pagination
- Add publishable key field to settings page
- Add shared tab bar (Subscriptions / Events / Settings) across all pages
- Fix route registration order (stripe routes before catch-all)
- Wrap admin pages in renderAdminLayoutCatalyst for proper styling

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 18:02:41 -07:00
Lane Campbell
9b3020f79c chore: publish core 2.0.3 and create-app beta.10 packages
- Bumped @sonicjs-cms/core from 2.0.2 to 2.0.3
- Published core package to npm
- Updated create-app CLI to use core@^2.0.3
- Bumped create-sonicjs from 2.0.0-beta.9 to 2.0.0-beta.10
- Published create-app package to npm
- Verified both packages install correctly

Additional cleanup:
- Moved scripts/generate-plugin-registry.mjs to packages/scripts/
- Updated all references to new script location
- Removed obsolete scripts folder (15 files deleted)
- Updated documentation for installation and script paths
- Cleaned up package.json (removed sync-collections and sonicjs CLI)

馃 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 15:53:19 -07:00