How cmpsr/composer works
Main Components Identification
The system should be divided into these major sections:
a. Core UI Components Layer:
• Components package (design system)
• Blocks package (higher-level components)
• Carousel package
• Markdown Editor package
b. Analytics & Integration Layer:
• Analytics package
• Cloud services integrations (KMS, Logger, Storage)
• Payment integrations (Plaid)
• Communication services (Signalwire, Twilio)
c. Content Management Layer:
• Contentful integration packages
• NextJS renderer
Relationships and Dependencies
[UI Layer]
• ↑↓
[Integration Layer]
• ↑↓
[Content Management Layer]
• UI Components | | Cloud Services |
• Components | | - Cloud Logger |
• Blocks |←--->| - Cloud Storage |
• Carousel | | - Cloud KMS |
• ↑ ↑
• Integration | | Communication |
• Analytics |←--->| - Signalwire |
• Plaid | | - Twilio |
• ↑
• Content |
• Contentful |
• NextJS |
Important Elements
• External service integrations
• Build and deployment flow
• Testing infrastructure
• Storybook integration
Technical Details to Highlight
• React-based component system
• Changesets for versioning
• Jest for testing
• Storybook for documentation
• NextJS integration capabilities