fix: typecheck uses -p (non-composite projects)
Projects are non-composite with noEmit, so build mode (-b) re-builds every run. Use -p for proper project checking: bunx tsc -p server && bunx tsc -p shared && bunx tsc -p web Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"private": true,
|
||||
"workspaces": ["server", "web", "shared"],
|
||||
"scripts": {
|
||||
"typecheck": "bunx tsc -b server shared && bunx tsc -p web",
|
||||
"typecheck": "bunx tsc -p server && bunx tsc -p shared && bunx tsc -p web",
|
||||
"test": "bun test server",
|
||||
"build:web": "bun run --cwd web build"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user