rename misc transformers
This commit is contained in:
@@ -61,8 +61,6 @@ _Note: Gaps between patch versions are faulty/broken releases._
|
||||
* `methodBinding` -> `playground.methodBinding`
|
||||
* `memoizationOperator` -> `playground.memoizationOperator`
|
||||
* `objectGetterMemoization` -> `playground.objectGetterMemoization`
|
||||
* `asyncToGenerator` -> `misc.asyncToGenerator`
|
||||
* `bluebirdCoroutines` -> `misc.bluebirdCoroutines`
|
||||
* `modules` -> `es6.modules`
|
||||
* `propertyNameShorthand` -> `es6.properties.shorthand`
|
||||
* `arrayComprehension` -> `es7.comprehensions`
|
||||
|
||||
@@ -59,8 +59,8 @@ _.each({
|
||||
"playground.memoizationOperator": require("./transformers/playground/memoization-operator"),
|
||||
"playground.objectGetterMemoization": require("./transformers/playground/object-getter-memoization"),
|
||||
|
||||
"misc.asyncToGenerator": require("./transformers/misc/async-to-generator"),
|
||||
"misc.bluebirdCoroutines": require("./transformers/misc/bluebird-coroutines"),
|
||||
asyncToGenerator: require("./transformers/other/async-to-generator"),
|
||||
bluebirdCoroutines: require("./transformers/other/bluebird-coroutines"),
|
||||
|
||||
react: require("./transformers/other/react"),
|
||||
|
||||
@@ -112,7 +112,7 @@ _.each({
|
||||
// needs to be after `regenerator` due to needing `regeneratorRuntime` references
|
||||
// needs to be after `es6.forOf` due to needing `Symbol.iterator` references
|
||||
// needs to be before `es6.modules` due to dynamic imports
|
||||
"misc.selfContained": require("./transformers/misc/self-contained"),
|
||||
selfContained: require("./transformers/other/self-contained"),
|
||||
|
||||
_blockHoist: require("./transformers/_block-hoist"),
|
||||
|
||||
|
||||
4
test/fixtures/transformation/async-to-generator/options.json
vendored
Normal file
4
test/fixtures/transformation/async-to-generator/options.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"noCheckAst": true,
|
||||
"optional": ["asyncToGenerator"]
|
||||
}
|
||||
4
test/fixtures/transformation/bluebird-coroutines/options.json
vendored
Normal file
4
test/fixtures/transformation/bluebird-coroutines/options.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"optional": ["bluebirdCoroutines"],
|
||||
"noCheckAst": true
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"noCheckAst": true,
|
||||
"optional": ["misc.asyncToGenerator"]
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"optional": ["misc.bluebirdCoroutines"],
|
||||
"noCheckAst": true
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"optional": ["misc.selfContained"],
|
||||
"experimental": true
|
||||
}
|
||||
4
test/fixtures/transformation/self-contained/options.json
vendored
Normal file
4
test/fixtures/transformation/self-contained/options.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"optional": ["selfContained"],
|
||||
"experimental": true
|
||||
}
|
||||
Reference in New Issue
Block a user