Skip to content

Commit 9482255

Browse files
authored
Merge pull request #304 from johnnyreilly/master
Upgraded dependencies (including babel 5 -> 6) #197
2 parents ceee6e7 + 0c21a07 commit 9482255

File tree

19 files changed

+51
-52
lines changed

19 files changed

+51
-52
lines changed

package.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,21 @@
3232
"colors": "^1.0.3",
3333
"enhanced-resolve": "^0.9.0",
3434
"loader-utils": "^0.2.6",
35-
"object-assign": "^2.0.0",
35+
"object-assign": "^4.1.0",
3636
"semver": "^5.0.1"
3737
},
3838
"devDependencies": {
39-
"babel-core": "^5.8.20",
40-
"babel-loader": "^5.3.2",
39+
"babel": "^6.0.0",
40+
"babel-core": "^6.0.0",
41+
"babel-loader": "^6.0.0",
42+
"babel-preset-es2015": "^6.0.0",
43+
"babel-preset-react": "^6.0.0",
4144
"escape-string-regexp": "^1.0.3",
42-
"fs-extra": "^0.22.1",
43-
"glob": "^6.0.3",
45+
"fs-extra": "^0.30.0",
46+
"glob": "^7.1.1",
4447
"html-webpack-plugin": "^2.17.0",
4548
"mkdirp": "^0.5.1",
46-
"mocha": "^2.1.0",
49+
"mocha": "^3.1.0",
4750
"rimraf": "^2.4.2",
4851
"typescript": "^2.0.3",
4952
"webpack": "^1.11.0"

test/es6resolveParent/expectedOutput-2.0/bundle.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,9 @@
5252

5353
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5454

55-
var BaseComponent = function BaseComponent() {
55+
var BaseComponent = exports.BaseComponent = function BaseComponent() {
5656
_classCallCheck(this, BaseComponent);
5757
};
5858

59-
exports.BaseComponent = BaseComponent;
60-
6159
/***/ }
6260
/******/ ]);
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Asset Size Chunks Chunk Names
2-
bundle.js 1.76 kB 0 [emitted] main
3-
chunk {0} bundle.js (main) 365 bytes [rendered]
4-
[0] ./.test/es6resolveParent/index.tsx 365 bytes {0} [built]
2+
bundle.js 1.74 kB 0 [emitted] main
3+
chunk {0} bundle.js (main) 349 bytes [rendered]
4+
[0] ./.test/es6resolveParent/index.tsx 349 bytes {0} [built]

test/es6resolveParent/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
},
1111
module: {
1212
loaders: [
13-
{ test: /\.tsx?$/, loader: 'babel-loader!ts-loader' }
13+
{ test: /\.tsx?$/, loader: 'babel-loader?presets[]=es2015&presets[]=react!ts-loader' }
1414
]
1515
}
1616
}

test/html-webpack-plugin/expectedOutput-2.0/output.transpiled.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Child html-webpack-plugin for "index.html":
77
Asset Size Chunks Chunk Names
88
index.html 553 kB 0
99
chunk {0} index.html 536 kB [rendered]
10-
[0] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 550 bytes {0} [built]
11-
[1] ./~/html-webpack-plugin/~/lodash/lodash.js 535 kB {0} [built]
10+
[0] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 540 bytes {0} [built]
11+
[1] ./~/lodash/lodash.js 535 kB {0} [built]
1212
[2] (webpack)/buildin/module.js 241 bytes {0} [built]

test/html-webpack-plugin/expectedOutput-2.0/output.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Child html-webpack-plugin for "index.html":
77
Asset Size Chunks Chunk Names
88
index.html 553 kB 0
99
chunk {0} index.html 536 kB [rendered]
10-
[0] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 550 bytes {0} [built]
11-
[1] ./~/html-webpack-plugin/~/lodash/lodash.js 535 kB {0} [built]
10+
[0] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 540 bytes {0} [built]
11+
[1] ./~/lodash/lodash.js 535 kB {0} [built]
1212
[2] (webpack)/buildin/module.js 241 bytes {0} [built]

test/issue81/expectedOutput-2.0/bundle.js

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/issue81/expectedOutput-2.0/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Asset Size Chunks Chunk Names
2-
bundle.js 2.42 kB 0 [emitted] main
3-
bundle.js.map 2.51 kB 0 [emitted] main
4-
chunk {0} bundle.js, bundle.js.map (main) 896 bytes [rendered]
5-
[0] ./.test/issue81/a.ts 896 bytes {0} [built]
2+
bundle.js 2.76 kB 0 [emitted] main
3+
bundle.js.map 1.66 kB 0 [emitted] main
4+
chunk {0} bundle.js, bundle.js.map (main) 1.23 kB [rendered]
5+
[0] ./.test/issue81/a.ts 1.23 kB {0} [built]

test/issue81/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
devtool: 'source-map',
1010
module: {
1111
loaders: [
12-
{ test: /\.ts$/, loader: 'babel-loader!ts-loader' }
12+
{ test: /\.ts$/, loader: 'babel-loader?presets[]=es2015!ts-loader' }
1313
]
1414
}
1515
}

0 commit comments

Comments
 (0)