Skip to content

feat: create jsonschema from zod#71

Merged
LorisRue merged 1 commit into
masterfrom
70-create-jsonschema-from-zod
May 7, 2026
Merged

feat: create jsonschema from zod#71
LorisRue merged 1 commit into
masterfrom
70-create-jsonschema-from-zod

Conversation

@LorisRue
Copy link
Copy Markdown
Collaborator

@LorisRue LorisRue commented May 7, 2026

Summary

Implements generation of jsonschema directly from zod schema. Adds it to the npm run build command, so /template.schema.json is always up to date.

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 🧩 New template / stack support
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 📚 Documentation update
  • 🔧 Chore / dependency update

Related Issue

Closes #70

Changes Made

  • Add new command: projgen schema to print json schema
  • Expand build command to update template.schema.json file

Testing

  • Ran npm run build — no errors
  • Ran npm run lint — no lint errors
  • Tested the CLI manually with npm link + projgen
  • Tested on: Windows 11

Checklist

  • My code follows the project's style (npm run lint passes)
  • I have added / updated relevant documentation or comments
  • My changes do not introduce new warnings
  • I have read CONTRIBUTING.md

@LorisRue LorisRue self-assigned this May 7, 2026
@LorisRue LorisRue added the enhancement New feature or request label May 7, 2026
@LorisRue LorisRue linked an issue May 7, 2026 that may be closed by this pull request
2 tasks
@LorisRue LorisRue merged commit 2854e90 into master May 7, 2026
2 checks passed
@LorisRue LorisRue deleted the 70-create-jsonschema-from-zod branch May 7, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create jsonSchema from zod

1 participant