You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there!
I know that there hasn't been much activity here as of late so I hope this reaches someone.
I'm working on a full stack project using Django as a backend and NextJs as a front end, and using Django Ninja (with build in Pydantic) to boot up the REST API.
I found this repo whilst looking for existing solutions that would allow us to manage all type definitions on the backend, such that the front end can easily consume them for a better developer experience.
However, I'm having issues getting this to work on Windows. How do I install Json2ts?
I've tried via npm but it doesn't seem to add the command to PATH and I can't for the life of me figure out how to run it.
Ideally, as per another thread, json2ts installation should be platform agnostic. For now it's just me but eventually various devs will be joining this codebase and I want this to work seamlessly across all their development environments.
Is there any way you could bundle json2ts within this repo? Or do you have any guidance in using this package / the CLI without needing json2ts?
Thanks ahead,
Pat
The text was updated successfully, but these errors were encountered:
You can configure it to run on 'ubuntu-latest', so that circumvents the windows issue.
And then you can ensure that it automatically runs on push and it auto-generates PRs if ts definitions are outdated.
Hey there!
I know that there hasn't been much activity here as of late so I hope this reaches someone.
I'm working on a full stack project using Django as a backend and NextJs as a front end, and using Django Ninja (with build in Pydantic) to boot up the REST API.
I found this repo whilst looking for existing solutions that would allow us to manage all type definitions on the backend, such that the front end can easily consume them for a better developer experience.
However, I'm having issues getting this to work on Windows. How do I install Json2ts?
I've tried via npm but it doesn't seem to add the command to PATH and I can't for the life of me figure out how to run it.
Ideally, as per another thread, json2ts installation should be platform agnostic. For now it's just me but eventually various devs will be joining this codebase and I want this to work seamlessly across all their development environments.
Is there any way you could bundle json2ts within this repo? Or do you have any guidance in using this package / the CLI without needing json2ts?
Thanks ahead,
Pat
The text was updated successfully, but these errors were encountered: