diff --git a/lefthook.yml b/lefthook.yml index d14b52f..c25c9a8 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -7,4 +7,12 @@ pre-push: commands: biome_check: glob: "*.{ts,tsx,json}" - run: yarn biome check --no-errors-on-unmatched --files-ignore-unknown=true {staged_files} \ No newline at end of file + run: yarn biome check --no-errors-on-unmatched --files-ignore-unknown=true {all_files} + react_tsc: + glob: "packages/react/*.{ts,tsx}" + root: "packages/react/" + run: yarn tsc + cli_tsc: + glob: "packages/cli/*.{ts,tsx}" + root: "packages/cli/" + run: yarn tsc