Gilbert
81496ab7b1
Pipeline operator
2017-09-29 19:01:18 -04:00
Logan Smyth
828aec757a
Merge pull request #6326 from loganfsmyth/preserve-config-identity
...
Preserve object identity when loading config, for improved future caching.
2017-09-29 15:36:03 -07:00
Logan Smyth
a390a92d6a
Remove unused helpers prop.
2017-09-29 15:17:12 -07:00
Logan Smyth
f20f8b164f
Remove unused module metadata collection.
2017-09-29 15:17:11 -07:00
Logan Smyth
3bac67b4b9
Remove the resolveModuleSource options.
2017-09-29 15:17:11 -07:00
Logan Smyth
8339e036bf
Remove babel.analyse and surrounding helpers.
2017-09-29 15:17:11 -07:00
Logan Smyth
655d1cc91b
Remove unused 'usedHelpers' property.
2017-09-29 15:17:10 -07:00
Logan Smyth
455cb5b8d8
Remove unused file properties.
2017-09-29 11:43:23 -07:00
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
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
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
14ace422c3
Fix two small typoes.
2017-09-26 15:38:55 -07:00
Logan Smyth
5eda451fb8
Remove the unused '.addImports' API from 'babel-core'.
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
Henry Zhu
70547efcc1
v7.0.0-beta.2
2017-09-26 11:14:41 -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
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
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
9159323b1e
Skip adding explicit undefined for let declarations when it is not ne… ( #6288 )
2017-09-21 22:26:08 -07:00
Mateusz Burzyński
88b7983e4f
Fixed asyncToGenerator helper using arrow function ( #6289 )
2017-09-21 17:09:43 -07:00
Logan Smyth
2b88e079ef
Only transform this/use strict if a module.
2017-09-20 10:19:35 -07:00
Henry Zhu
23121d2bd3
v7.0.0-beta.1
2017-09-19 16:24:07 -04:00
Henry Zhu
57584268cd
move out syntax plugins to babel/babel-archive, they don't need to be updated ( #6229 )
2017-09-19 15:19:13 -04:00
Mateusz Burzyński
4519f95a29
Fixed buildExternalHelpers tool for var and module output types ( #6260 )
2017-09-19 14:44:40 -04:00
Ajay Narain Mathur
3cdb7d7f0f
added instanceOf plugin to preset es2015 ( #6257 )
...
* added instanceOf plugin to preset es2015
* fixed test cases
2017-09-17 17:33:42 -04:00
Logan Smyth
634c750558
Ensure helpers that reference globals continue to reference the globals properly.
2017-09-12 22:15:16 -07:00
Logan Smyth
158e9fbfd7
Represent helpers as simple modules.
2017-09-12 22:15:16 -07:00
Sven SAULEAU
0c5fae2faa
Make sure source type is module when parsing .mjs ( #5700 )
...
* feat: force source type module for mjs extension
* style: fix lint
2017-09-12 20:59:00 -07:00
Logan Smyth
1e750a945c
Convert CommonJS to use new shared implementation.
2017-09-12 17:17:41 -07:00
Logan Smyth
47a254025a
Return a unique identifier node for each use.
2017-09-12 17:17:41 -07:00
Henry Zhu
1c13250807
v7.0.0-beta.0
2017-09-11 23:01:41 -04:00
Mateusz Burzyński
c47258d68c
Annotating transformed classes with #__PURE__ comment ( #6209 )
2017-09-11 11:18:37 -04:00
Lukas Geiger
b6467a68ca
Add option to define output directory relative to the input ( #5421 )
...
* Fix output directory if filename is given
* Add test for relative output path
* Add option to define output dir relative to input
* Add tests for --copy-files
* Test error handling for wrong arguments
2017-09-09 20:38:06 -04:00
Mateusz Burzyński
76161e0a73
Added new outputType - module - for build-external-helpers tool. Should help with tree-shaking story. It's strongly influenced by how the helpers are transformed by rollup-plugin-babel. ( #5916 )
2017-08-31 23:44:24 -04:00
Daniel Tschinder
ab30fa54cb
Update debug to 3.0 ( #6184 )
2017-08-31 23:30:04 -04:00
Daniel Tschinder
44f6ff5e85
Update prettier, eslint + plugins, flow, husky and lint-staged ( #6183 )
2017-08-31 22:56:29 +02:00
Henry Zhu
b82b65a31e
v7.0.0-alpha.20
2017-08-30 15:02:49 -04:00
Logan Smyth
d79a7920a1
Merge pull request #5586 from loganfsmyth/config-dependency-cycles
...
Handle cycles of plugins compiling themselves and .babelrc.js files loading themselves
2017-08-29 15:11:51 -07:00
Logan Smyth
2846e06db1
Add dependency cycle handing for plugins and config files.
2017-08-29 14:57:34 -07:00
Logan Smyth
beff7809ea
Add debug() calls for config loading.
2017-08-29 14:57:33 -07:00
Henry Zhu
0a4f1b0a6e
update babylon beta.22 ( #6167 )
2017-08-29 17:53:29 -04:00
Mateusz Burzyński
fffa604023
Fixed regenerator related fixtures
2017-08-16 10:02:33 +02:00