Files
stanza/.gitignore
T
jake b6e9b55c56 feat: generate and publish stanza.json JSON Schema at https://stanza.tools/schema.json
- Add `MANIFEST_SCHEMA_URL` constant and `manifestJsonSchema()` function to `packages/registry/src/manifest.ts`; the schema is derived from `StanzaManifestSchema` via `z.toJSONSchema` and decorated with `$id`, `title`, and `description`
- Add `$schema` field to the `StanzaManifest` type and `StanzaManifestSchema`; `emptyManifest` populates it automatically and `writeManifest` in the CLI spreads `$schema` first so pre-existing manifests gain the pointer on their next write
- Extend `scripts/registry-build.ts` to write `dist/schema.json` alongside the registry output; update `prepare-registry.sh` to copy `dist/schema.json` to `apps/web/public/schema.json` so it is served at the web root
- Gitignore `apps/web/public/schema.json` as a generated artifact
2026-05-21 21:32:58 -04:00

37 lines
369 B
Plaintext

node_modules/
dist/
.output/
.vercel/
.turbo/
*.tsbuildinfo
.tanstack/
.source/
# IDE
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
.idea/
# Logs
*.log
npm-debug.log*
pnpm-debug.log*
# OS
.DS_Store
Thumbs.db
# Env
.env
.env.local
.env.*.local
# Test artifacts
coverage/
__snapshots__/.tmp/
# misc
apps/web/public/registry/
apps/web/public/schema.json