openpencil/packages/fig
2026-06-30 10:54:32 +03:00
..
scripts feat(dom-css): harden package boundaries 2026-06-30 10:51:37 +03:00
src feat(dom-css): harden package boundaries 2026-06-30 10:51:37 +03:00
tests feat(dom-css): harden package boundaries 2026-06-30 10:51:37 +03:00
package.json feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
README.md feat(dom-css): harden package boundaries 2026-06-30 10:51:37 +03:00
tsconfig.json feat(fig): scaffold package shell 2026-06-30 10:51:36 +03:00
tsconfig.test.json feat(fig): scaffold package shell 2026-06-30 10:51:36 +03:00
tsdown.config.ts feat(fig): scaffold package shell 2026-06-30 10:51:36 +03:00

@open-pencil/fig

.fig document policy package for OpenPencil.

This package currently exposes low-level fig-kiwi container read/write helpers and remains the staging area for the next package-split stage. Use @open-pencil/core for production SceneGraph .fig read/write APIs until higher-level behavior moves here.

Current ownership:

  • readFigContainer() / writeFigContainer() wrappers over @open-pencil/kiwi container helpers
  • .fig document source typing

Planned ownership:

  • .fig read/write orchestration
  • SceneGraph ⇄ Figma NodeChange conversion policy
  • raw Figma metadata preservation and invalidation
  • component/instance interpretation
  • oracle-backed .fig fixtures and package-local tests

Non-goals:

  • low-level Kiwi schema/runtime/codec internals — use @open-pencil/kiwi
  • editor actions, renderer behavior, Vue/app UI, CLI formatting, or MCP transport

See packages/docs/development/fig-package-plan.md for the staged migration plan.

Checks

cd packages/fig
bun run check