New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[@babel/types] Moved generators related to babel-types into the babel-types package directory. #9245
[@babel/types] Moved generators related to babel-types into the babel-types package directory. #9245
Conversation
cameron-martin
commented
Dec 27, 2018
•
edited
edited
Q | A |
---|---|
Fixed Issues? | Fixes #9239 |
Patch: Bug Fix? | 👍 |
Major: Breaking Change? | |
Minor: New Feature? | |
Tests Added + Pass? | No - no idea how to automatically test this change. |
Documentation PR Link | |
Any Dependency Changes? | |
License | MIT |
Fixes babel#9239, but only partially because the generators still import utils from outside the package directory.
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/9665/ |
Can't we also move utils and docs? |
Ah I didn't notice that the docs generator pertains only to the types. I'll move that too then. |
@nicolo-ribaudo Do you know what invokes that docs generator? |
I split utils.js into one file per function to match the style of the current utils that existed in the babel-types scripts directory.
I've moved the docs generator & utils into babel-types, now I just need to know if there is anything dependent on the docs generator script that needs updating. |
Does anything else need to happen before this is merged? |
I'm waiting for another review, but I'll merge this PR before the next release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As an aside, we need to get the generated types docs back on the website soon (babel/website#1680).
Thank you! |