feat: update dependencies and improve development commands in Justfile

This commit is contained in:
GW_MC
2026-03-03 04:49:26 +00:00
parent 31f1d8309d
commit 091743bb51
3 changed files with 12 additions and 25 deletions

View File

@@ -22,7 +22,7 @@ setup-rust-tools:
@echo "📦 Installing Rust dependencies..."
cargo fetch
@echo "🔧 Installing cargo tools..."
cargo install --locked
cargo install --locked cargo-watch sea-orm-cli 2>/dev/null || true
# Setup frontend dependencies
setup-frontend:
@@ -43,13 +43,17 @@ dev:
# Start Rust backend with hot reload
dev-backend:
@echo "🔧 Starting Rust backend..."
cargo watch -x run
cargo watch --ignore frontend --ignore migration -x 'run --bin nxmesh-master'
dev-api: dev-backend
# Start Vite frontend development server
dev-frontend:
@echo "⚛️ Starting Vite frontend..."
cd frontend && bun dev
dev-ui: dev-frontend
# Start services (called by devcontainer post-start)
start-services:
@echo "🔧 Ensuring services are ready..."