mirror of
https://github.com/honojs/hono
synced 2026-08-09 12:38:41 +00:00
chore: fix no-op tsc in test script (#5093)
* chore: fix no-op tsc in test script * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
autofix-ci[bot]
parent
f9992096de
commit
9c6ccd76f1
+1
-3
@@ -103,9 +103,7 @@ const runBuild = async (config: BuildOptions) => {
|
||||
await Promise.all([
|
||||
runBuild(esmConfig),
|
||||
runBuild(cjsConfig),
|
||||
$`tsc ${
|
||||
isWatch ? ['-w'] : []
|
||||
} --emitDeclarationOnly --declaration --project tsconfig.build.json`.nothrow(),
|
||||
$`tsc ${isWatch ? ['-w'] : []} --emitDeclarationOnly --declaration --project tsconfig.build.json`,
|
||||
])
|
||||
|
||||
// Remove #private fields
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
"!dist/**/*.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "tsc --noEmit && vitest --run",
|
||||
"test": "tsc -p tsconfig.spec.json && vitest --run",
|
||||
"test:watch": "vitest --watch",
|
||||
"test:deno": "deno test --allow-read --allow-env --allow-write --allow-net -c runtime-tests/deno/deno.json runtime-tests/deno && deno test --no-lock -c runtime-tests/deno-jsx/deno.precompile.json runtime-tests/deno-jsx && deno test --no-lock -c runtime-tests/deno-jsx/deno.react-jsx.json runtime-tests/deno-jsx",
|
||||
"test:bun": "bun test --jsx-import-source ../../src/jsx runtime-tests/bun/*",
|
||||
|
||||
Reference in New Issue
Block a user