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:
7
.gitignore
vendored
7
.gitignore
vendored
@@ -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
|
||||
|
||||
33
Makefile
33
Makefile
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user