Logan Smyth
|
1d0a3d6772
|
Remove duplicated assertion. Covered by validate()
|
2017-11-24 19:45:14 -08:00 |
|
Logan Smyth
|
18ea5aca51
|
Expose a 'cwd' option for Babel's root options.
|
2017-11-24 19:43:25 -08:00 |
|
Logan Smyth
|
db28c18458
|
Disallow nested '.env' blocks since they are useless.
|
2017-11-24 17:45:27 -08:00 |
|
Logan Smyth
|
aa2d415507
|
Expose the envName as a programmatic and CLI option.
|
2017-11-15 11:24:39 -08:00 |
|
Logan Smyth
|
74439889d8
|
Centralize envName lookup using caching sidechannel.
|
2017-11-15 10:05:48 -08:00 |
|
Logan Smyth
|
74ea70718e
|
Allow passing an cachable 'sidechannel' object into cache handlers.
|
2017-11-15 10:05:47 -08:00 |
|
Logan Smyth
|
bbff566024
|
Use expanded caching API to simplify usage.
|
2017-11-15 09:51:13 -08:00 |
|
Logan Smyth
|
3942862a2a
|
Expose more caching flexibility for Babel's internal use.
|
2017-11-15 09:51:12 -08:00 |
|
Logan Smyth
|
44c2791849
|
Expose a function for plugins to check if async plugins are supported by the current compilation.
|
2017-11-13 11:58:31 -08:00 |
|
Logan Smyth
|
0e88156d0c
|
Add warnings to places where we might allow promises to be returned in later minors.
|
2017-11-13 11:58:30 -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
|
6684986372
|
Expose an official API to access the current filename.
|
2017-11-08 16:48:25 -08: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 |
|
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 |
|
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 |
|
Mateusz Burzyński
|
859ea4b175
|
Scoped: updated numerous docs with scoped packages change [skip ci]
|
2017-10-16 22:49:57 -04:00 |
|
Henry Zhu
|
cde0054227
|
Scoped: change src imports to @babel/ [skip ci]
|
2017-10-16 22:49:56 -04: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 |
|
Logan Smyth
|
ca4460c0b8
|
Standardize on {}|void instead of ?{} options.
|
2017-10-05 22:04:08 -04:00 |
|
Logan Smyth
|
597f1a12cf
|
Refactor loaded descriptors to allow mutation of options.
|
2017-10-05 21:58:36 -04:00 |
|
Logan Smyth
|
e01ac56b1c
|
Simplify descriptor loading.
|
2017-10-05 21:52:05 -04:00 |
|
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 |
|
Logan Smyth
|
eae76e5b89
|
Break apart the File class into multiple files and add type definitions.
|
2017-10-02 13:55:37 -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
|
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
|
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 |
|
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 |
|