From 2ef5ae92b5a51a752044734e6d4cff361adda782 Mon Sep 17 00:00:00 2001 From: Matthew L McPeak Date: Thu, 11 Jun 2026 15:57:03 -0400 Subject: [PATCH] fix: node TS --- tsconfig.node.json | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/tsconfig.node.json b/tsconfig.node.json index c9b2bad..972ac0c 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -1,27 +1,28 @@ // TSConfig for modules that run in Node.js environment via either transpilation or type-stripping. { - "extends": "@tsconfig/node24/tsconfig.json", - "include": [ - "vite.config.*", - "vitest.config.*", - "cypress.config.*", - "playwright.config.*", - "eslint.config.*" - ], - "compilerOptions": { - // Most tools use transpilation instead of Node.js's native type-stripping. - // Bundler mode provides a smoother developer experience. - "module": "preserve", - "moduleResolution": "bundler", + "extends": "@tsconfig/node24/tsconfig.json", + "include": [ + "vite.config.*", + "vitest.config.*", + "cypress.config.*", + "playwright.config.*", + "eslint.config.*" + ], + "exclude": ["src/**/__tests__/*"], + "compilerOptions": { + // Most tools use transpilation instead of Node.js's native type-stripping. + // Bundler mode provides a smoother developer experience. + "module": "preserve", + "moduleResolution": "bundler", - // Include Node.js types and avoid accidentally including other `@types/*` packages. - "types": ["node"], + // Include Node.js types and avoid accidentally including other `@types/*` packages. + "types": ["node"], - // Disable emitting output during `vue-tsc --build`, which is used for type-checking only. - "noEmit": true, + // Disable emitting output during `vue-tsc --build`, which is used for type-checking only. + "noEmit": true, - // `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking. - // Specified here to keep it out of the root directory. - "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo" - } + // `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking. + // Specified here to keep it out of the root directory. + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo" + } }