hyperweb-io / hyperweb-io/ts-codegen
[Request] Option for types path in client generation
- Ngôn ngữ chính
- TypeScript
- Star
- 126
- Fork
- 31
- Merge trung bình
- 19 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
Hey!
It's not prioritary but will be great to have an extra property in the client config in order to define in what path are your types.
I tried to build types for one side and clients for the other side and got that problem client is important types from the same path.
I would like to have them in different folders since that will be easier for me to export it in a npm package.
Thanks and as always great job! 🚀
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by locating the client-generation configuration and the code that determines where generated types and clients are written. Trace how the current shared path is selected, then define separate configurable paths and verify that generated output can be placed in different folders for npm packaging.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- tooling
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100