fix: node TS
Some checks failed
ci / build (pull_request) Failing after 27s
ci / publish (pull_request) Has been skipped

This commit is contained in:
Matthew McPeak 2026-06-11 15:57:03 -04:00
parent 488e6a8821
commit 2ef5ae92b5
Signed by: McPeakML
GPG key ID: 3D64A2E70F58D07C

View file

@ -1,27 +1,28 @@
// TSConfig for modules that run in Node.js environment via either transpilation or type-stripping. // TSConfig for modules that run in Node.js environment via either transpilation or type-stripping.
{ {
"extends": "@tsconfig/node24/tsconfig.json", "extends": "@tsconfig/node24/tsconfig.json",
"include": [ "include": [
"vite.config.*", "vite.config.*",
"vitest.config.*", "vitest.config.*",
"cypress.config.*", "cypress.config.*",
"playwright.config.*", "playwright.config.*",
"eslint.config.*" "eslint.config.*"
], ],
"compilerOptions": { "exclude": ["src/**/__tests__/*"],
// Most tools use transpilation instead of Node.js's native type-stripping. "compilerOptions": {
// Bundler mode provides a smoother developer experience. // Most tools use transpilation instead of Node.js's native type-stripping.
"module": "preserve", // Bundler mode provides a smoother developer experience.
"moduleResolution": "bundler", "module": "preserve",
"moduleResolution": "bundler",
// Include Node.js types and avoid accidentally including other `@types/*` packages. // Include Node.js types and avoid accidentally including other `@types/*` packages.
"types": ["node"], "types": ["node"],
// Disable emitting output during `vue-tsc --build`, which is used for type-checking only. // Disable emitting output during `vue-tsc --build`, which is used for type-checking only.
"noEmit": true, "noEmit": true,
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking. // `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
// Specified here to keep it out of the root directory. // Specified here to keep it out of the root directory.
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo" "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo"
} }
} }