hyperweb-io / hyperweb-io/ts-codegen
[Request] Option for types path in client generation
- Dominant language
- TypeScript
- Stars
- 126
- Forks
- 31
- Avg merge
- 19m
- Merged PRs (30d)
- 2
Description
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! 🚀
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100