1
0

enable TypeScript incremental mode to speed up IDEs

This commit is contained in:
Hazelnoot
2025-05-23 19:44:07 -04:00
parent 6d4860bb78
commit 5af5414fdf
17 changed files with 18 additions and 2 deletions
+2 -1
View File
@@ -2,7 +2,8 @@
"compilerOptions": {
"lib": ["dom", "es5"],
"target": "es5",
"types": ["cypress", "node"]
"types": ["cypress", "node"],
"incremental": true
},
"include": ["./**/*.ts"]
}
@@ -3,7 +3,7 @@
/* Visit https://aka.ms/tsconfig to read more about this file */
/* Projects */
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
"incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
@@ -23,6 +23,7 @@
"emitDecoratorMetadata": true,
"resolveJsonModule": true,
"isolatedModules": true,
"incremental": true,
"rootDir": "../src",
"baseUrl": "./",
"paths": {
+1
View File
@@ -23,6 +23,7 @@
"emitDecoratorMetadata": true,
"resolveJsonModule": true,
"isolatedModules": true,
"incremental": true,
"baseUrl": "./",
"paths": {
"@/*": ["../src/*"]
+1
View File
@@ -23,6 +23,7 @@
"emitDecoratorMetadata": true,
"resolveJsonModule": true,
"isolatedModules": true,
"incremental": true,
"rootDir": "./src",
"baseUrl": "./",
"paths": {
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"lib": ["esnext", "webworker"],
"incremental": true
}
}
+1
View File
@@ -23,6 +23,7 @@
"useDefineForClassFields": true,
"verbatimModuleSyntax": true,
"skipLibCheck": true,
"incremental": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
+1
View File
@@ -18,6 +18,7 @@
"esModuleInterop": true,
"verbatimModuleSyntax": true,
"skipLibCheck": true,
"incremental": true,
"baseUrl": ".",
"paths": {
"@/*": ["./*"],
@@ -18,6 +18,7 @@
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"jsx": "react",
"jsxFactory": "h"
},
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"lib": ["esnext", "webworker"],
"incremental": true
}
}
+1
View File
@@ -22,6 +22,7 @@
"emitDecoratorMetadata": true,
"resolveJsonModule": true,
"isolatedModules": true,
"incremental": true,
"baseUrl": "./",
"paths": {
"@/*": ["../src/*"]
+1
View File
@@ -23,6 +23,7 @@
"useDefineForClassFields": true,
"verbatimModuleSyntax": true,
"skipLibCheck": true,
"incremental": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
@@ -16,6 +16,7 @@
"noImplicitReturns": true,
"esModuleInterop": true,
"skipLibCheck": true,
"incremental": true,
"typeRoots": [
"./node_modules/@types"
],
@@ -8,6 +8,7 @@
"strictFunctionTypes": true,
"strictNullChecks": true,
"esModuleInterop": true,
"incremental": true,
"lib": [
"esnext",
]
+1
View File
@@ -17,6 +17,7 @@
"esModuleInterop": true,
"exactOptionalPropertyTypes": true,
"skipLibCheck": true,
"incremental": true,
"typeRoots": [
"./node_modules/@types"
],
+1
View File
@@ -16,6 +16,7 @@
"noImplicitReturns": true,
"esModuleInterop": true,
"skipLibCheck": true,
"incremental": true,
"typeRoots": [
"./node_modules/@types"
],
+1
View File
@@ -20,6 +20,7 @@
"resolveJsonModule": true,
"isolatedModules": true,
"skipLibCheck": true,
"incremental": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],