all repos — stealth-developers @ 5d3cf4708b160c15695cabe44f3a8e72119902b8

pkgs/frontend/tsconfig.node.json (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
// 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",

		// 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,

		// `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"
	}
}