Logan Smyth
1165ecc616
Update README with new Sync-suffix functions. ( #6794 )
2017-11-10 15:19:24 -08:00
Logan Smyth
432a9b5092
Allow sourceType:unambiguous as a way to tell Babylon to guess the type. ( #6789 )
...
* Allow sourceType:unambiguous as a way to tell Babylon to guess the type.
* Update some docs.
2017-11-10 15:00:06 -08:00
Logan Smyth
4a5d551370
Set babelrc:false on config load for more consistent loading.
2017-11-09 12:26:40 -08:00
Logan Smyth
2bfa2eb5cd
Apply option defaults when transforming, not up front.
2017-11-09 12:20:52 -08:00
Logan Smyth
fc7fcfac0a
Expose a clear API for plugins to override the parser/generator.
2017-11-09 10:34:12 -08:00
Logan Smyth
52d337e4d9
Move plugin object validation into plugin file.
2017-11-09 10:24:04 -08:00
Logan Smyth
98969b8a73
Standardize on Sync suffix for sync APIs (with backward-compat) ( #6780 )
2017-11-09 10:22:51 -08:00
Logan Smyth
4d7d4605b6
Centralize parserOpts and generatorOpts normalization.
2017-11-08 17:06:01 -08:00
Logan Smyth
39119f88e7
Pass explicit options list to babel-code-frame
2017-11-08 17:00:02 -08:00
Logan Smyth
6684986372
Expose an official API to access the current filename.
2017-11-08 16:48:25 -08:00
Logan Smyth
82513465ee
Pass an explicit whitelist of options down into babel-generator.
2017-11-08 16:41:33 -08:00
Henry Zhu
f76ac0b197
v7.0.0-beta.31
2017-11-03 16:03:01 -04:00
Logan Smyth
9e2828322e
Merge pull request #6556 from loganfsmyth/early-validation
...
Strictly validate Babel's options to centralize Flow refinement of datatype
2017-11-02 16:24:36 -07:00
Daniel Tschinder
3b540e3f5a
Integrate babylon into babel workflow
2017-11-01 23:26:51 +01:00
Henry Zhu
690d6465d8
v7.0.0-beta.5
2017-10-30 16:55:46 -04:00
Henry Zhu
38f984f956
v7.0.0-beta.4
2017-10-30 14:33:56 -04:00
Henry Zhu
9ac326b075
remove es20xx prefixes from plugins and rename folders ( #6575 )
2017-10-28 20:43:15 -04:00
Henry Zhu
962128c0f0
Update to babylon v7 beta.30 ( #6587 )
2017-10-28 20:01:52 -04:00
Logan Smyth
1d6cbd8dce
Standardize descriptor creation.
2017-10-25 15:55:58 -07:00
Logan Smyth
fed2a14da1
Fail if there are cycles in config files.
2017-10-25 15:55:58 -07:00
Logan Smyth
0f31ce5686
Disallow 'null' as a general blank option placeholder.
2017-10-25 15:55:58 -07:00
Logan Smyth
64abf75d1f
Perform option validation up front to avoid repeating assertions.
2017-10-25 15:55:58 -07:00
Logan Smyth
3673fbbd52
Refactor config item processing.
2017-10-25 15:55:58 -07:00
Logan Smyth
14901aa74f
Remove the .loc from config items.
2017-10-25 15:55:57 -07:00
Logan Smyth
a25942bda9
Remove unused suppressDeprecationMessages option.
2017-10-25 15:55:57 -07:00
Logan Smyth
107648cd0b
Remove unused 'mode' option.
2017-10-25 15:55:57 -07:00
Logan Smyth
0a2a0bb254
Remove the relative babel-core option.
2017-10-25 15:55:57 -07:00
Borales
416e9aba39
Providing File.has method for core/transformation package
2017-10-22 00:45:40 +02:00
Alex Jover
39d05da3ed
fix(babel-core): add missing extension to package.json dependency ( #6524 )
2017-10-21 11:46:10 +02:00
Nicolò Ribaudo
d2af56bcae
Fix helpers dependencies loading
2017-10-19 00:37:09 +02:00
Robert Rossmann
e6d44fd68e
babel-core: Pass the right err to callback in transformFile() ( #6503 )
2017-10-18 14:14:35 -07:00
Logan Smyth
1b4307205e
Limit file-based plugins/presets to only exporting functions. ( #6494 )
2017-10-18 10:17:45 -07:00
Logan Smyth
445b252bc4
Simplify dirname option in plugins/presets? ( #6436 )
2017-10-18 08:59:32 -07:00
James Kyle
5c47929983
Export File from babel-core again
2017-10-18 12:28:56 +11:00
Mateusz Burzyński
859ea4b175
Scoped: updated numerous docs with scoped packages change [skip ci]
2017-10-16 22:49:57 -04:00
Henry Zhu
c0a958098f
Scoped: update readme headers to @babel/ [skip ci]
2017-10-16 22:49:57 -04:00
Mateusz Burzyński
adfacbb270
Removed deprecated babel-core/register [skip ci]
2017-10-16 22:49:57 -04:00
Mateusz Burzyński
47fa189053
Scoped: update more babel- to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
696df10f51
Scoped: update more babel- to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
79ddf12d9d
Scoped: rename to @babel/ in readme [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
691f90a774
Scoped: change test imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
cde0054227
Scoped: change src imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
8e5e27577a
Scoped: update package.json dependencies to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
1cd564bd16
Scoped: rename package names to @babel/ [skip ci]
2017-10-16 22:49:01 -04:00
Henry Zhu
279f55cd9b
update to babylon beta.29
2017-10-16 20:10:55 -05:00
Zachary Sang
98621a6901
Removed index.js stub from packages/babel-core ( #6474 )
...
* Removed index.js stub from packages/babel-core
Added "main":"./lib/index.js" entry to package.json to replace index.js in packages/babel-core
* Fix indentation of new main.
2017-10-16 08:52:56 -07:00
Henry Zhu
94da889ab7
v7.0.0-beta.3
2017-10-15 09:12:00 -04:00
aardito2
bfa167cc21
Add additional tests for ignore/only ( #5647 )
2017-10-12 20:20:07 -05:00
Logan Smyth
d511cfc0e2
Bit more refactoring from last PR.
2017-10-05 22:33:10 -04:00
Logan Smyth
b3331c0217
Ensure that the options object always exists.
2017-10-05 22:04:09 -04:00