Skip to content

Feature/tailwind integration#3

Merged
MarcosBrendonDePaula merged 7 commits intomainfrom
feature/tailwind-integration
Sep 20, 2025
Merged

Feature/tailwind integration#3
MarcosBrendonDePaula merged 7 commits intomainfrom
feature/tailwind-integration

Conversation

@MarcosBrendonDePaula
Copy link
Copy Markdown
Collaborator

No description provided.

FluxStack Team and others added 7 commits September 19, 2025 16:02
…tecture

- Complete frontend redesign with modern Tailwind CSS 4 styling
- Hero section with gradient backgrounds and animated elements
- Responsive grid layouts with hover effects and smooth transitions
- Modern card designs with glass morphism effects
- Improved form styling with better UX patterns
- Enhanced mobile responsiveness across all breakpoints

- Optimize plugin architecture for better performance
- Vite plugin now only loads in development mode
- Static plugin handles both development and production modes
- Cleaner server configuration with conditional plugin loading
- Remove manual proxy/static logic in favor of plugin system

- Fix TypeScript warnings and ESLint issues
- Update CSS imports and remove legacy App.css dependency
- Improve type safety with proper Eden Treaty types

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add Tailwind CSS 4 and @tailwindcss/vite plugin to dependencies
- Configure Vite to use Tailwind CSS plugin for processing
- Essential configuration for the new Tailwind CSS 4 integration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Update bun.lock with new Tailwind CSS 4 packages
- Ensures consistent dependency resolution across environments

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add Vite proxy functionality integrated into framework error handler
- Proxy non-API routes (/, /assets, etc) to Vite dev server on port 5173
- Skip API and Swagger routes to maintain backend functionality
- Add http-proxy-middleware dependency for future improvements
- Frontend now accessible via backend at http://localhost:3000/
- Maintains proper HTTP headers and status codes
- Enables unified development workflow with single entry point

Note: Current implementation uses error handler interception.
Future: Should implement proper plugin hooks for cleaner architecture.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add onBeforeRoute hook for request interception before routing
- Extend RequestContext with handled and response fields
- Implement executePluginBeforeRouteHooks for pre-routing logic
- Update vitePlugin to use onBeforeRoute instead of onError
- Maintain backward compatibility with existing error handler fallback

Features:
- onRequest: Logging, authentication, monitoring
- onBeforeRoute: Route interception, proxying, middleware
- onResponse: Post-processing, analytics
- onError: Error handling, recovery

The Vite proxy now uses the proper onBeforeRoute hook for cleaner
architecture while maintaining fallback compatibility.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Fix Eden Treaty export type reference in app/server/index.ts
- Fix Headers iteration by using forEach instead of entries()
- Fix response status typing with proper type assertion
- Ensure all TypeScript errors are resolved for plugin hooks system

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
### New Features
- **CLI Plugin System**: Plugins can now register custom CLI commands
- **Command Registry**: Centralized registry with argument/option parsing
- **Plugin Discovery**: Automatic discovery of built-in, external, and local plugins
- **Help System**: Complete help with examples, usage, and documentation
- **Database Plugin**: Example plugin with migrate, seed, reset, and status commands

### CLI Commands Available
- Built-in: help, dev, build, create
- Database Plugin: migrate, seed, reset, status (with full options support)
- Commands can be called with plugin prefix (database:migrate) or without (migrate)

### Test Fixes
- Fixed Framework tests: Added missing onAfterHandle mock for Elysia
- Fixed Vite Plugin tests: Updated to use context.logger.info instead of console.log
- All 312 tests now passing (100% success rate)

### Technical Improvements
- TypeScript compilation with zero errors
- Robust argument/option parsing with validation
- Support for aliases, categories, and command prefixes
- Type-safe CLI context with config and utilities access
- Discovery of plugins from multiple sources (built-in, npm, local)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@MarcosBrendonDePaula MarcosBrendonDePaula merged commit 60b1978 into main Sep 20, 2025
6 checks passed
@MarcosBrendonDePaula MarcosBrendonDePaula deleted the feature/tailwind-integration branch September 26, 2025 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant