hyperweb-io / hyperweb-io/ts-codegen

move away from json-schema-to-typescript

未关闭
#7 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
126
派生
31
平均合并
19 分钟
30 天内合并 PR
2

描述

Currently we're depending on `json-schema-to-typescript`, however, it's limited (as noted here https://github.com/pyramation/cosmwasm-typescript-gen/issues/10) so we should look into fully parsing/processing types internally

examples to inspire

https://github.com/iamssen/cosmwasm-typescript-generator/blob/main/cosmwasm-typescript-generator/src/transform/createTypeStore.ts

https://github.com/bcherny/json-schema-to-typescript/blob/master/src/typesOfSchema.ts

https://github.com/bcherny/json-schema-to-typescript/blob/master/src/types/JSONSchema.ts

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 没有指出任何仓库文件、测试或入口点。首先检查当前的 json-schema-to-typescript 集成,然后对比所引用的 createTypeStore.ts、typesOfSchema.ts 和 JSONSchema.ts 示例。完成应意味着项目能够在内部完整解析和处理类型,而不依赖该依赖项,但该 issue 没有定义确切的范围或验证标准。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
tooling
Issue 类型
重构
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。