mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2025-12-23 06:10:01 +00:00
- Fixed compilation errors in menubar, combobox, and drawer packages - Updated to tailwind-rs-core v0.4.0 and tailwind-rs-wasm v0.4.0 for WASM compatibility - Cleaned up unused variable warnings across packages - Updated release documentation with WASM integration details - Demo working with dynamic color API and Tailwind CSS generation - All 25+ core components ready for crates.io publication Key features: ✅ WASM compatibility (no more tokio/mio dependencies) ✅ Dynamic Tailwind CSS class generation ✅ Type-safe color utilities ✅ Production-ready component library
27 lines
993 B
Bash
Executable File
27 lines
993 B
Bash
Executable File
#!/bin/bash
|
|
# TDD Workflow Script for Leptos ShadCN UI Remediation
|
|
set -e
|
|
|
|
echo "🧪 Starting TDD-driven remediation workflow..."
|
|
|
|
# Phase 1: Setup and validate test infrastructure
|
|
echo "📋 Phase 1: Test Infrastructure Setup"
|
|
cargo nextest run --all --profile default --no-fail-fast || echo "Initial test baseline captured"
|
|
|
|
# Phase 2: Dependency fixes with tests
|
|
echo "🔧 Phase 2: Dependency Remediation (Test-First)"
|
|
cargo nextest run --package contract-testing --profile default || echo "Contract tests will be created"
|
|
|
|
# Phase 3: API contract testing
|
|
echo "🔌 Phase 3: API Contract Testing"
|
|
cargo nextest run --workspace --profile integration
|
|
|
|
# Phase 4: WASM optimization tests
|
|
echo "⚡ Phase 4: WASM Optimization"
|
|
cargo nextest run --target wasm32-unknown-unknown --profile wasm || echo "WASM tests setup needed"
|
|
|
|
# Phase 5: Performance validation
|
|
echo "📊 Phase 5: Performance Validation"
|
|
cargo nextest run --workspace --profile performance
|
|
|
|
echo "✅ TDD workflow complete!" |