.PHONY: help install build lint test clean

help:
	@echo "TypeScript project commands:"
	@echo "  make install  - Install dependencies"
	@echo "  make build    - Build TypeScript (type check)"
	@echo "  make lint     - Run ESLint"
	@echo "  make test     - Run tests"
	@echo "  make clean    - Clean build artifacts"

install:
	pnpm install --frozen-lockfile

build:
	pnpm exec tsc --noEmit

lint:
	pnpm exec eslint src --max-warnings 0

test:
	@echo "No tests configured yet"
	@exit 0

clean:
	rm -rf node_modules
	rm -rf dist
	rm -f *.tsbuildinfo