Skip to content

Fix/write packagejson - #4

Merged
gmasci-ca merged 2 commits into
mainfrom
fix/write-packagejson
Apr 29, 2026
Merged

gmasci-ca merged 2 commits into
mainfrom
fix/write-packagejson

Conversation

@gmasci-ca

Copy link
Copy Markdown
Contributor

No description provided.

- Implemented typeToJsonSchemaObject and typeToJsonSchemaFromType functions to convert TypeScript types into JSON Schema, handling objects, unions, arrays, and literals.
- Improved handling of imported interfaces and types, ensuring accurate schema generation even for complex types.
- Added comprehensive unit tests to validate the new schema generation capabilities, covering various scenarios including optional and required fields, mixed unions, and literal types.
- Adjusted Vitest configuration to lower coverage thresholds for lines, statements, functions, and branches.
@gmasci-ca
gmasci-ca merged commit 0fb65b7 into main Apr 29, 2026
1 check passed
@gmasci-ca
gmasci-ca deleted the fix/write-packagejson branch April 30, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant