fix(core): add typegen to CLI config type#283
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Claude finished @binoy14's task in 1m 34s —— View job Code Review
Issues Found1. Type mismatch between schema and type definition The schema (schemas.ts:78) uses Fix: Change the schema to match the type definition: typegen: z.custom<Partial<TypeGenConfig>>().optional(),2. Version inconsistency
Recommendation: Align the versions across packages for consistency, unless there's a specific reason for the version bump. 3. Missing test coverage No tests were added for the new typegen configuration option. Recommendation: Add tests to verify the typegen config is properly validated and typed. |
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||
Preview this PR with pkg.pr.newRun the Sanity CLInpx https://pkg.pr.new/sanity-io/cli/@sanity/cli@f6d2632 <command>...Or upgrade project dependencies📦
|

No description provided.