|
15 | 15 | "fileChangeHooks": [ |
16 | 16 | { |
17 | 17 | "name": "backend-unit-tests", |
18 | | - "command": "set -o pipefail && bun test $(find src -name *.test.ts ! -name *.integration.test.ts) 2>&1 | grep -Ev $'\\x1b\\[[0-9;]*m' | grep -Ev '^s*[0-9]+s+(pass|skip)|(pass)|(skip)' && bun run typecheck-only", |
| 18 | + "command": "set -o pipefail && bun test $(find src -name *.test.ts ! -name *.integration.test.ts) 2>&1 | grep -Ev '✓|\\(pass\\)'", |
19 | 19 | "cwd": "backend", |
20 | 20 | "filePattern": "backend/**/*.ts" |
21 | 21 | }, |
| 22 | + { |
| 23 | + "name": "backend-typecheck", |
| 24 | + "command": "bun run typecheck-only", |
| 25 | + "cwd": "backend", |
| 26 | + "filePattern": "backend/**/*.ts" |
| 27 | + }, |
| 28 | + |
22 | 29 | { |
23 | 30 | "name": "npm-app-unit-tests", |
24 | | - "command": "set -o pipefail && bun test $(find src -name *.test.ts ! -name *.integration.test.ts) 2>&1 | grep -Ev $'\\x1b\\[[0-9;]*m' | grep -Ev '^s*[0-9]+s+(pass|skip)|(pass)|(skip)' && bun run typecheck-only", |
| 31 | + "command": "set -o pipefail && bun test $(find src -name *.test.ts ! -name *.integration.test.ts) 2>&1 | grep -Ev '✓|\\(pass\\)'", |
| 32 | + "cwd": "npm-app", |
| 33 | + "filePattern": "npm-app/**/*.ts" |
| 34 | + }, |
| 35 | + { |
| 36 | + "name": "npm-typecheck", |
| 37 | + "command": "bun run typecheck-only", |
25 | 38 | "cwd": "npm-app", |
26 | 39 | "filePattern": "npm-app/**/*.ts" |
27 | 40 | }, |
| 41 | + |
| 42 | + { |
| 43 | + "name": "web-typecheck", |
| 44 | + "command": "bun run typecheck-only", |
| 45 | + "cwd": "web", |
| 46 | + "filePattern": "web/**/*.ts" |
| 47 | + }, |
| 48 | + |
28 | 49 | { |
29 | 50 | "name": "common-unit-tests", |
30 | | - "command": "set -o pipefail && bun test $(find src -name *.test.ts ! -name *.integration.test.ts) 2>&1 | grep -Ev $'\\x1b\\[[0-9;]*m' | grep -Ev '^s*[0-9]+s+(pass|skip)|(pass)|(skip)' && bun run typecheck-only", |
| 51 | + "command": "set -o pipefail && bun test $(find src -name *.test.ts ! -name *.integration.test.ts) 2>&1 | grep -Ev '✓|\\(pass\\)'", |
| 52 | + "cwd": "common", |
| 53 | + "filePattern": "common/**/*.ts" |
| 54 | + }, |
| 55 | + { |
| 56 | + "name": "common-typecheck", |
| 57 | + "command": "bun run typecheck-only", |
31 | 58 | "cwd": "common", |
32 | 59 | "filePattern": "common/**/*.ts" |
33 | 60 | } |
|
0 commit comments