chore: fix type error (#2486)

We only checking types in CI in `src/` + `tests/`. This PR adds the
other folders.
This commit is contained in:
Marvin Hagemeister
2024-06-03 17:46:42 +02:00
committed by GitHub
parent cbbcca63f6
commit 049bb49c07
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
"www": "deno task --cwd=www start", "www": "deno task --cwd=www start",
"build-www": "deno task --cwd=www build", "build-www": "deno task --cwd=www build",
"screenshot": "deno run -A www/utils/screenshot.ts", "screenshot": "deno run -A www/utils/screenshot.ts",
"check:types": "deno check src/**/*.ts src/**/*.tsx tests/**/*.ts tests/**/*.tsx", "check:types": "deno check src/**/*.ts src/**/*.tsx tests/**/*.ts tests/**/*.tsx update/**/*.ts plugin-tailwindcss/**/*.ts init/**/*.ts",
"ok": "deno fmt --check && deno lint && deno task check:types && deno task test", "ok": "deno fmt --check && deno lint && deno task check:types && deno task test",
"test:www": "deno test -A tests/www/", "test:www": "deno test -A tests/www/",
"manifests": "deno run -A genAllManifest.ts" "manifests": "deno run -A genAllManifest.ts"
+1 -1
View File
@@ -71,7 +71,7 @@ export async function initTailwind(
autoprefixer(options.autoprefixer) as any, autoprefixer(options.autoprefixer) as any,
]; ];
if (config.mode === "build") { if (config.mode === "production") {
plugins.push(cssnano()); plugins.push(cssnano());
} }