Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Rename to genType #40

Closed
cristianoc opened this issue Oct 1, 2018 · 6 comments
Closed

Rename to genType #40

cristianoc opened this issue Oct 1, 2018 · 6 comments

Comments

@cristianoc
Copy link
Collaborator

Gradually rename the project to genType, with small extensions followed by one breaking change.

@cristianoc
Copy link
Collaborator Author

This allows to use gentypeconfig.json:
cristianoc/genFlow@8a8250d

@nikgraf
Copy link
Collaborator

nikgraf commented Oct 1, 2018

ohh nice, so one tool to generate multiple targets?

@tutturen
Copy link

tutturen commented Oct 1, 2018

I would love a tool that generates types for Flow, TypeScript and vanilla JS in one go. That would make it a joy to write js libraries in Reason.

@cristianoc
Copy link
Collaborator Author

@tutturen that’s definitely doable. The Flow and TS generated code is different, but we already have 2 extensions, so it’s easy to write both files.
For Flow and vanilla, the easiest is to just generate Flow and ignore the types for vanilla. The requirement is to have eg Babel in the pipeline. But it’s simpler than having a third kind of file generated at the same time.

@cristianoc
Copy link
Collaborator Author

Branch for the final renaming: https://github.com/cristianoc/genFlow/pull/44.

@cristianoc
Copy link
Collaborator Author

Done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants