chore: typecheck only affected packages in pre-push hook
This commit is contained in:
parent
a4fed69a82
commit
f1030db291
1 changed files with 3 additions and 1 deletions
|
|
@ -17,4 +17,6 @@ if (process.versions.bun !== expectedBunVersion) {
|
|||
console.warn(`Warning: Bun version ${process.versions.bun} differs from expected ${expectedBunVersion}`);
|
||||
}
|
||||
'
|
||||
bun typecheck
|
||||
# Only typecheck packages affected since the merge base with origin/dev,
|
||||
# plus their dependents. Override the base with TURBO_SCM_BASE if needed.
|
||||
TURBO_SCM_BASE="${TURBO_SCM_BASE:-origin/dev}" bun turbo typecheck --affected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue