rename misc transformers

This commit is contained in:
Sebastian McKenzie
2015-01-24 15:20:23 +11:00
parent 89a3206553
commit b938e1aece
34 changed files with 15 additions and 17 deletions

View File

@@ -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`

View File

@@ -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"),

View File

@@ -0,0 +1,4 @@
{
"noCheckAst": true,
"optional": ["asyncToGenerator"]
}

View File

@@ -0,0 +1,4 @@
{
"optional": ["bluebirdCoroutines"],
"noCheckAst": true
}

View File

@@ -1,4 +0,0 @@
{
"noCheckAst": true,
"optional": ["misc.asyncToGenerator"]
}

View File

@@ -1,4 +0,0 @@
{
"optional": ["misc.bluebirdCoroutines"],
"noCheckAst": true
}

View File

@@ -1,4 +0,0 @@
{
"optional": ["misc.selfContained"],
"experimental": true
}

View File

@@ -0,0 +1,4 @@
{
"optional": ["selfContained"],
"experimental": true
}