Skip to content

Commit b6fedfa

Browse files
committed
Update link checking to use latest hyperlink. Replaces #1582
1 parent 8bb23dd commit b6fedfa

File tree

2 files changed

+4
-53
lines changed

2 files changed

+4
-53
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"lint:markdown": "markdownlint --config ./.markdownlint.json *.md ./src/content/**/*.md --ignore './src/content/**/_*.md'",
3838
"lint:social": "alex . -q",
3939
"lint:prose": "cp .proselintrc ~/ && proselint src/content",
40+
"linkcheck": "hyperlink -r dist/index.html --canonicalroot https://webpack.js.org/ --skip support__ --skip sidecar.gitter.im --todo img.shields.io --todo external-redirect | tee master.tap | tap-spot",
4041
"sitemap": "cd dist && sitemap-static --prefix=https://webpack.js.org/ > sitemap.xml",
4142
"serve": "npm run build && sirv start ./dist --port 4000",
4243
"deploy": "gh-pages -d dist"
@@ -71,12 +72,12 @@
7172
"fontgen-loader": "git://github.com/EugeneHlushko/fontgen-loader.git#a26a73843900ca4b518853952b1fc3c816103512",
7273
"front-matter": "^2.3.0",
7374
"gh-pages": "^1.0.0",
75+
"github": "^10.0.0",
7476
"html-webpack-plugin": "^2.30.1",
7577
"html-webpack-template": "^6.1.0",
76-
"github": "^10.0.0",
7778
"http-server": "^0.10.0",
7879
"husky": "^1.0.0-rc.8",
79-
"hyperlink": "^3.0.1",
80+
"hyperlink": "github:Munter/hyperlink#070916d",
8081
"loader-utils": "^1.1.0",
8182
"lodash": "^4.17.4",
8283
"markdownlint": "^0.6.0",
@@ -106,7 +107,7 @@
106107
"sitemap-static": "^0.4.2",
107108
"static-site-generator-webpack-plugin": "^3.4.1",
108109
"style-loader": "^0.18.2",
109-
"tap-parser": "^6.0.1",
110+
"tap-spot": "^1.1.1",
110111
"through2": "^2.0.3",
111112
"uglifyjs-webpack-plugin": "^1.1.6",
112113
"webpack": "^3.10.0",

src/scripts/check-links.js

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

0 commit comments

Comments
 (0)