Logan Smyth
c8835cbbee
Remove unnecessary Store subclass.
2017-09-29 11:05:57 -07:00
Logan Smyth
1938f490b3
Move pipeline file to index.
2017-09-29 11:02:23 -07:00
Mateusz Burzyński
f0ab0f81d3
transform-es2015-template-literals doesn't have spec mode anymore, change test to use loose mode ( #6338 )
2017-09-29 08:00:06 -04:00
Logan Smyth
048a5b8021
Reenable Flow in option-manager
2017-09-27 16:37:45 -07:00
Justin Ridgewell
23f98a753a
Add throw expressions ( #6325 )
...
* Add throw expressions
Stage 2 proposal: https://github.com/tc39/proposal-throw-expressions
* Update babylon
* Add to stage 2
2017-09-27 16:15:44 -04:00
Logan Smyth
fc448ca8f2
Flatten, process, and cache incoming options by key.
2017-09-27 11:20:27 -07:00
Henry Zhu
c4696a5bd2
add docs for other import syntax [skip ci] ( #6323 )
2017-09-27 10:29:51 -04:00
Logan Smyth
a599c49436
Centralize call to getEnv().
2017-09-26 22:29:48 -07:00
Logan Smyth
7455e58270
Reuse config file merge.
2017-09-26 22:29:34 -07:00
Logan Smyth
9a4b764bde
Centralize config processing in class.
2017-09-26 22:29:32 -07:00
Logan Smyth
2d7cda4d28
Remove unnecessary function.
2017-09-26 22:28:56 -07:00
Logan Smyth
073a0dc823
Split the ignore logic into its own helper class.
2017-09-26 22:28:56 -07:00
Logan Smyth
508597aadc
Merge pull request #6309 from loganfsmyth/assert-module-exports-usage
...
Support opt-in restrictions on 'module' and 'exports' usage alongside ES6 import/export.
2017-09-26 16:42:31 -07:00
Logan Smyth
0368d41441
Fix some README issues.
2017-09-26 16:22:47 -07:00
Logan Smyth
e65994e43d
Add tests for locally-declared 'exports' and 'module'.
2017-09-26 15:46:26 -07:00
Logan Smyth
b79df60fe6
Disallow usage of module/exports in ES6 modules.
2017-09-26 15:43:51 -07:00
Logan Smyth
9dfcf0f116
Split the simple-access transforms out of the module transform into a general helper.
2017-09-26 15:43:51 -07:00
Logan Smyth
0125c03303
Merge pull request #6304 from loganfsmyth/import-helper
...
Rewrite import insertion to insert import..from/require() based on module type
2017-09-26 15:39:42 -07:00
Logan Smyth
14ace422c3
Fix two small typoes.
2017-09-26 15:38:55 -07:00
Logan Smyth
f11cce1d7c
Avoid exception when instanceof is in anonymous function declaration.
2017-09-26 15:30:50 -07:00
Logan Smyth
9b0f509433
Avoid exception when typeof is in anonymous function declaration.
2017-09-26 15:30:50 -07:00
Logan Smyth
8bea5f4f16
Fix bail-out for standalone build.
2017-09-26 15:21:56 -07:00
Logan Smyth
ed6e6fd7dd
Export babel-runtime helpers as standard CommonJS.
2017-09-26 11:28:57 -07:00
Logan Smyth
5eda451fb8
Remove the unused '.addImports' API from 'babel-core'.
2017-09-26 11:28:57 -07:00
Logan Smyth
ed3603ef44
Use the imports helper in transform-runtime.
2017-09-26 11:28:57 -07:00
Logan Smyth
11715cb7af
Use the imports helper in async-to-module-method.
2017-09-26 11:28:57 -07:00
Logan Smyth
ec9754bc40
Implement a new utility module for injecting module imports.
2017-09-26 11:28:56 -07:00
Logan Smyth
84184e2ddd
Add failing test for babel-runtime import issue.
2017-09-26 11:02:36 -07:00
Logan Smyth
a1c268667a
Fix bug in helper processing.
2017-09-26 11:02:36 -07:00
Logan Smyth
d159c468b2
Factor transform-runtime import insertion.
2017-09-26 11:02:36 -07:00
Henry Zhu
a9dd7d970f
2.0.0-beta.2
2017-09-26 12:08:50 -04:00
Henry Zhu
e7aaf1f361
update to beta.2 ( #427 )
2017-09-26 12:05:13 -04:00
Henry Zhu
70547efcc1
v7.0.0-beta.2
v7.0.0-beta.2
2017-09-26 11:14:41 -04:00
Henry Zhu
195745f25f
update types readme [skip ci]
2017-09-26 11:06:03 -04:00
Brian Ng
c821d3a591
Updates for handling codemods folder ( #6279 )
...
* add codemod folder to gitignore, update build/test scripts to handle codemods, lerna config
2017-09-26 10:38:18 -04:00
Logan Smyth
5a2a5fb411
Move template object creation from core into the template transform. ( #6307 )
...
* Move template object creation into the template transform.
* use shorthand [skip ci]
2017-09-26 10:33:18 -04:00
Logan Smyth
0379060f8a
addMapping method call missing name parameter ( #6310 )
...
in mergeSourceMap, addMapping method call missing name parameter
2017-09-26 10:24:19 -04:00
Nicolò Ribaudo
8aabbbc822
Use helper-builder-react-jsx inside plugin-transform-react-inline-elements ( #6294 )
...
* Use helper-builder-react-jsx inside plugin-transform-react-inline-elements.
This avoids duplicating the logic for converting jsx elements to plain JavaScript.
* Add a comment which explains the _jsx signature, [skip ci]
so it is a little bit easier to understand what all those .splice() calls do
2017-09-26 10:15:27 -04:00
Henry Zhu
314bd31b85
update generator/babel-types printing, babylon ( #6306 )
...
* update generator printing, babylon [skip ci]
* Update babel-types for TS node types
2017-09-26 10:01:55 -04:00
Henry Zhu
4c517a8912
update readme [skip ci] ( #6305 )
2017-09-25 16:08:39 -04:00
Brian Ng
4bd9d751f4
Add minor edits to babel-helper-annotate-as-pure README [skip ci]
2017-09-25 11:00:38 -05:00
Mateusz Burzyński
413ffe6639
Extracted babel-helper-annotate-as-pure ( #6267 )
2017-09-25 17:40:51 +02:00
Brian Ng
6012c5bedb
Fix targets.browsers anchor links [skip ci]
2017-09-25 10:22:59 -05:00
Pranav Prakash
2374062bbd
Remove babel-node from babel-cli ( #6251 )
...
* Remove babel-node from babel-cli
* Use new Array instead of Array for V8 optimization
* Remove extraneous use strict clauses
* Require babel-node in babel-cli
* Remove babel-node from babel-cli
* Require babel-node in babel-cli
* Remove babel-node executable from babel-cli
* Clean up babel-node from package.json
2017-09-23 11:25:27 -07:00
Logan Smyth
b115ea5da7
Merge pull request #6280 from loganfsmyth/only-transform-modules
...
Only transform 'this'->'undefined' and inject 'use strict' if module statements are present
2017-09-23 11:24:52 -07:00
Mateusz Burzyński
d8b7bc39af
Fixed loose option of transform-es2015-parameters handling only Assig… ( #6274 )
2017-09-22 19:39:39 -04:00
Mateusz Burzyński
0f8c4dc5a1
Fixed transform-fixture-test-runner API docs [skip ci] ( #6293 )
2017-09-22 18:44:44 -04:00
Sean Zellmer
69f237b743
Fix table of contents in README ( #423 )
...
Caveat was renamed to Issues. 'Other Cool Projects' was removed.
Both happened in e4b89a1.
2017-09-22 12:50:29 -05:00
Logan Smyth
72da5e1d02
Quick fix for default import that also uses names. ( #6282 )
2017-09-21 22:26:42 -07:00
Mateusz Burzyński
9159323b1e
Skip adding explicit undefined for let declarations when it is not ne… ( #6288 )
2017-09-21 22:26:08 -07:00