chore: add doc checker (#2877)

First steps towards #2876
Depends on https://github.com/denoland/std/pull/6632
This commit is contained in:
Asher Gomez
2025-05-02 10:55:55 +02:00
committed by GitHub
parent 51e4d334af
commit 45ce7e3ac0
7 changed files with 326 additions and 175 deletions
+3
View File
@@ -22,6 +22,7 @@
"build-www": "deno task --cwd=www build",
"screenshot": "deno run -A www/utils/screenshot.ts",
"check:types": "deno check src/**/*.ts src/**/*.tsx tests/**/*.ts tests/**/*.tsx update/**/*.ts plugin-tailwindcss/**/*.ts init/**/*.ts",
"check:docs": "deno run -A tools/check_docs.ts",
"ok": "deno fmt --check && deno lint && deno task check:types && deno task test",
"test:www": "deno test -A www/main_test.*",
"release": "deno run -A tools/release.ts"
@@ -40,6 +41,8 @@
"exclude": ["**/*_test.*", "src/__OLD/**", "*.todo"]
},
"imports": {
"@deno/doc": "jsr:@deno/doc@^0.172.0",
"@std/collections": "jsr:@std/collections@^1.0.11",
"@std/http": "jsr:@std/http@^1.0.15",
"fresh": "jsr:@fresh/core@^2.0.0-alpha.26",
"preact": "npm:preact@^10.25.1",