Skip to content

Commit ca93044

Browse files
committed
check links script
1 parent 400253c commit ca93044

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
"package": "vsce package --yarn",
223223
"tpip:report": "ts-node scripts/tpip-reporter --header docs/tpip-header.md docs/third-party-licenses.json TPIP.md",
224224
"lint:md": "markdownlint **/*.md -c ./.github/markdownlint.jsonc -i ./node_modules ./dist ./coverage ./tools",
225-
"check:links": "find . -name '*.md' -not -path './node_modules/*' -not -path './.github/*' -exec npx markdown-link-check -v -c ./.github/markdown-link-check.jsonc {} +"
225+
"check:links": "ts-node scripts/check-links.ts --ignore ./node_modules --ignore ./.github"
226226
},
227227
"vsce": {
228228
"yarn": true,
@@ -244,6 +244,7 @@
244244
"@yarnpkg/lockfile": "^1.1.0",
245245
"eslint": "^9.26.0",
246246
"extract-zip": "^2.0.1",
247+
"globby": "^13.2.2",
247248
"jest": "^29.7.0",
248249
"markdownlint-cli": "^0.45.0",
249250
"markdown-link-check": "^3.13.7",

yarn.lock

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2463,6 +2463,13 @@ diff@^4.0.1:
24632463
resolved "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz"
24642464
integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
24652465

2466+
dir-glob@^3.0.1:
2467+
version "3.0.1"
2468+
resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f"
2469+
integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==
2470+
dependencies:
2471+
path-type "^4.0.0"
2472+
24662473
dom-serializer@^2.0.0:
24672474
version "2.0.0"
24682475
resolved "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz"
@@ -2878,7 +2885,7 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
28782885
resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz"
28792886
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
28802887

2881-
fast-glob@^3.3.2:
2888+
fast-glob@^3.3.0, fast-glob@^3.3.2:
28822889
version "3.3.3"
28832890
resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz"
28842891
integrity sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==
@@ -3196,6 +3203,17 @@ globals@^14.0.0:
31963203
resolved "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz"
31973204
integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==
31983205

3206+
globby@^13.2.2:
3207+
version "13.2.2"
3208+
resolved "https://registry.yarnpkg.com/globby/-/globby-13.2.2.tgz#63b90b1bf68619c2135475cbd4e71e66aa090592"
3209+
integrity sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==
3210+
dependencies:
3211+
dir-glob "^3.0.1"
3212+
fast-glob "^3.3.0"
3213+
ignore "^5.2.4"
3214+
merge2 "^1.4.1"
3215+
slash "^4.0.0"
3216+
31993217
gopd@^1.2.0:
32003218
version "1.2.0"
32013219
resolved "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz"
@@ -3306,7 +3324,7 @@ ieee754@^1.1.13:
33063324
resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz"
33073325
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
33083326

3309-
ignore@^5.2.0, ignore@^5.3.1:
3327+
ignore@^5.2.0, ignore@^5.2.4, ignore@^5.3.1:
33103328
version "5.3.2"
33113329
resolved "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz"
33123330
integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==
@@ -4324,7 +4342,7 @@ merge-stream@^2.0.0:
43244342
resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz"
43254343
integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==
43264344

4327-
merge2@^1.3.0:
4345+
merge2@^1.3.0, merge2@^1.4.1:
43284346
version "1.4.1"
43294347
resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz"
43304348
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
@@ -4995,6 +5013,11 @@ path-to-regexp@^8.0.0:
49955013
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.2.0.tgz#73990cc29e57a3ff2a0d914095156df5db79e8b4"
49965014
integrity sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==
49975015

5016+
path-type@^4.0.0:
5017+
version "4.0.0"
5018+
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
5019+
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
5020+
49985021
pend@~1.2.0:
49995022
version "1.2.0"
50005023
resolved "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz"
@@ -5445,6 +5468,11 @@ slash@^3.0.0:
54455468
resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz"
54465469
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
54475470

5471+
slash@^4.0.0:
5472+
version "4.0.0"
5473+
resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7"
5474+
integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==
5475+
54485476
smart-buffer@^4.2.0:
54495477
version "4.2.0"
54505478
resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae"

0 commit comments

Comments
 (0)