Skip to content

Commit 4425275

Browse files
committed
chore: Upgrade Babel
Somewhere around @babel/*@7.8 are some weird module resolution bugs that was giving me odd errors. Upgrading fixes these. We can remove a number of dependencies from each test package, to allow module resolution to find the common dependencies in the root package.
1 parent d89333c commit 4425275

File tree

4 files changed

+2398
-1253
lines changed

4 files changed

+2398
-1253
lines changed

e2e/__projects__/basic/__snapshots__/test.js.snap

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ exports[\\"default\\"] = _default;
3434
;
3535
\\"use strict\\";
3636
Object.defineProperty(exports, \\"__esModule\\", { value: true });
37+
exports.render = void 0;
3738
var vue_1 = require(\\"vue\\");
3839
var _hoisted_1 = { class: \\"hello\\" };
3940
function render(_ctx, _cache) {
@@ -81,6 +82,7 @@ exports[\\"default\\"] = _default;
8182
;
8283
\\"use strict\\";
8384
Object.defineProperty(exports, \\"__esModule\\", { value: true });
85+
exports.render = void 0;
8486
var vue_1 = require(\\"vue\\");
8587
var _hoisted_1 = { class: \\"hello\\" };
8688
function render(_ctx, _cache) {

e2e/__projects__/basic/package.json

-6
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@
77
"scripts": {
88
"test": "jest --no-cache --coverage test.js"
99
},
10-
"dependencies": {
11-
"vue": "3.0.0-alpha.10"
12-
},
1310
"devDependencies": {
14-
"@babel/core": "^7.2.2",
15-
"@babel/preset-env": "^7.2.3",
16-
"@vue/compiler-sfc": "3.0.0-alpha.10",
1711
"babel-helper-vue-jsx-merge-props": "^2.0.3",
1812
"babel-plugin-syntax-jsx": "^6.18.0",
1913
"babel-plugin-transform-vue-jsx": "^3.7.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@vue/compiler-sfc": "3.0.0-alpha.10",
3535
"@vue/test-utils": "^1.0.0-beta.25",
3636
"babel-core": "^7.0.0-bridge.0",
37-
"babel-jest": "^23.6.0",
37+
"babel-jest": "^24.0.0",
3838
"coffeescript": "^2.3.2",
3939
"conventional-changelog": "^1.1.5",
4040
"eslint": "^5.12.0",

0 commit comments

Comments
 (0)