Henry Zhu
fa86b2ddf0
Remove our own use of stage presets ( #8397 )
...
- also update the stage preset error message/readme's to point to the new blog post
2018-07-28 11:24:53 -04:00
Henry Zhu
c70a32ab9d
Throw when using Stage presets ( #8293 )
...
* inline stage presets into standalone, throw error with using Stage presets
2018-07-23 22:22:52 -04:00
James DiGioia
8817fcf03e
Fix stage-0/1 import of pipeline/decorators proposals ( #8317 )
...
Just default to pipeline "minimal" and true for decorators for ease of use. We are going to remove the stage presets next so it's fine since it will error when using the plugin individually later.
2018-07-16 13:02:54 -04:00
James DiGioia
f93fa28c90
Improve error messages around pipeline option ( #8279 )
2018-07-06 13:01:35 -04:00
James DiGioia
eac4c5bc17
Add proposal flag to pipeline plugin ( #8196 )
...
This is going to be required so we can add support for other proposals,
as well as later set the accepted proposal as the default.
Update stage-0 and stage-1 presets with `pipelineProposal` to thread down to
the plugin.
2018-06-28 01:19:40 +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
2679d6775c
Add "decoratorsLegacy" to presets
2018-04-19 09:08:15 -05:00
Justin Ridgewell
023f8bd1cb
Move Logical Assignment Ops to Stage 1 ( #7625 )
2018-03-25 17:49:21 +01: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
Justin Ridgewell
7e90d56024
Proposal: Logical Assignment Operators ( #7385 )
...
* Proposal: Logical Assignment Operators
https://github.com/jridgewell/proposal-logical-assignment
I'm bringing it [back](https://github.com/babel/babel/pull/516 ). 😉
* Use expectPlugin
* Add to stage 0 preset
* Add logicalAssignment missing plugin log stuff
2018-02-18 13:56:29 -05:00
Raja Sekar
c41eb0d052
Do Expression from Stage 0 to Stage 1 ( #6943 )
2017-12-02 09:02:31 -05:00
Henry Zhu
1196ec1e38
add loose/useBuiltIns option to stage presets, use it, opt babylon build ( #6733 )
...
* add loose, useBuiltIns options to presets + use loose class properties
* whitelist helpers for babylon
* use transform-for-of-as-array in babylon
2017-11-03 14:22:06 -04:00
Henry Zhu
c41abd79a1
Rename all proposal plugins to -proposal- from -transform- ( #6570 )
2017-10-27 15:26:38 -04:00
Henry Zhu
cde0054227
Scoped: change src imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Brian Ng
e4b35f680d
Run prettier
2017-06-27 12:15:00 -05:00
Brian Ng
8a82cc060a
Run new lint rules ( #5413 )
2017-03-04 10:46:01 -05:00
Daniel Tschinder
87ca6150ae
[7.0] Remove bc code from preset handling and preset-es2015 ( #5128 )
...
* Remove bc code from preset handling and preset-es2015
* Add more tests
* Only allow functions for presets
* Fix lint
2017-02-22 14:58:01 +01:00
Justin Johansson
bae59470da
Upgraded all babel-preset-xxxs but babel-preset-es2015 to export syntax
2016-09-25 12:27:32 -07:00
Justin Johansson
e16a1657ab
Align all babel-preset-xxx packages dir structures with status quo
2016-09-25 11:41:43 -07:00