Skip to content

Commit

Permalink
upgrade deps / exclude "built at" from stats
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyreilly committed Apr 7, 2018
1 parent cf17def commit 5e4b5cc
Show file tree
Hide file tree
Showing 116 changed files with 71 additions and 135 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"precommit": "lint-staged"
},
"lint-staged": {
"*.{ts,md}": [
"src/**/*.{ts,md}": [
"prettier --write",
"git add"
]
Expand Down Expand Up @@ -51,7 +51,7 @@
},
"devDependencies": {
"@types/micromatch": "^3.1.0",
"@types/node": "^9.4.0",
"@types/node": "^9.6.2",
"@types/semver": "^5.4.0",
"babel": "^6.0.0",
"babel-core": "^6.0.0",
Expand All @@ -63,7 +63,7 @@
"escape-string-regexp": "^1.0.3",
"fs-extra": "^5.0.0",
"glob": "^7.1.1",
"html-webpack-plugin": "^3.0.6",
"html-webpack-plugin": "^3.2.0",
"husky": "^0.14.3",
"jasmine-core": "^2.5.2",
"karma": "^2.0.0",
Expand All @@ -75,9 +75,9 @@
"lint-staged": "^7.0.0",
"mkdirp": "^0.5.1",
"mocha": "^5.0.0",
"prettier": "^1.10.2",
"prettier": "^1.11.1",
"rimraf": "^2.6.2",
"typescript": "^2.7.2",
"webpack": "^4.0.0"
"webpack": "^4.5.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:14:55
Asset Size Chunks Chunk Names
bundle.js 3.37 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:14:50
Asset Size Chunks Chunk Names
bundle.js 3.37 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:14:57
Asset Size Chunks Chunk Names
bundle.js 3.37 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:14:53
Asset Size Chunks Chunk Names
bundle.js 3.37 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-2-11 17:50:53
Built at: 2018-4-7 18:30:32
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:15:04
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:15:11
Built at: 2018-4-7 18:30:42
Asset Size Chunks Chunk Names
bundle.js 4.04 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:15:10
Asset Size Chunks Chunk Names
bundle.js 4.04 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:15:16
Asset Size Chunks Chunk Names
bundle.entry1.js 2.81 KiB entry1 [emitted] entry1
bundle.entry2.js 3.32 KiB entry2 [emitted] entry2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:15:19
Asset Size Chunks Chunk Names
bundle.entry1.js 2.82 KiB entry1 [emitted] entry1
bundle.entry2.js 3.32 KiB entry2 entry2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:15:26
Built at: 2018-4-7 18:31:01
Asset Size Chunks Chunk Names
bundle.js 3.26 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:15:25
Asset Size Chunks Chunk Names
bundle.js 3.26 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:15:33
Built at: 2018-4-7 18:31:15
Asset Size Chunks Chunk Names
bundle.js 3.93 KiB main [emitted] main
bundle.js.map 2.69 KiB main [emitted] main
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-4-7 18:19:38
Asset Size Chunks Chunk Names
bundle.js 3.93 KiB main [emitted] main
bundle.js.map 2.69 KiB main [emitted] main
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:15:41
Built at: 2018-4-7 18:31:28
Asset Size Chunks Chunk Names
bundle.js 3.62 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:15:40
Asset Size Chunks Chunk Names
bundle.js 3.62 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:15:52
Built at: 2018-4-7 18:31:40
Asset Size Chunks Chunk Names
bundle.js 3.87 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
1 change: 0 additions & 1 deletion test/comparison-tests/basic/expectedOutput-2.8/output.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:15:46
Asset Size Chunks Chunk Names
bundle.js 3.87 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:15:55
Asset Size Chunks Chunk Names
bundle.js 3.87 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:15:49
Asset Size Chunks Chunk Names
bundle.js 3.87 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:15:57
Built at: 2018-4-7 18:31:45
Asset Size Chunks Chunk Names
bundle.js 3.87 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:15:51
Asset Size Chunks Chunk Names
bundle.js 3.87 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) {
/******/ var chunkIds = data[0];
/******/ var moreModules = data[1]
/******/ var moreModules = data[1];
/******/
/******/ // add "moreModules" to the modules object,
/******/ // then flag all "chunkIds" as loaded and fire callback
Expand Down Expand Up @@ -87,7 +87,7 @@
/******/ var script = document.createElement('script');
/******/
/******/ script.charset = 'utf-8';
/******/ script.timeout = 120000;
/******/ script.timeout = 120;
/******/
/******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Built at: 2018-4-7 18:31:52
Asset Size Chunks Chunk Names
bundle.js 8.12 KiB main [emitted] main
0.bundle.js 592 bytes 0 [emitted]
Entrypoint main = bundle.js
[./a.ts] 36 bytes {main} [built]
[./app.ts] 589 bytes {main} [built]
[./b.ts] 36 bytes {main} [built]
[./c.ts] 36 bytes {0} [built]
[./d.ts] 36 bytes {0} [built]
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Built at: 2018-3-18 09:16:04
Asset Size Chunks Chunk Names
bundle.js 8.13 KiB main [emitted] main
bundle.js 8.12 KiB main [emitted] main
0.bundle.js 592 bytes 0 [emitted]
Entrypoint main = bundle.js
[./a.ts] 36 bytes {main} [built]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Built at: 2018-4-7 18:31:57
Asset Size Chunks Chunk Names
bundle.js 2.92 KiB main [emitted] main
Entrypoint main = bundle.js
[./app.ts] 149 bytes {main} [built] [failed] [2 errors]

ERROR in ./app.ts
Module parse failed: Unexpected token (2:1)
You may need an appropriate loader to handle this file type.
| var a;
| == 0;
|

ERROR in app.ts
./app.ts
[tsl] ERROR in app.ts(1,7)
TS1005: ',' expected.
1 change: 0 additions & 1 deletion test/comparison-tests/colors/expectedOutput-2.8/output.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:16:10
Asset Size Chunks Chunk Names
bundle.js 2.92 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:16:14
Asset Size Chunks Chunk Names
bundle.js 3.06 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
3 changes: 2 additions & 1 deletion test/comparison-tests/create-and-execute-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ function storeStats(stats, testState, paths, outputs, patch, options) {
});
stats.compilation.assets = newAssets;

var statsString = stats.toString({ timings: false, version: false, hash: false })
var statsString = stats.toString({ timings: false, version: false, hash: false, builtAt: false })
.replace(/^Built at: .+$/gm, '')
.replace(new RegExp(regexEscape(paths.testStagingPath + path.sep), 'g'), '')
.replace(new RegExp(regexEscape(rootPath + path.sep), 'g'), '')
.replace(new RegExp(regexEscape(rootPath), 'g'), '')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:16:27
Built at: 2018-4-7 18:32:15
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:16:21
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:16:29
Built at: 2018-4-7 18:32:18
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:16:24
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:16:32
Built at: 2018-4-7 18:32:20
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:16:26
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:16:43
Built at: 2018-4-7 18:32:33
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:16:38
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:16:46
Built at: 2018-4-7 18:32:35
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:16:40
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Built at: 2018-3-18 09:16:48
Built at: 2018-4-7 18:32:38
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:16:43
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:16:53
Asset Size Chunks Chunk Names
bundle.js 2.81 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:16:53
Asset Size Chunks Chunk Names
bundle.js 2.81 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import dep = require("./sub/dep");
import dep = require('./sub/dep');
declare class Test extends dep {
doSomething(): void;
doSomething(): void;
}
export = Test;
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-4-7 18:20:03
Asset Size Chunks Chunk Names
bundle.js 4.08 KiB main [emitted] main
app.d.ts 110 bytes [emitted]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare class Test {
doSomething(): void;
doSomething(): void;
}
export = Test;
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:03
Asset Size Chunks Chunk Names
bundle.js 3.22 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:06
Asset Size Chunks Chunk Names
bundle.js 3.22 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:08
Asset Size Chunks Chunk Names
bundle.js 3.22 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:19
Asset Size Chunks Chunk Names
bundle.js 3.6 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:15
Asset Size Chunks Chunk Names
bundle.js 3.6 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:21
Asset Size Chunks Chunk Names
bundle.js 3.6 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:18
Asset Size Chunks Chunk Names
bundle.js 3.6 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-4-7 18:02:50
Asset Size Chunks Chunk Names
bundle.js 3.37 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-4-7 18:02:49
Asset Size Chunks Chunk Names
bundle.js 3.37 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:32
Asset Size Chunks Chunk Names
bundle.js 2.92 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
1 change: 0 additions & 1 deletion test/comparison-tests/errors/expectedOutput-2.8/output.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:32
Asset Size Chunks Chunk Names
bundle.js 2.92 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:37
Asset Size Chunks Chunk Names
bundle.js 2.8 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
1 change: 0 additions & 1 deletion test/comparison-tests/es3/expectedOutput-2.8/output.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:37
Asset Size Chunks Chunk Names
bundle.js 2.8 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Built at: 2018-3-18 09:17:43
Asset Size Chunks Chunk Names
bundle.js 2.83 KiB main [emitted] main
Entrypoint main = bundle.js
Expand Down
Loading

0 comments on commit 5e4b5cc

Please sign in to comment.