openpencil/packages/kiwi
2026-06-30 10:50:39 +03:00
..
scripts refactor(kiwi): move FIG GUID helpers 2026-06-30 10:50:39 +03:00
src refactor(kiwi): move FIG GUID helpers 2026-06-30 10:50:39 +03:00
tests refactor(kiwi): move FIG GUID helpers 2026-06-30 10:50:39 +03:00
package.json refactor(kiwi): move FIG GUID helpers 2026-06-30 10:50:39 +03:00
README.md feat(kiwi): scaffold standalone Kiwi package 2026-06-30 10:48:47 +03:00
tsconfig.json refactor(kiwi): consume standalone Kiwi package 2026-06-30 10:49:14 +03:00
tsconfig.test.json feat(kiwi): scaffold standalone Kiwi package 2026-06-30 10:48:47 +03:00
tsdown.config.ts refactor(kiwi): move FIG GUID helpers 2026-06-30 10:50:39 +03:00

@open-pencil/kiwi

Kiwi schema runtime utilities for OpenPencil.

This package is the future home for scene-graph-agnostic Kiwi parsing, validation, and binary codec helpers. The first split keeps .fig import/export policy in @open-pencil/core while package-local tests prove the pure Kiwi runtime can build and run independently.

Checks

cd packages/kiwi
bun run check

Package scripts:

  • bun run test — package-local Bun tests for schema runtime and Figma schema guards
  • bun run typecheck — type-checks src, tests, and package scripts
  • bun run build — builds the distributable dist entrypoints
  • bun run smoke:dist — imports built output and exercises the public API
  • bun run check — runs typecheck, tests, build, and dist smoke in sequence