@pepys/schema
v0.4.0
Published
The pepys consumer manifest: the types and the strict schema of consumers.json, with its shared case file
Readme
The pepys consumer manifest, for Bun: the types and the strict schema of consumers.json.
pepys build writes consumers.json, and the pepys services read it. A plug-in needs only
@pepys/kit.
Install
bun add @pepys/schemaCheck a consumers.json that pepys build wrote:
import { consumerBuildManifestSchema } from '@pepys/schema';
const manifest = consumerBuildManifestSchema.parse(await Bun.file('build/consumers.json').json());Features
consumerBuildManifestSchema: the strict schema ofconsumers.json, with its types.- The types of a consumer's execution and of the link registry.
- The Kysely type generator for the store schema.
Documentation
The pepys docs hold the design of the manifest and the store.
