- Add unit test templates for all Swift components:
- ApplicationFinderTests: Test app discovery and fuzzy matching
- WindowManagerTests: Test window listing and filtering
- PermissionsCheckerTests: Test permission detection
- ImageCommandTests: Test command parsing and validation
- ListCommandTests: Test list command variations
- Enhance release script with thorough CLI testing:
- Test all commands with various arguments
- Validate JSON output structure
- Test error handling for invalid inputs
- Check permission status reporting
- Add dedicated Swift CLI integration test phase
- Update RELEASING.md to highlight automated checks
- Check peekaboo binary exists and is included in package
- Verify binary has executable permissions
- Ensure binary contains both arm64 and x86_64 architectures
- Test binary execution with --help flag
- Check if the current version is already published on npm
- Prevent accidental republishing of existing versions
- Run this check early in the release process
- Add prepare-release.js script that performs all pre-release checks
- Checks git status, dependencies, TypeScript, Swift, and builds
- Runs all tests including integration tests
- Verifies package contents and structure
- Add npm run prepare-release command
- Document in CLAUDE.md
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>