chore: update gitignore and Makefile

- Update .gitignore with node_modules and build artifacts
- Update Makefile with new targets

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-02 19:40:13 +01:00
parent 945ddd3852
commit d80659646f
2 changed files with 39 additions and 1 deletions

7
.gitignore vendored
View File

@@ -164,3 +164,10 @@ credentials/
# Note: Keep alembic/versions/ tracked for migrations
# alembic/versions/*.pyc is already covered by __pycache__
.aider*
# Node.js / npm
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json

View File

@@ -1,7 +1,7 @@
# Wizamart Multi-Tenant E-Commerce Platform Makefile
# Cross-platform compatible (Windows & Linux)
.PHONY: install install-dev install-docs install-all dev test test-coverage lint format check docker-build docker-up docker-down clean help
.PHONY: install install-dev install-docs install-all dev test test-coverage lint format check docker-build docker-up docker-down clean help npm-install tailwind-dev tailwind-build
# Detect OS
ifeq ($(OS),Windows_NT)
@@ -255,6 +255,31 @@ docs-check:
@echo "Checking documentation for issues..."
$(PYTHON) -m mkdocs build --strict --verbose
# =============================================================================
# FRONTEND / TAILWIND CSS
# =============================================================================
npm-install:
@echo "Installing npm dependencies..."
npm install
@echo "npm dependencies installed"
tailwind-dev:
@echo "Building Tailwind CSS (development - all classes)..."
npm run tailwind:admin
npm run tailwind:vendor
@echo "Tailwind CSS built (admin + vendor)"
tailwind-build:
@echo "Building Tailwind CSS (production - purged)..."
npm run build
@echo "Tailwind CSS built for production"
tailwind-watch:
@echo "Watching Tailwind CSS for changes..."
@echo "Note: This watches admin CSS only. Run in separate terminal."
npx tailwindcss build static/admin/css/tailwind.css -o static/admin/css/tailwind.output.css --watch
# =============================================================================
# DOCKER
# =============================================================================
@@ -371,6 +396,12 @@ help:
@echo " docs-serve - Start documentation server"
@echo " docs-build - Build documentation"
@echo ""
@echo "=== FRONTEND / TAILWIND ==="
@echo " npm-install - Install npm dependencies"
@echo " tailwind-dev - Build Tailwind CSS (development)"
@echo " tailwind-build - Build Tailwind CSS (production)"
@echo " tailwind-watch - Watch and rebuild on changes"
@echo ""
@echo "=== DOCKER ==="
@echo " docker-build - Build Docker containers"
@echo " docker-up - Start Docker containers"