How nguyendat0410/g-version-ui works
Main Components Layer Structure
a) Core Components Layer
• Two sub-components currently implemented:
• Button Component
• Input Component
• Use a modular structure to show each component's internal architecture:
• Component Logic (TSX)
• Styling (SCSS)
• Types
• Stories
• Tests
b) Theme System Layer
• Constants
• Theme Configuration
Build & Development Infrastructure
a) Development Tools
• Storybook Environment
• TypeScript Compilation
• Rollup Bundling
• Jest Testing Framework
b) CI/CD Pipeline (based on GitHub Actions)
• Workflow processes:
• CI Testing
• Publishing
• Package Distribution
Integration Points
a) Package Distribution
• NPM/Yarn Package System
• Component Consumption Flow
Component Architecture
• Modular nature of components
• Consistent structure (TSX, SCSS, Types, Stories, Tests)
• Demonstrate theme integration
Development Workflow
• Storybook for development and documentation
• Testing infrastructure
• Build process with Rollup
Infrastructure
• GitHub Actions workflows
• TypeScript compilation
• Package distribution
• Version information and key technologies used
Level of Detail:
• Keep component internals at a moderate level of detail
• Overall architecture and component relationships
• Development and build infrastructure