Migrated from design-system-swarm with fresh git history.
Old project history preserved in /home/overbits/apps/design-system-swarm
Core components:
- MCP Server (Python FastAPI with mcp 1.23.1)
- Claude Plugin (agents, commands, skills, strategies, hooks, core)
- DSS Backend (dss-mvp1 - token translation, Figma sync)
- Admin UI (Node.js/React)
- Server (Node.js/Express)
- Storybook integration (dss-mvp1/.storybook)
Self-contained configuration:
- All paths relative or use DSS_BASE_PATH=/home/overbits/dss
- PYTHONPATH configured for dss-mvp1 and dss-claude-plugin
- .env file with all configuration
- Claude plugin uses ${CLAUDE_PLUGIN_ROOT} for portability
Migration completed: $(date)
🤖 Clean migration with full functionality preserved
31 lines
783 B
JavaScript
31 lines
783 B
JavaScript
/**
|
|
* Design System Server - Main Entry Point
|
|
*
|
|
* Vite module entry point that initializes the application
|
|
*/
|
|
|
|
// Import CSS bundle first to ensure all styles are loaded before components render
|
|
import './css-bundle.js'
|
|
import app from './core/app.js'
|
|
|
|
// Initialize application when DOM is ready
|
|
if (document.readyState === 'loading') {
|
|
document.addEventListener('DOMContentLoaded', initApp)
|
|
} else {
|
|
initApp()
|
|
}
|
|
|
|
function initApp() {
|
|
console.log('Initializing Design System Server v1.0.0...')
|
|
app.init().catch(error => {
|
|
console.error('Failed to initialize application:', error)
|
|
})
|
|
}
|
|
|
|
// Enable hot module reloading in development
|
|
if (import.meta.hot) {
|
|
import.meta.hot.accept('./core/app.js', (newModule) => {
|
|
console.log('App module hot-reloaded')
|
|
})
|
|
}
|