Logan Smyth
1e12bb6a23
Add more types around descriptor processing.
2017-10-05 21:52:05 -04:00
Logan Smyth
35312dc3d2
Track options on the plugin instance to avoid array pair usage.
2017-10-02 14:15:40 -07:00
Logan Smyth
f9bac2a358
Implement caching of plugins/presets/options
2017-10-02 14:09:59 -07:00
rouzbeh84
aaeebfaf00
inlines babel-messages on the following files:
...
option-manager.js... /babel-core/src/config/
build-external-helpers.js... /packages/babel-core/src/tools/
index.js... /packages/babel-generator/src
2017-09-30 02:19:32 -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
048a5b8021
Reenable Flow in option-manager
2017-09-27 16:37:45 -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
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
Henry Zhu
66ec5263a4
Use Yarn Workspaces ( #6056 )
...
* update lerna and lerna-changelog
* Lerna: enable yarn, yarn workspaces [skip ci]
* use older version of Babel since it matches on semver (cannot be the same version)
* install yarn version
* revert node engine change
* update flow
* circle ci on 8
* update lock
2017-08-05 14:48:15 -04:00
Brian Ng
e4b35f680d
Run prettier
2017-06-27 12:15:00 -05:00
Logan Smyth
0eae6a432c
Remove merge helper and add more type declarations. ( #5649 )
2017-04-18 19:08:39 -07:00
Logan Smyth
6af8e64711
Typecheck much more of the config loading process ( #5642 )
...
* Add type declarations for micromatch.
* Enable Flowtype on all config loading.
* Remove unneeded comments.
2017-04-18 09:28:18 -07:00
Logan Smyth
248c240998
Use clearer function name.
2017-04-10 10:01:01 -07:00
Logan Smyth
d7e10a3adc
Misc refactoring of OptionManager.
2017-04-10 10:01:01 -07:00
Logan Smyth
d16991054e
Pass the config through mergeOptions.
2017-04-10 10:01:01 -07:00
Logan Smyth
e13320ef73
Separate plugin/preset loading and plugin/preset evaluation.
2017-04-10 10:01:01 -07:00
Logan Smyth
adb903fd4b
Standardlize plugin/preset result object.
2017-04-10 10:01:01 -07:00
Logan Smyth
75847306fd
Expose passes as a first-class output of OptionManager.
2017-04-10 10:01:01 -07:00
Logan Smyth
1fecf286c6
Avoid the onResolve callback.
2017-04-10 10:01:01 -07:00
Logan Smyth
ac5c13c1c8
Move OptionManager statics to be module functions to the lack of sideeffects clearer.
2017-04-10 10:01:01 -07:00
Logan Smyth
258e82ca13
Expose a function rather than a class from option-manager.
2017-04-10 10:01:01 -07:00
Logan Smyth
ded4ca48cd
Move .inherits handling to OptionManager.
2017-04-10 10:01:01 -07:00
Logan Smyth
d39400c9d5
Separate config/plugin loading from config processing. ( #5563 )
2017-04-04 14:48:48 -07:00
Logan Smyth
3c63431c7e
Move config loading helpers into config folder.
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
Logan Smyth
b71569ff6c
Remove unneeded util.js file.
2017-03-17 00:03:59 -07:00
Logan Smyth
12a2124d16
Move the deeply nested option logic to a toplevel folder.
2017-03-17 00:03:58 -07:00