From 14703a1253d012833b809c9505ff7d4ec42e6062 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Tue, 10 Jun 2025 13:20:38 +0700 Subject: [PATCH] build: configure TypeScript to cover all files Signed-off-by: Alfi Maulana --- lefthook.yml | 4 +--- tsconfig.json | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) 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" }