Nicolò Ribaudo
15dfce33df
Add placeholders support to @babel/types and @babel/generator ( #9542 )
2019-03-07 11:47:39 +01:00
Daniel Tschinder
fb81e8f8b4
Make babel-standalone an ESModule and enable flow ( #9025 )
...
* Make babel-standalone an ESModule and enable flow
* autogenerate plugin list
* Make config an array
2019-03-06 14:30:43 -08:00
Ian Craig
417e72ebfd
Fix flow and TS types of babel-types is* type checks to accept null | undefined ( #9539 )
...
* babel-types is* type checks accept null | undefiend as value TS type
* Use | null | undefined instead of any, make Flow type nullable
* Also change flow types of generated src
2019-02-22 01:48:27 -08:00
Cameron Martin
778a61a3c2
[@babel/types] Moved generators related to babel-types into the babel-types package directory. ( #9245 )
2019-01-09 00:14:31 +01:00
Daniel Tschinder
4f2eacf615
chore: Fix warning when using prettier in code generators ( #9093 )
...
Also add more output to the generation
2018-11-27 19:34:11 -08:00
Devon Govett
6a8c4ab433
Make babel-types type checking functions 36% faster ( #7685 )
...
* Precompile 25% faster type checking functions
* Pre-fetch type-check function when generating NodePath methods
Additional ~11% speed improvement.
* Slightly faster assert calls
2018-04-09 15:11:04 -04:00
Brian Ng
42f66782be
Improve error message in types assert ( #7001 )
2017-12-11 09:31:56 -06:00
Nicolò Ribaudo
a2aabbd33d
Generate better builder names for JSX* and TS* ( #6967 )
...
e.g. JSXIdentifier -> jsxIdentifier.
The jSXIdentifier alias isn't removed, so this commit doesn't introduce breaking changes.
2017-12-07 12:17:40 +01:00
Daniel Tschinder
8270903ba2
Refactor @babel/types to be 100% ES-module ( #6741 )
...
This generates the dynamic functions at buildtime and also
splits the package into smaller files to avoid dependency circles.
2017-12-02 12:20:10 +01:00