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
Logan Smyth
878a7c5fdb
Add tests to test the plugin ordering. ( #5571 )
2017-03-31 18:52:58 -07:00
Logan Smyth
fa23b662c2
Add empty .babelrc for CLI tests.
2017-03-27 14:46:39 -07:00
Henry Zhu
3d74dc044f
fix ci
2017-03-27 17:26:39 -04:00
Henry Zhu
67253c5d27
babelrc false to relevant files
2017-03-27 17:19:02 -04:00
Henry Zhu
f3ef03abfd
use caret for devDeps
2017-03-27 16:32:13 -04:00
Henry Zhu
dea509377c
v7.0.0-alpha.6
2017-03-27 15:09:36 -04:00
Kai Cataldo
1f2f63ccdf
Fix: config lookup logic in babel-core ( #5550 )
...
This fixes a bug that was causing the config lookup to stop
when a package.json file was found even if it did not contain a
"babel" key.
2017-03-27 11:54:57 -07:00
Henry Zhu
7a1ccf076c
Misc ( #5545 )
...
* normalize npmignores
* fixup eslint ignore, etc
* lint
* remove unused
* rm from gitignore
* use strict
2017-03-25 21:46:16 -04:00
Henry Zhu
cff1c8db39
v7.0.0-alpha.5
2017-03-24 10:38:10 -04:00
Henry Zhu
b8cf7b89f2
keep one core-js helper file in git, remove babel-runtime from deps ( #5540 )
2017-03-24 10:36:41 -04:00
azrael25
0eb898d95b
fix babel-runtime helpers gererator ( #5539 )
2017-03-24 08:56:41 -04:00
Henry Zhu
d0b6db1901
v7.0.0-alpha.4
2017-03-23 18:06:48 -04:00
Henry Zhu
d7a77f4161
register should be a devDep
2017-03-23 18:04:46 -04:00
Logan Smyth
a498371005
Ensure the ignore regex is consistent and initialized fully. ( #5534 )
2017-03-23 17:44:03 -04:00
Henry Zhu
ab68800e06
v7.0.0-alpha.3
2017-03-23 15:49:01 -04:00
Brian Ng
c687b703ae
Ensure babel-cli tests compare generated output with out-files ( #5205 )
2017-03-23 12:06:56 -04:00
Boopathi Rajaa
c9a851a218
Cleanup traverse cache APIs ( #5494 )
2017-03-23 12:00:28 -04:00
Damien Maillard
299e51298c
Fix path.remove() leading & trailing comments sharing ( #5504 )
2017-03-23 11:55:14 -04:00
Patrick Williams
0cd541b7d8
document cache option for babel-register ( #5440 ) [skip ci]
2017-03-23 11:44:44 -04:00
Jason Julian
640515b3f6
removed unused alias in babel-runtime ( #5516 )
2017-03-22 20:03:35 -04:00
Henry Zhu
e155859b12
Merge pull request #5528 from babel/fix-babel-runtime-helpers
...
Fix babel runtime helpers
2017-03-22 20:02:29 -04:00
Artem Yavorsky
60b5409183
Bump regenerator-transform version to 0.9.11
2017-03-22 18:02:09 -05:00
Henry Zhu
26b9f9ed15
commit one helper to git to check regressions
2017-03-22 18:18:08 -04:00
Henry Zhu
483958b24d
fix runtime helpers
...
Ref f3f907bdb3 (diff-339968af11c78f10673c78c6c7568d2fR34)
2017-03-22 18:07:11 -04:00
Guy Bedford
b75d80386c
document dynamic import support ( #5457 ) [skip ci]
2017-03-22 16:55:42 -04:00
Samuel Reed
f20da57317
Fix PathHoister attaching to default parameters. ( #5415 )
...
* Fix PathHoister attaching to default parameters.
Ref: #5315
* Update hoister.js
2017-03-22 16:37:53 -04:00
Patrick Williams
b2c977a1b0
Seperate version env cache files ( #5411 )
2017-03-22 16:29:29 -04:00
jddxf
7e25dccc6e
Update babel-generator's README ( #5517 ) [skip ci]
2017-03-22 16:25:42 -04:00
Robert Jackson
c4ebc8553b
Properly preserve import ordering with AMD format. ( #5474 )
...
Previously, all "bare imports" (e.g. `import './foo';`) were moved to the
end of the array of sources. I presume this was done to remove needless
variables in the callback signature.
Unfortunately, doing this actually changes the intent of the program.
Modules should be evaluated in the order that they were in the source.
In the case of a bare import, it is quite possible that the bare import
has side effects that a later required module should see. With the current
implementation the later imported modules are evaluated before that "side
effecty" module has been evaluated.
Obviously, it is better to avoid these sorts of side effect ridden modules
but even still you could imagine a similar issue with cycles.
This change ensures that module source order is preserved in the AMD
dependencies list, and avoids making needless variables as much as possible.
2017-03-22 16:24:17 -04:00
Henry Zhu
b638c8b3eb
Transform the template literals revision proposal ( #5523 )
...
* Account for template literals revision
* extra tests
* update to babylon beta 7
* pr feedback (keep arr length the same)
2017-03-22 16:07:36 -04:00
Henry Zhu
492ee95f27
Merge pull request #5522 from babel/update-babylon
2017-03-22 10:49:29 -04:00
Sven SAULEAU
2b774f46fb
fix: handle bailed when recursive convert ( #5499 )
2017-03-22 09:18:37 +01:00
Arshabh Kumar Agarwal
a55f38b127
Changes the throw error for test in super-illegal-non-constructor-call ( #5450 )
2017-03-22 00:24:28 -04:00
Henry Zhu
ceb68f5bb7
babylon@7.0.0-beta.6
2017-03-22 00:24:00 -04:00
Henry Zhu
7d37017a5f
Merge pull request #5489 from loganfsmyth/conf-refactor
...
Misc fixes + Move babel-core config processing from transformation/file/options into top-level folder
2017-03-21 14:12:41 -04:00
Henry Zhu
4901f33423
remove unnecessary call
2017-03-21 13:03:54 -04:00
Aaron Ang
94024961ba
Update error message when importing babel-cli ( #5507 )
2017-03-19 15:59:01 -07:00
Daniel Tschinder
ae8728c146
Merge branch 'master' into 7.0
2017-03-19 14:21:00 +01:00
Diogo Franco
256fcbc58f
Treat "await" as an invalid identifier ( #4954 )
...
It is valid (outside `async` functions) in the "script" parse goal, but always invalid in the "module" parse goal.
Fixes #4952 .
2017-03-19 11:28:52 +09:00
Brian Ng
baafe486b3
Add useBuiltins and useESModules options to transform-runtime README [skip ci] ( #5481 )
2017-03-17 14:55:55 -04:00
Henry Zhu
534f621183
remove unused use of removed util class
2017-03-17 10:41:19 -04:00
Logan Smyth
a15de19888
Encapsulate config loading in config/ index file.
2017-03-17 00:04:00 -07:00
Logan Smyth
3c63431c7e
Move config loading helpers into config folder.
2017-03-17 00:03:59 -07:00
Logan Smyth
f3f907bdb3
Remove unneeded helper file.
2017-03-17 00:03:59 -07:00
Logan Smyth
7b5d4fe069
Resolve parser and generator plugins in configuration resolution.
2017-03-17 00:03:59 -07:00