1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 12:51:52 +02:00

Replace broken-link-checker with linkinator

This commit is contained in:
XhmikosR
2020-01-22 17:24:11 +02:00
parent 61276d0881
commit 906a5de548
3 changed files with 945 additions and 698 deletions

View File

@@ -81,10 +81,6 @@ jobs:
BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}"
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
- name: Run Link Checker
run: npm run check-broken-links
if: matrix.node == 10
- name: Run Coveralls
uses: coverallsapp/github-action@master
if: matrix.node == 10

1629
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -19,10 +19,7 @@
],
"scripts": {
"start": "npm-run-all --parallel watch docs-serve",
"blc": "blc --exclude-external --filter-level 3 --follow --get --ordered --recursive --host-requests 4 --input http://localhost:3000/",
"http-server": "http-server --silent -p 3000",
"bundlesize": "bundlesize",
"check-broken-links": "npm-run-all --parallel --race \"http-server -- _gh_pages/\" blc",
"css": "npm-run-all css-compile css-prefix css-minify css-copy",
"css-copy": "cross-env-shell shx mkdir -p site/docs/$npm_package_version_short/dist/ && cross-env-shell shx cp -r dist/css/ site/docs/$npm_package_version_short/dist/",
"css-main": "npm-run-all css-lint css-compile-main css-prefix-main css-minify-main css-copy",
@@ -69,7 +66,9 @@
"docs-compile": "bundle exec jekyll build",
"docs-production": "cross-env JEKYLL_ENV=production npm run docs-compile",
"docs-netlify": "cross-env JEKYLL_ENV=netlify npm run docs-compile",
"docs-lint": "node build/vnu-jar.js",
"docs-linkinator": "linkinator _gh_pages --recurse --silent --skip \"^(?!http://localhost)\"",
"docs-vnu": "node build/vnu-jar.js",
"docs-lint": "npm-run-all --parallel docs-vnu docs-linkinator",
"docs-serve": "bundle exec jekyll serve",
"docs-serve-only": "npm run docs-serve -- --skip-initial-build --no-watch",
"update-deps": "ncu -u -x \"jquery,karma-browserstack-launcher,qunit,sinon\" && npm update && bundle update && cross-env-shell echo Manually update \\\"site/docs/$npm_package_version_short/assets/js/vendor/\\\"",
@@ -116,7 +115,6 @@
"autoprefixer": "^9.7.4",
"babel-eslint": "^10.1.0",
"babel-plugin-istanbul": "^6.0.0",
"broken-link-checker": "^0.7.8",
"bundlesize": "^0.18.0",
"clean-css-cli": "^4.3.0",
"cross-env": "^7.0.2",
@@ -124,7 +122,6 @@
"find-unused-sass-variables": "^1.0.5",
"glob": "^7.1.6",
"hammer-simulator": "0.0.1",
"http-server": "^0.12.1",
"ip": "^1.1.5",
"jquery": "^3.4.1",
"karma": "^4.4.1",
@@ -135,6 +132,7 @@
"karma-firefox-launcher": "^1.3.0",
"karma-qunit": "^4.0.0",
"karma-sinon": "^1.0.5",
"linkinator": "^2.0.3",
"node-sass": "^4.13.1",
"nodemon": "^2.0.2",
"npm-run-all": "^4.1.5",