commit
899daafcf4
@ -9,7 +9,6 @@ const watch = require("gulp-watch");
|
||||
const gutil = require("gulp-util");
|
||||
const gulp = require("gulp");
|
||||
const path = require("path");
|
||||
const babelConfig = require("./.babelrc");
|
||||
|
||||
const scripts = "./packages/*/src/**/*.js";
|
||||
let srcEx, libFragment;
|
||||
@ -39,7 +38,7 @@ gulp.task("build", function () {
|
||||
gutil.log("Compiling", "'" + chalk.cyan(file.path) + "'...");
|
||||
callback(null, file);
|
||||
}))
|
||||
.pipe(babel(babelConfig))
|
||||
.pipe(babel())
|
||||
.pipe(through.obj(function (file, enc, callback) {
|
||||
file._path = file.path;
|
||||
file.path = mapToDest(file.path);
|
||||
@ -67,7 +66,7 @@ gulp.task("build-watch", function () {
|
||||
gutil.log("Compiling", "'" + chalk.cyan(file._path) + "'...");
|
||||
callback(null, file);
|
||||
}))
|
||||
.pipe(babel(babelConfig))
|
||||
.pipe(babel())
|
||||
.pipe(gulp.dest(dest));
|
||||
});
|
||||
|
||||
|
||||
10
package.json
10
package.json
@ -10,13 +10,13 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"async": "^1.5.0",
|
||||
"babel-core": "7.0.0-alpha.3",
|
||||
"babel-core": "^7.0.0-alpha.6",
|
||||
"babel-eslint": "^7.0.0",
|
||||
"babel-plugin-istanbul": "^2.0.1",
|
||||
"babel-preset-env": "2.0.0-alpha.3",
|
||||
"babel-preset-flow": "7.0.0-alpha.3",
|
||||
"babel-preset-stage-0": "7.0.0-alpha.3",
|
||||
"babel-register": "7.0.0-alpha.4",
|
||||
"babel-preset-env": "^2.0.0-alpha.3",
|
||||
"babel-preset-flow": "^7.0.0-alpha.3",
|
||||
"babel-preset-stage-0": "^7.0.0-alpha.3",
|
||||
"babel-register": "^7.0.0-alpha.6",
|
||||
"browserify": "^13.1.1",
|
||||
"bundle-collapser": "^1.2.1",
|
||||
"chai": "^3.5.0",
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
"chokidar": "^1.6.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-fixtures": "7.0.0-alpha.3"
|
||||
"babel-helper-fixtures": "^7.0.0-alpha.3"
|
||||
},
|
||||
"bin": {
|
||||
"babel-doctor": "./bin/babel-doctor.js",
|
||||
|
||||
@ -1 +0,0 @@
|
||||
{}
|
||||
@ -38,6 +38,9 @@ const readDir = function (loc, filter) {
|
||||
};
|
||||
|
||||
const saveInFiles = function (files) {
|
||||
// Place an empty .babelrc in each test so tests won't unexpectedly get to repo-level config.
|
||||
outputFileSync(".babelrc", "{}");
|
||||
|
||||
Object.keys(files).forEach(function (filename) {
|
||||
const content = files[filename];
|
||||
outputFileSync(filename, content);
|
||||
|
||||
@ -41,9 +41,9 @@
|
||||
"source-map": "^0.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-fixtures": "7.0.0-alpha.3",
|
||||
"babel-helper-fixtures": "^7.0.0-alpha.3",
|
||||
"babel-helper-transform-fixture-test-runner": "^7.0.0-alpha.6",
|
||||
"babel-polyfill": "7.0.0-alpha.3",
|
||||
"babel-register": "7.0.0-alpha.3"
|
||||
"babel-polyfill": "^7.0.0-alpha.3",
|
||||
"babel-register": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1 +0,0 @@
|
||||
{}
|
||||
@ -123,7 +123,9 @@ describe("api", function () {
|
||||
});
|
||||
|
||||
it("transformFile", function (done) {
|
||||
babel.transformFile(__dirname + "/fixtures/api/file.js", {}, function (err, res) {
|
||||
babel.transformFile(__dirname + "/fixtures/api/file.js", {
|
||||
babelrc: false,
|
||||
}, function (err, res) {
|
||||
if (err) return done(err);
|
||||
assert.equal(res.code, "foo();");
|
||||
done();
|
||||
@ -131,7 +133,9 @@ describe("api", function () {
|
||||
});
|
||||
|
||||
it("transformFileSync", function () {
|
||||
assert.equal(babel.transformFileSync(__dirname + "/fixtures/api/file.js", {}).code, "foo();");
|
||||
assert.equal(babel.transformFileSync(__dirname + "/fixtures/api/file.js", {
|
||||
babelrc: false,
|
||||
}).code, "foo();");
|
||||
});
|
||||
|
||||
it("options throw on falsy true", function () {
|
||||
|
||||
@ -38,6 +38,7 @@ describe("addon resolution", function () {
|
||||
process.chdir(paths.fixtures);
|
||||
|
||||
const actual = babel.transform(fixtures.actual, {
|
||||
babelrc: false,
|
||||
filename: paths.actual,
|
||||
plugins: ["addons/plugin"],
|
||||
presets: ["addons/preset"],
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
"trim-right": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-fixtures": "7.0.0-alpha.3",
|
||||
"babylon": "7.0.0-beta.7"
|
||||
"babel-helper-fixtures": "^7.0.0-alpha.3",
|
||||
"babylon": "^7.0.0-beta.7"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,6 +10,6 @@
|
||||
],
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-plugin-syntax-async-functions": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
"babel-plugin-syntax-async-generators": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
"babel-plugin-syntax-async-functions": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,6 +14,6 @@
|
||||
"babel-types": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,6 +14,6 @@
|
||||
"babel-template": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -16,6 +16,6 @@
|
||||
"babel-template": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-plugin-syntax-do-expressions": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -15,6 +15,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -19,6 +19,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-template": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-types": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
"babel-types": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,6 +14,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3",
|
||||
"babel-plugin-syntax-dynamic-import": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3",
|
||||
"babel-plugin-syntax-dynamic-import": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-helper-replace-supers": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -16,6 +16,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-types": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
"babel-types": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
"regexpu-core": "^4.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-helper-define-map": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
"babel-helper-builder-binary-assignment-operator-visitor": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-plugin-syntax-export-extensions": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-plugin-syntax-flow": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-plugin-syntax-flow": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-plugin-syntax-function-bind": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,6 +10,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-plugin-syntax-object-rest-spread": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"lodash": "^4.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-helper-builder-react-jsx": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-plugin-syntax-jsx": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-plugin-syntax-jsx": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
"babel-plugin-syntax-jsx": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"babel-types": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
"babel-plugin-transform-regenerator": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-transform-fixture-test-runner": "7.0.0-alpha.3",
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-transform-fixture-test-runner": "^7.0.0-alpha.3",
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1 +0,0 @@
|
||||
{}
|
||||
@ -13,6 +13,6 @@
|
||||
"babel-preset-es2017": "7.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
"regenerator-runtime": "^0.10.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helpers": "7.0.0-alpha.3",
|
||||
"babel-plugin-transform-runtime": "7.0.0-alpha.3"
|
||||
"babel-helpers": "^7.0.0-alpha.3",
|
||||
"babel-plugin-transform-runtime": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"lodash": "^4.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-generator": "7.0.0-alpha.3",
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.3"
|
||||
"babel-generator": "^7.0.0-alpha.3",
|
||||
"babel-helper-plugin-test-runner": "^7.0.0-alpha.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
"to-fast-properties": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babylon": "7.0.0-beta.7"
|
||||
"babylon": "^7.0.0-beta.7"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,13 +1,10 @@
|
||||
"use strict";
|
||||
|
||||
const babel = require("../.babelrc");
|
||||
const register = require("babel-register").default;
|
||||
|
||||
register(babel);
|
||||
register({
|
||||
extensions: [".js"],
|
||||
// Only js files in the test folder but not in the subfolder fixtures.
|
||||
only: [/packages\/.+\/test\/(?!fixtures\/).+\.js$/],
|
||||
babelrc: false,
|
||||
compact: true,
|
||||
});
|
||||
|
||||
52
yarn.lock
52
yarn.lock
@ -232,15 +232,14 @@ babel-code-frame@^6.16.0, babel-code-frame@^6.22.0:
|
||||
esutils "^2.0.2"
|
||||
js-tokens "^3.0.0"
|
||||
|
||||
babel-core@7.0.0-alpha.3, babel-core@^7.0.0-alpha.3:
|
||||
version "7.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-alpha.3.tgz#423e9998c2d96c88f107e3e81cbef0c27bf2b4f2"
|
||||
babel-core@7.0.0-alpha.6, babel-core@^7.0.0-alpha.6:
|
||||
version "7.0.0-alpha.6"
|
||||
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-alpha.6.tgz#a4c59f5cd5ef0374365a37937e5c585510eed718"
|
||||
dependencies:
|
||||
babel-code-frame "7.0.0-alpha.3"
|
||||
babel-generator "7.0.0-alpha.3"
|
||||
babel-helpers "7.0.0-alpha.3"
|
||||
babel-messages "7.0.0-alpha.3"
|
||||
babel-register "7.0.0-alpha.3"
|
||||
babel-template "7.0.0-alpha.3"
|
||||
babel-traverse "7.0.0-alpha.3"
|
||||
babel-types "7.0.0-alpha.3"
|
||||
@ -682,7 +681,7 @@ babel-plugin-transform-unicode-property-regex@^2.0.0:
|
||||
babel-runtime "^6.23.0"
|
||||
regexpu-core "^4.0.4"
|
||||
|
||||
babel-preset-env@2.0.0-alpha.3:
|
||||
babel-preset-env@^2.0.0-alpha.3:
|
||||
version "2.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-2.0.0-alpha.3.tgz#49a19552ed932af51faeb22ecb5b9c6dfad6bdbb"
|
||||
dependencies:
|
||||
@ -717,13 +716,13 @@ babel-preset-env@2.0.0-alpha.3:
|
||||
electron-to-chromium "^1.2.6"
|
||||
invariant "^2.2.2"
|
||||
|
||||
babel-preset-flow@7.0.0-alpha.3:
|
||||
babel-preset-flow@^7.0.0-alpha.3:
|
||||
version "7.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-flow/-/babel-preset-flow-7.0.0-alpha.3.tgz#d868dc35d8b038d19473c79c4e813a0e68e2b6bc"
|
||||
dependencies:
|
||||
babel-plugin-transform-flow-strip-types "7.0.0-alpha.3"
|
||||
|
||||
babel-preset-stage-0@7.0.0-alpha.3:
|
||||
babel-preset-stage-0@^7.0.0-alpha.3:
|
||||
version "7.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-stage-0/-/babel-preset-stage-0-7.0.0-alpha.3.tgz#f2db6c2ec82975ca99b77c867d95d821d61e3731"
|
||||
dependencies:
|
||||
@ -755,22 +754,11 @@ babel-preset-stage-3@7.0.0-alpha.3:
|
||||
babel-plugin-transform-async-generator-functions "7.0.0-alpha.3"
|
||||
babel-plugin-transform-object-rest-spread "7.0.0-alpha.3"
|
||||
|
||||
babel-register@7.0.0-alpha.3:
|
||||
version "7.0.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-7.0.0-alpha.3.tgz#ecdb4abcf3cfe318984f202db3cab0fb2fb0c362"
|
||||
babel-register@^7.0.0-alpha.6:
|
||||
version "7.0.0-alpha.6"
|
||||
resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-7.0.0-alpha.6.tgz#adb337fdfca6d74c90d51232b5b3d8f532ca91bc"
|
||||
dependencies:
|
||||
babel-core "7.0.0-alpha.3"
|
||||
core-js "^2.4.0"
|
||||
home-or-tmp "^3.0.0"
|
||||
lodash "^4.2.0"
|
||||
mkdirp "^0.5.1"
|
||||
source-map-support "^0.4.2"
|
||||
|
||||
babel-register@7.0.0-alpha.4:
|
||||
version "7.0.0-alpha.4"
|
||||
resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-7.0.0-alpha.4.tgz#854226be7b64e13bb5cf070decc66c064ead70bf"
|
||||
dependencies:
|
||||
babel-core "7.0.0-alpha.3"
|
||||
babel-core "7.0.0-alpha.6"
|
||||
core-js "^2.4.0"
|
||||
home-or-tmp "^3.0.0"
|
||||
lodash "^4.2.0"
|
||||
@ -784,16 +772,16 @@ babel-runtime@7.0.0-alpha.3:
|
||||
core-js "^2.4.0"
|
||||
regenerator-runtime "^0.10.0"
|
||||
|
||||
babel-runtime@^6.18.0, babel-runtime@^6.22.0:
|
||||
version "6.22.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.22.0.tgz#1cf8b4ac67c77a4ddb0db2ae1f74de52ac4ca611"
|
||||
babel-runtime@^6.18.0, babel-runtime@^6.23.0:
|
||||
version "6.23.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b"
|
||||
dependencies:
|
||||
core-js "^2.4.0"
|
||||
regenerator-runtime "^0.10.0"
|
||||
|
||||
babel-runtime@^6.23.0:
|
||||
version "6.23.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b"
|
||||
babel-runtime@^6.22.0:
|
||||
version "6.22.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.22.0.tgz#1cf8b4ac67c77a4ddb0db2ae1f74de52ac4ca611"
|
||||
dependencies:
|
||||
core-js "^2.4.0"
|
||||
regenerator-runtime "^0.10.0"
|
||||
@ -2230,7 +2218,7 @@ growl@1.9.2:
|
||||
|
||||
gulp-babel@babel/gulp-babel#b7-alpha:
|
||||
version "6.1.2"
|
||||
resolved "https://codeload.github.com/babel/gulp-babel/tar.gz/acac269c10e0f6d6e57be3b45f3c07e8d3a84c9a"
|
||||
resolved "https://codeload.github.com/babel/gulp-babel/tar.gz/40804d9d3f02e5147802a9e8d4bd8100ddb9c3ae"
|
||||
dependencies:
|
||||
babel-core "^7.0.0-alpha.3"
|
||||
gulp-util "^3.0.0"
|
||||
@ -3911,11 +3899,7 @@ resolve@1.1.7:
|
||||
version "1.1.7"
|
||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
|
||||
|
||||
resolve@^1.1.3, resolve@^1.1.4, resolve@^1.1.6, resolve@^1.1.7:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.2.0.tgz#9589c3f2f6149d1417a40becc1663db6ec6bc26c"
|
||||
|
||||
resolve@^1.3.2:
|
||||
resolve@^1.1.3, resolve@^1.1.4, resolve@^1.1.6, resolve@^1.1.7, resolve@^1.3.2:
|
||||
version "1.3.2"
|
||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.2.tgz#1f0442c9e0cbb8136e87b9305f932f46c7f28235"
|
||||
dependencies:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user