Skip to content

feat: add Figma-native export functionality#4

Merged
findyourexit merged 1 commit into
mainfrom
findyourexit/figma-native-export
Dec 9, 2025
Merged

feat: add Figma-native export functionality#4
findyourexit merged 1 commit into
mainfrom
findyourexit/figma-native-export

Conversation

@findyourexit

Copy link
Copy Markdown
Owner

FigGit v0.3.0 – Figma-Native Export Bundle

Unified Export Bundles

  • Introduced ExportBundle to normalize all export outputs, so UI, diffing, and commits consume a single structure regardless of format (buildExportBundle.ts, types/export.ts, messaging/context/plugin updates).
  • Persisted per-file hashes to avoid redundant commits when documents remain unchanged.

Figma-Native Export Pipeline

  • Added buildFigmaNativeExport with deterministic metadata, per-collection splitting, slugged filenames, alias resolution, and valueNormalization utilities.
  • Created reusable helpers (path.ts, slugify.ts, VariableModeValue relocation) and comprehensive tests (figmaNativeExport.test.ts).

GitHub Commit Improvements

  • New multi-file commitFiles workflow batches updates, reuses embedded contentHash detection, and skips files already matching remote content.
  • Plugin commit flow now uses bundle metadata for smarter commit messages and settings persistence.

UI/UX Enhancements

  • Settings tab gains ExportOptionsDisclosure so users choose DTCG vs Figma-native and single vs per-collection outputs.
  • StatusSummary, JsonViewer, and DiffViewer surface per-document metadata, copy actions, and multi-file diffs with remote error handling.

Docs & Packaging

  • README now explains both schemas with example Figma-native JSON and revised distribution instructions.
  • Manifest gains dev-mode capability, dependencies upgraded (esbuild 0.25), and PLUGIN_VERSION constant set to 0.3.0.

@findyourexit findyourexit self-assigned this Dec 9, 2025
@findyourexit findyourexit added the enhancement New feature or request label Dec 9, 2025
@findyourexit
findyourexit merged commit f89f43a into main Dec 9, 2025
5 checks passed
@findyourexit
findyourexit deleted the findyourexit/figma-native-export branch December 9, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant