chore: enabled parallel Bun test runs across package scripts

- Updated each package's test script to run `bun test` with the `--parallel` flag.
- Updated the tui package test command to preserve its `test/*.test.ts` file filter while enabling parallel execution.
This commit is contained in:
can1357
2026-05-31 04:53:27 +02:00
parent 342a1927c2
commit 570b439b31
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test",
"test": "bun test --parallel",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write ."
},
+1 -1
View File
@@ -32,7 +32,7 @@
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test",
"test": "bun test --parallel",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write .",
"generate-models": "bun scripts/generate-models.ts"
+1 -1
View File
@@ -35,7 +35,7 @@
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test",
"test": "bun test --parallel",
"fix": "biome check --write --unsafe . && bun run format-prompts && bun run generate-docs-index",
"fmt": "biome format --write . && bun run format-prompts",
"format-prompts": "bun scripts/format-prompts.ts",
+1 -1
View File
@@ -28,7 +28,7 @@
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test",
"test": "bun test --parallel",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write ."
},
+1 -1
View File
@@ -34,7 +34,7 @@
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test",
"test": "bun test --parallel",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write ."
},
+1 -1
View File
@@ -33,7 +33,7 @@
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test",
"test": "bun test --parallel",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write .",
"embed:native": "bun scripts/embed-native.ts",
+1 -1
View File
@@ -32,7 +32,7 @@
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test test/*.test.ts",
"test": "bun test --parallel test/*.test.ts",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write ."
},
@@ -19,7 +19,7 @@
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test",
"test": "bun test --parallel",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write .",
"generate": "bun run src/generate.ts --typescript-dir /tmp/pi-mono-source --count-per-type 4",
+1 -1
View File
@@ -26,7 +26,7 @@
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test",
"test": "bun test --parallel",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write ."
},