2357 Commits

Author SHA1 Message Date
Aaron Ang
edf2c76d63 Improve options documentation for babel-plugin-transform-runtime (#5401) 2017-03-16 10:37:50 -05:00
Sergey Bekrin
bf1b6ace53 update coffescript reference in readme [skip ci] (#5475) 2017-03-16 10:35:40 -05:00
Diogo Franco
2c0907acdc Merge pull request #5442 from babel/babel-runtime-with-builtins
Add useBuiltIns and useESModules options to transform-runtime
2017-03-15 11:47:35 +09:00
Logan Smyth
dd1bc3b183 Resolve programmatic/CLI arguments from cwd, not file being compiled. (#5466) 2017-03-14 16:56:00 -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
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
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
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
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
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
Henry Zhu
11e54a6bd3 v7.0.0-alpha.1 2017-03-02 16:04:47 -05:00
Henry Zhu
67ed224df0 update babel-types readme [skip ci] 2017-03-02 15:58:12 -05:00
Henry Zhu
b4b03d48fa remove undeclared plugin [skip ci] (#5407) 2017-03-02 15:53:02 -05:00
Henry Zhu
0847ae055d cleanup + update to lerna 38 (#5406) 2017-03-02 15:04:54 -05:00
Aaron Ang
4ad0caaa66 Merge pull request #5400 from JPeer264/fix/usage
[doc] Fix: comments in usage w/ options
2017-03-01 12:50:29 -08:00
JPeer264
b9c0f364c4 [skip ci] Fix: comments in usage w/ options 2017-03-01 21:35:51 +01:00
Henry Zhu
b363e7b199 add @danez's changes 2017-03-01 12:54:22 -05:00
Henry Zhu
2b9c3735fd update to babylon beta 4 2017-03-01 12:38:19 -05:00
Henry Zhu
3ff77a61e4 Update babylon beta 3 (#5394)
* Update babylon to v7-beta.3

* convert RestProperty/SpreadProperty to RestElement/SpreadElement

* add virtual types to make it easier to upgrade
2017-02-28 16:58:19 -05:00
Daniel Tschinder
6d6cdf6baf [7.0] Allow presets to be objects (#5385)
* Allow presets to be objects

* Improve logic to detect preset format
2017-02-28 16:39:08 -05:00
Logan Smyth
9acae54a29 Merge pull request #5376 from loganfsmyth/no-pipeline
[7.0] Remove the unneeded Pipeline class.
2017-02-27 12:33:11 -08:00
Henry Zhu
696e63c58b Merge pull request #5380 from babel/extra-do + 6.x commits 2017-02-25 18:48:27 -05:00
Henry Zhu
6529cb5f01 babel-generator: add another do test 2017-02-25 18:39:18 -05:00
Alex Kuzmenko
01918c68c1 Improve babel-generator's code coverage (#5338) 2017-02-25 13:26:29 -05:00
Sven SAULEAU
eb9d699ce9 style: [skip ci] lint code snippets in md (#5379) 2017-02-25 12:19:29 -05:00
Logan Smyth
f3e92010c5 Remove the unneeded Pipeline class. 2017-02-24 13:37:33 -08:00
Henry Zhu
d33d023594 Merge remote-tracking branch 'origin/master' into merge-master 2017-02-23 18:54:15 -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
Zachary Miller
6614a63b3b Wrap some generated do expressions in parens (#5339) 2017-02-22 07:50:58 -05:00
JeongHoon Byun (aka Outsider)
2de4b08c51 Add test for passing arguments to babel-node (#5163) (#5342) 2017-02-21 22:14:26 -05:00