Skip to content
Logo

Changelog

for @ghostry/fabricator-adapter-typebox-v0

Every release of @ghostry/fabricator-adapter-typebox-v0, newest first.

v0.0.3

· Release on GitHub

New

  • T.derive schemas now convert. A derive converts to its to schema, the same way a computed field converts to its source.

Compatibility

  • Peer dependency raised to @ghostry/fabricator >=0.0.8 <0.1.0, the first version with T.derive.
  • Type names follow core's rename of ValueOf to Fabricated.

v0.0.2

· Release on GitHub

Catches up to @ghostry/fabricator@0.0.3+.

  • drive is renamed to walk, and the adapter contract (walk, Adapter, AdaptationsOf, Recurse) is now imported from @ghostry/fabricator/adapting instead of the root export.
  • Peer dependency raised to @ghostry/fabricator >=0.0.3 <0.1.0.
  • Package metadata refresh: README badges and logo, expanded keywords, engines.node >= 20, homepage pointing at the docs site.

v0.0.1

· Release on GitHub

Initial release.

Converts any Fabricator Schema to a TypeBox schema, so one shape can serve both test-data generation and runtime validation. Per-schema overrides are available through .adapt(typebox, ...) when the default mapping isn't what you want.

Targets @sinclair/typebox 0.34.x specifically — hence -v0. The unscoped typebox 1.x package is a separate, unrelated package, so an adapter for it would be a sibling rather than a version bump of this one.

npm install @ghostry/fabricator-adapter-typebox-v0 @ghostry/fabricator @sinclair/typebox

Guide: https://docs.ghostry.dev/fabricator/guides/typebox