Skip to content

refactor: extract SVGKit into standalone swift-svgkit package#70

Merged
alexey1312 merged 1 commit intomainfrom
extract-svgkit-package
Mar 16, 2026
Merged

refactor: extract SVGKit into standalone swift-svgkit package#70
alexey1312 merged 1 commit intomainfrom
extract-svgkit-package

Conversation

@alexey1312
Copy link
Collaborator

@alexey1312 alexey1312 commented Mar 16, 2026

Summary

  • Extract the SVGKit module (SVG parsing + Android ImageVector/VectorDrawable generation) into a standalone package DesignPipe/swift-svgkit for reuse outside ExFig (e.g., Swift SDK for Android)
  • Replace local SVGKit target with remote dependency swift-svgkit 0.1.0+
  • Update 3 consumers (ExFigCLI, AndroidExport, ExFig-Android) to use .product(name:package:)
  • Remove local Sources/SVGKit/ (8 files) and Tests/SVGKitTests/ (27 files)
  • Update CLAUDE.md architecture (14 → 13 modules) and dependencies table

Test plan

  • swift build passes locally
  • swift test — all 121 tests pass (SVGKit tests now live in the external package)
  • swift-svgkit CI green on macOS + Linux
  • import SVGKit unchanged in all consumer modules
  • ExFig CI passes on this branch

Replace the local SVGKit module with the newly published
DesignPipe/swift-svgkit package (0.1.0). The module name stays
`SVGKit`, so all `import SVGKit` statements remain unchanged.

- Add swift-svgkit remote dependency to Package.swift
- Update ExFigCLI, AndroidExport, ExFig-Android to use .product()
- Remove local SVGKit target and SVGKitTests test target
- Delete Sources/SVGKit/ and Tests/SVGKitTests/ (8 + 27 files)
- Update CLAUDE.md architecture (14 → 13 modules) and dependencies
@alexey1312 alexey1312 merged commit 8fc39fa into main Mar 16, 2026
3 checks passed
@alexey1312 alexey1312 deleted the extract-svgkit-package branch March 16, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant