@jackdbd/zod-schemas
v2.2.0
Published
Some [Zod](https://github.com/colinhacks/zod) schemas I reuse across projects.
Readme
Zod schemas
Some Zod schemas I reuse across projects.
Installation
npm install @jackdbd/zod-schemasDevelopment
Launch both the TypeScript compiler and the Node.js test runner in watch mode:
npm run devBuild all TypeScript files with the TypeScript compiler, and all docs with TypeDoc and api-extractor + api-documenter:
npm run buildYou can also build the TypeScript files and the docs separately:
npm run build:ts
npm run docsWhenever you change the public API of this project, you need to run api-extractor with the --local flag:
npx api-extractor run --config ./config/api-extractor.json --verbose --localDocs
Preview the documentation generated by TypeDoc:
npm run serve:docsNote: it doesn't make much sense to preview the API docs generated by api-extractor + api-documenter. They are just a bunch of markdown files.
