Skip to content

Commit 2e52e7f

Browse files
skipjackMunter
authored andcommitted
Replace check-links script with latest version of hyperlink and tap-spot reporter
fix(tests): fix build termination issues with `lint:links` refactor(tests): test out `defaultTimeout` branch refactor(tests): test out syntax error patch for hyperlink fix Update hyperlink version Use --verbose option to determine the problem Try my custom hyperlink add limit assets loading per time Change limit to 60 Remove concurrency of hyperlink Switch hyperlink to assetgraph4 feature branch The upcoming major version of Hyperlink is being built here, and we're seeing good improvements on both memory consumption and runtime Switch to node 8 on Travis Hyperlink uses Assetgraph 4, which has node 8 as a minimum version. Add extremely verbose memory output to hyperlink Update hyperlink assetgraph dependency to 4.0.5 This clears out memory leaks from javascript assets where jsdom documents were not properly closed Update hyperlink Switch to raw hyperlink tap output to see more context Update hyperlink reference to include assetgraph 4.1.1 Bring back check-links tap filtering Updated hyperlink and use new skipfilters and tap reporter Update hyperlink to version that doesn't fail on svg redirects and gives false negative content-type-mismatch errors Remove check-links.js. hyperlink --skip and tap-spot do the same Removed tap-parser dependency, which was only used in now deleted check-links script
1 parent 7339a8f commit 2e52e7f

File tree

3 files changed

+4
-53
lines changed

3 files changed

+4
-53
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ branches:
44
- develop
55
language: node_js
66
node_js:
7-
- "6"
7+
- "8"
88
script:
99
- bash ./src/scripts/deploy.sh
1010
sudo: required

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"fetch": "sh src/scripts/fetch.sh",
3333
"init:generated": "mkdirp ./generated/loaders && mkdirp ./generated/plugins ",
3434
"lint": "run-s lint:*",
35+
"lint:links": "hyperlink -r build/index.html --canonicalroot https://webpack.js.org/ --skip support__ | tap-spot",
3536
"lint:js": "eslint . --ext .js --ext .jsx",
3637
"lint:markdown": "markdownlint --config ./.markdownlint.json *.md ./src/content/**/*.md",
3738
"lint:social": "alex . -q",
@@ -67,7 +68,7 @@
6768
"github": "^10.0.0",
6869
"html-webpack-plugin": "^2.30.1",
6970
"http-server": "^0.10.0",
70-
"hyperlink": "^3.0.1",
71+
"hyperlink": "github:Munter/hyperlink#651f1e2",
7172
"loader-utils": "^1.1.0",
7273
"lodash": "^4.17.4",
7374
"markdown-loader": "^2.0.1",
@@ -89,7 +90,7 @@
8990
"sitemap-static": "^0.4.2",
9091
"style-loader": "^0.18.2",
9192
"tap-min": "^1.2.1",
92-
"tap-parser": "^6.0.1",
93+
"tap-spot": "^1.0.0",
9394
"through2": "^2.0.3",
9495
"url-loader": "^0.5.9",
9596
"webpack": "^3.10.0",

src/scripts/check-links.js

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)