Reference
Lexicon package
The manifest shape for packages that publish one Lexicon document.
A Lexicon package ships one Lexicon document. Its manifest is validated by a Zod schema in packages/universal/lib.
| Field | Type | Required |
|---|---|---|
name | string matching ^[a-z][A-Za-z0-9]*(?:[.-][A-Za-z0-9][A-Za-z0-9-]*)+$ | yes |
version | string matching ^\d+\.\d+\.\d+$ | yes |
files | string[] | yes |
kind | "lexicon" | yes |
document | string | yes |