Nicolò Ribaudo
8c7d4b55c9
Add plugins name ( #8769 )
...
* Add plugins name
* Add missing names found by the plugin
* Add eslint plugin
2018-11-18 23:02:58 +01:00
Nicolò Ribaudo
9aec4ad159
Add support for the new decorators proposal ( #7976 )
2018-09-07 15:58:42 +02:00
Nicolò Ribaudo
d45ee5e025
Add "decoratorsBeforeExport" option to @babel/generator ( #7948 )
...
* Add "decoratorsBeforeExport" option to @babel/generator
* Docs
2018-05-27 08:50:26 +02:00
Brian Ng
e45b58dcb1
Fix small typo with decorators legacy option [skip ci] ( #7762 )
2018-04-19 20:26:54 -05:00
Nicolò Ribaudo
29db23ed87
Remove old comment
2018-04-19 09:08:15 -05:00
Nicolò Ribaudo
96316dcf88
Add legacy option to plugin-proposal-decorators.
2018-04-19 09:08:14 -05:00
Nicolò Ribaudo
341bdab90c
Update decorators parsing ( #7719 )
...
* Update decorators parsing
This commit introduces three changes:
1) Class properties can be decorated
2) Decorators can contain arbitrary expressions, using @(...)
3) The Decorator node type has a new property, "arguments". This
makes it possible do distinguish @dec() and @(dec()), which have
different behaviors because @(dec()) is equivalent to @(dec())().
* Rename Decorator#expression to Decorator#callee
* Add test for @dec()()
2018-04-17 16:22:03 -05:00
Logan Smyth
a4795408b4
Allow plugins to assert that a specific babel version has loaded the plugin. ( #7450 )
2018-03-04 14:36:54 -08:00
Mateusz Burzyński
912bcc186d
Fix reused nodes - part 1 ( #7149 )
2018-01-29 22:59:06 +01:00
Nicolò Ribaudo
b93184e430
[decorators] Only transform declarations to expressions when needed ( #7124 )
2018-01-06 16:38:28 +01:00
Nicolò Ribaudo
9a146d01b0
[decorators] Don't transform every AssignmentExpression ( #7032 )
2017-12-15 16:17:31 -05:00
Peri Nikhil
9cc0a26694
Move helpers from 'babel-plugin-proposal-decorators' to 'babel-helpers' ( #7017 )
2017-12-13 16:08:19 +01:00
Logan Smyth
b19b66d94b
Use peerDep rather than plugin param for common APIs.
2017-11-06 11:32:47 -08:00
Henry Zhu
c41abd79a1
Rename all proposal plugins to -proposal- from -transform- ( #6570 )
2017-10-27 15:26:38 -04:00