mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 10:23:41 +00:00
Moved embroidery format-related code from utils to new formats folder: Structure: - src/formats/pen/ - PEN format encoding and parsing - encoder.ts (was utils/penEncoder.ts) - encoder.test.ts (was utils/penEncoder.test.ts) - parser.ts (was utils/penParser.ts) - PEN constants moved inline to encoder.ts - src/formats/import/ - Pattern import/conversion (currently PES) - worker.ts (was workers/patternConverter.worker.ts) - client.ts (was utils/patternConverterClient.ts) - pesImporter.ts (was utils/pystitchConverter.ts) - pyodideLoader.ts (was utils/pyodideLoader.ts) - constants.ts (PyStitch/pyembroidery constants) Benefits: - Better separation of concerns - PEN encoder is co-located with PEN parser - Import logic is in one place and extensible for other formats - Removed utils/embroideryConstants.ts - split into appropriate locations - Updated all 18 import references across the codebase All tests passing, build successful. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| browser | ||
| electron | ||
| interfaces | ||
| index.ts | ||