diff --git a/lefthook.yml b/lefthook.yml index 5f86e18..75a45cb 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -17,12 +17,10 @@ pre-commit: - name: check types run: pnpm tsc --noEmit glob: - - src/*.ts + - "*.ts" - .npmrc - pnpm-lock.yaml - tsconfig.json - exclude: - - src/*.test.ts - name: build action run: pnpm rollup -c diff --git a/tsconfig.json b/tsconfig.json index 57eab14..6e4c0d9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,5 @@ { "extends": "@tsconfig/node20", - "include": ["src"], - "exclude": ["**/*.test.ts"], "compilerOptions": { "module": "node16" }