From 39dcb59bdf2b27744a5b41ebc1738a5386ed0b67 Mon Sep 17 00:00:00 2001 From: Adam Skoufis Date: Tue, 12 Nov 2024 10:16:54 +1100 Subject: [PATCH] Add `tsc` lint step --- package.json | 1 + tsconfig.json | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 87de5c9..76a5d91 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "lint": "pnpm run '/lint:.*/'", "lint:eslint": "eslint .", "lint:prettier": "prettier . --list-different", + "lint:tsc": "tsc", "release": "changeset publish", "version": "changeset version" }, diff --git a/tsconfig.json b/tsconfig.json index b994545..8475501 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,7 @@ { - "extends": "@tsconfig/node20/tsconfig.json" + "extends": "@tsconfig/node20/tsconfig.json", + "compilerOptions": { + "noEmit": true + }, + "files": ["index.d.ts"] }