Skip to content

Commit 0f0fbba

Browse files
committed
Updated local linkchecker NPM task, added variant that works on Windows
1 parent 8bc0acf commit 0f0fbba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"preview": "astro preview",
2222
"astro": "astro",
2323
"validateredirects": "cd _to-migrate/urls && node test-urls.js",
24-
"linkchecker": " npm run build && lychee --skip-missing --no-progress --max-concurrency 16 --exclude-loopback --require-https --exclude sample.duendesoftware.com --exclude docs.duendesoftware.com --exclude sitemap --exclude github --root-dir \"$PWD/dist\" dist/**",
24+
"linkchecker": "npm run build && lychee --skip-missing --no-progress --max-concurrency 16 --accept 200,429 --exclude-path dist/llms.txt --exclude-path dist/llms-full.txt --exclude-path dist/llms-small.txt --exclude-loopback --require-https --exclude sample.duendesoftware.com --exclude docs.duendesoftware.com --exclude sitemap --exclude github --root-dir \"$PWD/dist\" dist/**",
25+
"linkchecker-win": "npm run build && lychee --skip-missing --no-progress --max-concurrency 16 --accept 200,429 --exclude-path dist/llms.txt --exclude-path dist/llms-full.txt --exclude-path dist/llms-small.txt --exclude-loopback --require-https --exclude sample.duendesoftware.com --exclude docs.duendesoftware.com --exclude sitemap --exclude github --root-dir \"%CD%/dist\" ./dist",
2526
"postinstall": "patch-package"
2627
},
2728
"dependencies": {

0 commit comments

Comments
 (0)