File tree Expand file tree Collapse file tree 3 files changed +4
-18
lines changed
Expand file tree Collapse file tree 3 files changed +4
-18
lines changed Original file line number Diff line number Diff line change 1313 "build:renderer" : " vite build" ,
1414 "start" : " bun build:preload && electron ." ,
1515 "typecheck" : " ./scripts/typecheck.sh" ,
16- "typecheck:main" : " ./scripts/typecheck.sh --main" ,
1716 "debug" : " bun src/debug/index.ts" ,
1817 "lint" : " ./scripts/lint.sh" ,
1918 "lint:fix" : " ./scripts/lint.sh --fix" ,
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ if [ "$1" = "--fix" ]; then
1515else
1616 echo " Running eslint..."
1717 eslint " $ESLINT_PATTERN "
18- echo " Running typecheck (renderer)..."
19- bun run typecheck
20- echo " Running typecheck (main)..."
21- bun run typecheck:main
18+ ./scripts/typecheck.sh
2219 echo " All lint checks passed!"
2320fi
Original file line number Diff line number Diff line change @@ -7,16 +7,6 @@ PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
77
88cd " $PROJECT_ROOT "
99
10- if [ " $1 " = " --main" ]; then
11- echo " Running typecheck (main)..."
12- tsc --noEmit -p tsconfig.main.json
13- elif [ " $1 " = " --renderer" ]; then
14- echo " Running typecheck (renderer)..."
15- tsc --noEmit
16- else
17- echo " Running typecheck (renderer)..."
18- tsc --noEmit
19- echo " Running typecheck (main)..."
20- tsc --noEmit -p tsconfig.main.json
21- echo " All typechecks passed!"
22- fi
10+ bun x concurrently -g \
11+ " tsc --noEmit" \
12+ " tsc --noEmit -p tsconfig.main.json"
You can’t perform that action at this time.
0 commit comments