7924 Commits

Author SHA1 Message Date
Logan Smyth
bf4664b430 Invert the resolution order of config-chain to process higher-priority items first. 2017-03-14 13:39:57 -07:00
Logan Smyth
dcb0f91f38 Ignore files if they don't match only OR they do match ignore. 2017-03-14 13:39:57 -07:00
Logan Smyth
738bd54bfb Move OptionManager calls out of 'new File'. 2017-03-14 13:39:57 -07:00
Logan Smyth
83356abd92 Centralize transform API functions. 2017-03-14 13:39:56 -07:00
Logan Smyth
c1be6a36c4 Delete Logger class. 2017-03-14 13:39:56 -07:00
Logan Smyth
188fe105c2 Move option-defaulting to option-manager. 2017-03-14 13:30:24 -07:00
Logan Smyth
540f9b2ad6 Remove the nonstandard basename option. 2017-03-14 13:30:24 -07:00
Logan Smyth
2642c2c2df Merge pull request #5463 from loganfsmyth/strict-args
More strictly parse configs and explicitly handle arguments in babel-cli
2017-03-14 10:21:32 -07:00
Nitin Tulswani
8c1cd177b2 added examples for transforms. [skip ci] (#5393) 2017-03-14 09:43:51 -05:00
Sven SAULEAU
0bc802cf1b Merge pull request #5448 from xtuc/feat-expose-env-core
Export Babel's environment
2017-03-14 12:50:21 +01:00
Logan Smyth
5b50b73d8b Remove config.js file in favor of config code. 2017-03-13 11:06:46 -07:00
Logan Smyth
4f72232ca9 Move option parsing to babel-cli. 2017-03-13 11:06:46 -07:00
Logan Smyth
2c564a6973 Move babel config descriptions to babel-cli. 2017-03-13 00:06:01 -07:00
Logan Smyth
0c0f090a98 Get rid of circular dependencies in babel cli script. 2017-03-13 00:00:56 -07:00
Henry Zhu
523a41b25e v6.24.0 changelog [skip ci] 2017-03-12 22:23:51 -04:00
Henry Zhu
71e4336f65 v6.24.0 2017-03-12 22:18:08 -04:00
Henry Zhu
a8cf9079a8 changelog for 6.24.0 [skip ci] (#5452) 2017-03-12 22:03:19 -04:00
Henry Zhu
b78fc9b4d0 Keep parentheses for logical expression when in await expression (fix #5428) (#5433) (#5453) 2017-03-12 21:40:38 -04:00
Aaron Ang
2bb6dff00a
Use absolute paths in Babel's CONTRIBUTING.md (#5431) 2017-03-12 20:31:58 -05:00
Sven SAULEAU
c00ffb83be Merge pull request #5029 from xtuc/fix-require-debug
Require debug module directly
2017-03-12 21:23:56 +01:00
Seth Bergman
3d52d30e49 Fixed broken links in README.md [skip ci] (#5449)
* Fixed broken links in README.md

- [plugins](https://github.com/babel/babel/blob/master/docs/plugins) => [plugins](https://babeljs.io/docs/plugins/)
- [presets](https://github.com/babel/babel/blob/master/docs/plugins/#presets) => [presets](https://babeljs.io/docs/plugins/preset-latest/)

* Corrected the presets link [skip-ci]

Changed to:
```
[presets](https://babeljs.io/docs/plugins/#presets)
```
2017-03-12 00:24:57 -08:00
Sven SAULEAU
d328af0aec
feat: export env getter 2017-03-11 20:40:23 +01:00
Sven SAULEAU
8744303f06
Merge branch '7.0' into fix-require-debug 2017-03-11 12:17:04 +01:00
Diogo Franco (Kovensky)
752788f22f Add fixtures for the transform-runtime output 2017-03-11 13:36:38 +09:00
Logan Smyth
01b250a8fa Merge pull request #5430 from loganfsmyth/opts-simplify
Simplify option and plugin pass processing
2017-03-10 13:03:19 -08:00
MrSpider
5287e13817 Fix replacing function declaration in export default (fixes #4468) (#5444) 2017-03-10 11:41:03 -08:00
Aaron Ang
911b71f2c6 Use absolute paths in Babel's CONTRIBUTING.md (#5431) 2017-03-10 08:49:28 -06:00
Diogo Franco (Kovensky)
25212445ed Add new generated files to .gitignore 2017-03-10 18:53:20 +09:00
Diogo Franco (Kovensky)
8dc2176a04 Fix Node 4 parse errors 2017-03-10 16:36:20 +09:00
Diogo Franco (Kovensky)
cf5ab16ff9 Add useBuiltIns and useESModules options to transform-runtime
useBuiltIns uses versions of the helpers that do not import even
internal polyfills from core-js.

useESModules uses versions of the helpers that do not go through
transform-es2015-modules-commonjs. This allows for smaller builds in
module systems like webpack, as it doesn't need to preserve commonjs
semantics.

This includes changes to the babel-runtime build-dist script, which
will build the versions of the runtime helpers to be used by
combinations of useBuiltIns and useESModules.
2017-03-10 16:27:35 +09:00
Logan Smyth
ca71c74696 Move plugin and pass initialization into a more central location. 2017-03-09 16:13:38 -08:00
Logan Smyth
305165eda4 Remove Logger usage from options processing. 2017-03-09 16:13:38 -08:00
Henry Zhu
12eb25c06c don't show other presets in readme [skip ci] (#5438) 2017-03-09 11:00:25 -05:00
Sven SAULEAU
7c8825f6b2 Merge pull request #5418 from babel/xtuc-patch-4
Add new members
2017-03-09 16:48:06 +01:00
Aaron Ang
3d987ed6c0 Keep parentheses for logical expression when in await expression (fix #5428) (#5433) 2017-03-09 09:13:53 -05:00
Henry Zhu
230712e091 Internal: back to fixed, publish everything (#5436) 2017-03-08 22:56:00 -05:00
Henry Zhu
0553d7761d Publish
- babel-cli@7.0.0-alpha.2
 - babel-core@7.0.0-alpha.2
 - babel-helper-plugin-test-runner@7.0.0-alpha.2
 - babel-helper-transform-fixture-test-runner@7.0.0-alpha.2
 - babel-register@7.0.0-alpha.2
2017-03-08 13:08:44 -05:00
Henry Zhu
02473a72c1 Merge pull request #4892 from kaicataldo/babelrcjs
Add support for .babelrc.js files
2017-03-07 16:58:00 -05:00
Kai Cataldo
d054cd0ea8 Add support for .babelrc.js files 2017-03-07 16:44:24 -05:00
Brian Ng
0336cab757 Fix transform-object-rest-spread README [skip ci] (#5409) 2017-03-07 16:41:49 -05:00
Artem Gurzhii
6888a2c51b Code refactoring for the babel-generator (#5344)
* refactoring code for babel-generator package

* removing spaces and refactoring if statement

* fixing warnings
2017-03-07 16:41:49 -05:00
Logan Smyth
39eca84642 Use 'resolve' from npm instead of private 'module' methods. (#5416) 2017-03-07 12:42:25 -08:00
Logan Smyth
ea787a1980 Merge pull request #5427 from rwjblue/backport-modules-noInterop
Backport `noInterop` flag for modules to 6.x.
2017-03-07 12:25:16 -08:00
Robert Jackson
290995923e Add docs for strict and noInterop with es2015-modules-commonjs.
(cherry picked from commit 23de276718eda141b7a02934851256462e6b762e)
2017-03-07 14:53:01 -05:00
Robert Jackson
bc65822379 Add noInterop option to babel-plugin-transform-es2015-modules-commonjs.
The intent of this option is to toggle module interop behavior. When `true`
no `interopRequireXXX` helper invocations will be emitted.

(cherry picked from commit 0d1edb9811694d25df2ef75a1e8de773624ec6b8)
2017-03-07 14:53:01 -05:00
Logan Smyth
836dd95c44 Merge pull request #5422 from rwjblue/remove-interop-require-default-in-strict-mode
Add noInterop option to babel-plugin-transform-es2015-modules-commonjs.
2017-03-07 11:16:43 -08:00
Robert Jackson
23de276718
Add docs for strict and noInterop with es2015-modules-commonjs. 2017-03-06 20:19:38 -05:00
Robert Jackson
0d1edb9811
Add noInterop option to babel-plugin-transform-es2015-modules-commonjs.
The intent of this option is to toggle module interop behavior. When `true`
no `interopRequireXXX` helper invocations will be emitted.
2017-03-06 19:51:35 -05:00
Brian Ng
8a82cc060a Run new lint rules (#5413) 2017-03-04 10:46:01 -05:00
Sven SAULEAU
990d22a8d4 docs: [skip ci] add new members 2017-03-04 11:26:13 +01:00