Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Hallock 7ba746b6bd fix: update lockfile and fix Makefile paths
- Update pnpm-lock.yaml with new semantic-release dependencies
- Fix Makefile paths to use packages/core/src/ instead of src/
- All Python scripts now reference correct monorepo structure

Fixes:
- ERR_PNPM_OUTDATED_LOCKFILE in CI workflows
- Missing generate_examples.py in verify-examples workflow

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 09:05:41 -05:00
Thomas Hallock 9b8fe745e2 refactor: remove skipped test and unused reference update utility
- Remove test_reference_image_update_utility that was always skipped
- Remove --update-references option and make target that were unused
- Simplify reference image update process to manual deletion + test rerun
- Clean up documentation to reflect simpler approach

All tests now run without skipping. Reference updates are handled
by deleting old images and letting tests auto-generate new ones.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 17:35:23 -05:00
Thomas Hallock 8c15d06593 feat: integrate pytest testing with make targets
Add pytest integration to Makefile with new targets:
- make pytest: run all tests
- make pytest-fast: run unit tests only (skip slow integration tests)
- make pytest-visual: run visual regression tests only
- make pytest-cov: run tests with coverage reports
- make update-references: update visual test reference images

Update make install to use requirements.txt and reorganize help output
to clearly separate build, test, and setup targets.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 17:29:19 -05:00
Thomas Hallock 1adbd1a5ff feat: add CI-friendly example generation and verification
- Add 'make examples' to regenerate README images
- Add 'make verify-examples' for CI verification
- Create GitHub Action to verify examples are up to date
- Improve generate_examples.py with better error handling
- Add update-examples.sh convenience script
- Document development workflow in README

This ensures README examples always match the actual code output.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 15:55:53 -05:00
Thomas Hallock e411b289c7 Add Makefile for build automation
- Default target generates flashcards with linearization
- Install target for macOS dependencies (typst, qpdf)
- Sample generation target for all configurations
- Test target for quick validation
- Clean target to remove generated files
- Dependency checking before builds

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 12:14:31 -05:00