Logan Smyth
c59e9f5f0e
Merge pull request #5608 from loganfsmyth/config-cache
...
Cache configs based on mtime and allow .babelrc.js functions
2017-04-17 11:43:31 -07:00
Logan Smyth
1c078e5a76
Add tests for caching API and .babelrc.js functions.
2017-04-17 11:20:34 -07:00
Henry Zhu
6a478c48fb
Deprecate: move babel-preset-latest to babel/babel-archive ( #5638 ) [skip ci]
2017-04-17 11:09:04 -04:00
Xavier Damman
28831c144d
added opencollective backers and sponsors ( #5572 ) [skip ci]
2017-04-15 12:51:31 -04:00
Logan Smyth
ad250ef10a
Merge pull request #5602 from loganfsmyth/option-manager-cleanup
...
Refactor OptionManager to be a short class with a bunch of pure helper functions.
2017-04-14 14:25:45 -07:00
Logan Smyth
ccbb2eb8d4
Disallow cache configuration after handler evaluation.
2017-04-14 14:19:20 -07:00
Logan Smyth
2774cb7d42
Allow function-based .babelrc.js files.
2017-04-13 20:17:32 -07:00
Logan Smyth
911027f289
Cache config files based on mtime rather than file content.
2017-04-13 20:17:31 -07:00
Logan Smyth
2163acd6c2
Refactor static file processing with a helper wrapper.
2017-04-13 13:23:36 -07:00
Logan Smyth
a2f334b9e9
Fix issue with #5625
2017-04-12 11:41:54 -07:00
Artem Yavorsky
3146b245ed
Test arrow function inside generator. ( #5605 )
2017-04-12 11:13:58 -07:00
Logan Smyth
d1c954b36f
Allow negation of ignore and only patterns. ( #5625 )
2017-04-12 11:10:33 -07:00
Logan Smyth
248c240998
Use clearer function name.
2017-04-10 10:01:01 -07:00
Logan Smyth
d7e10a3adc
Misc refactoring of OptionManager.
2017-04-10 10:01:01 -07:00
Logan Smyth
d16991054e
Pass the config through mergeOptions.
2017-04-10 10:01:01 -07:00
Logan Smyth
e13320ef73
Separate plugin/preset loading and plugin/preset evaluation.
2017-04-10 10:01:01 -07:00
Logan Smyth
adb903fd4b
Standardlize plugin/preset result object.
2017-04-10 10:01:01 -07:00
Logan Smyth
75847306fd
Expose passes as a first-class output of OptionManager.
2017-04-10 10:01:01 -07:00
Logan Smyth
1fecf286c6
Avoid the onResolve callback.
2017-04-10 10:01:01 -07:00
Logan Smyth
ac5c13c1c8
Move OptionManager statics to be module functions to the lack of sideeffects clearer.
2017-04-10 10:01:01 -07:00
Logan Smyth
258e82ca13
Expose a function rather than a class from option-manager.
2017-04-10 10:01:01 -07:00
Logan Smyth
86fc4fbc4f
Avoid using OptionManager statics
2017-04-10 10:01:01 -07:00
Logan Smyth
ded4ca48cd
Move .inherits handling to OptionManager.
2017-04-10 10:01:01 -07:00
Logan Smyth
2ea3338b8e
Set a basic coverage rate to avoid tiny percentage changes from 'auto'. ( #5619 )
2017-04-10 09:58:44 -07:00
Brian Ng
cd9bb7ba10
Ensure default exported classes keep entry in export table ( #5488 )
2017-04-09 16:39:15 -07:00
Erik Simmler
769eddc788
Avoid creating a new line comment when a block comment is preceded by a forward slash ( #5562 )
...
Fixes #5557
2017-04-09 16:36:18 -07:00
Daniel Kao
216cbf5bd6
Move syntax-dynamic-import to stage-3 ( #5610 )
2017-04-08 10:14:23 -04:00
Sven SAULEAU
0b917c00d6
Merge pull request #5573 from exacs/docs-babel-plugin-transform-es2015
...
Improve example of babel-plugin-transform-es2015-arrow-functions
2017-04-07 08:17:43 +02:00
Henry Zhu
2a874dff8c
fix the fixtures after PR was merged
2017-04-06 14:14:15 -04:00
Andres Suarez
f0dc710a46
Remove unnecessary returns in asyncToGenerator helper ( #5548 )
...
* Remove unnecessary returns in asyncToGenerator helper
* Reuse "then" callbacks in asyncToGenerator helpher
2017-04-06 11:40:55 -04:00
Diogo Franco
452f8f150c
Always use the native (or polyfilled) Promise in transform-async-to-generator ( #5536 )
...
* Always use the native (or polyfilled) Promise in transform-async-to-generator
Fixes #5531
* Simplify scope handling to only un-shadow the Program's Promise
Only the helper needs to see the native Promise.
2017-04-06 11:17:31 -04:00
Henry Zhu
c732f5e1d0
v7.0.0-alpha.7
v7.0.0-alpha.7
2017-04-05 17:13:26 -04:00
Henry Zhu
9acbcccff8
update issue template [skip ci] ( #5591 )
2017-04-05 15:26:26 -04:00
Brian Ng
ae0681aa3f
Merge pull request #5588 from babel/xtuc-patch-2
...
Update transform-es2015-modules-commonjs doc
2017-04-05 09:48:14 -05:00
Sven SAULEAU
beae0ff9ba
docs: [skip ci] type in plugin's name
2017-04-05 16:43:56 +02:00
Henry Zhu
8f848b4b32
add individual polyfill files ( #5584 )
...
* add individual polyfill files
* rename files
* use preset-env for the script [skip ci]
2017-04-05 10:11:58 -04:00
Logan Smyth
d39400c9d5
Separate config/plugin loading from config processing. ( #5563 )
2017-04-04 14:48:48 -07:00
Logan Smyth
9155c613cb
Change babel-register default ignore to cwd content. ( #5583 )
2017-04-04 14:47:49 -07:00
Daniel Tschinder
b2ced1d6bd
Update babylon to latest beta ( #5585 )
2017-04-04 22:32:31 +02:00
Brian Ng
7ad697cd86
Merge pull request #5580 from loganfsmyth/fix-docs
...
Remove incorrect docs.
2017-04-04 08:56:47 -05:00
Alex Rattray
348cc5eeff
Use raw value of JSXText and JSXAttribute ( #5256 )
2017-04-04 15:46:20 +02:00
Logan Smyth
5576a8942b
Remove incorrect docs.
2017-04-03 21:13:00 -07:00
Carlos Saito
abcbb07357
Do not transform const to var
...
[skip ci]
2017-04-02 18:54:10 +02:00
Carlos Saito
4276462a07
Function without renaming
...
[skip ci]
2017-04-02 18:54:10 +02:00
Carlos Saito
95c65ec1cb
Improve example of babel-plugin-transform-es2015-arrow-functions
...
[skip ci]
2017-04-02 14:27:15 +02:00
Logan Smyth
878a7c5fdb
Add tests to test the plugin ordering. ( #5571 )
2017-03-31 18:52:58 -07:00
Logan Smyth
d3497348b8
Ensure that incremental builds work with 'gulp build'. ( #5561 )
2017-03-28 15:18:12 -07:00
Henry Zhu
4bf8e4d08d
temp fix for watch, still recompiles all [skip ci]
2017-03-28 14:31:55 -04:00
Logan Smyth
0c2ac9d907
Use a standard .babelignore and babel-register. ( #5555 )
2017-03-27 21:16:09 -04:00
Henry Zhu
899daafcf4
Merge pull request #5551 from babel/fix
...
use latest babel-core
2017-03-27 18:00:11 -04:00