diff --git a/.vscode/settings.json b/.vscode/settings.json index 5e9db5cb5e..2511eb8564 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -53,5 +53,6 @@ ".cursorrules": "markdown" }, "jestrunner.codeLensSelector": "**/*.{test,spec,integration-spec}.{js,jsx,ts,tsx}", - "typescript.tsdk": "node_modules/typescript/lib" + "typescript.tsdk": "node_modules/typescript/lib", + "typescript.experimental.useTsgo": true } diff --git a/packages/twenty-apps/community/fireflies/project.json b/packages/twenty-apps/community/fireflies/project.json index 62935a607c..0fa7c84a0c 100644 --- a/packages/twenty-apps/community/fireflies/project.json +++ b/packages/twenty-apps/community/fireflies/project.json @@ -24,10 +24,7 @@ } }, "typecheck": { - "executor": "nx:run-commands", - "options": { - "command": "tsc --noEmit --project {projectRoot}/tsconfig.json" - } + "dependsOn": ["^build"] }, "lint": { "executor": "@nx/eslint:lint", diff --git a/packages/twenty-server/project.json b/packages/twenty-server/project.json index 59692d0a81..4b9c754e28 100644 --- a/packages/twenty-server/project.json +++ b/packages/twenty-server/project.json @@ -42,17 +42,6 @@ } }, "typecheck": { - "executor": "nx:run-commands", - "cache": true, - "options": { - "cwd": "{projectRoot}", - "command": "tsc -b tsconfig.json --incremental" - }, - "configurations": { - "tsgo": { - "command": "tsgo -p tsconfig.json" - } - }, "dependsOn": ["^build"] }, "start": { diff --git a/packages/twenty-server/src/modules/workflow/workflow-builder/workflow-version-step/utils/__tests__/remove-step.spec.ts b/packages/twenty-server/src/modules/workflow/workflow-builder/workflow-version-step/utils/__tests__/remove-step.spec.ts index 7651493ed3..f8b3f3d060 100644 --- a/packages/twenty-server/src/modules/workflow/workflow-builder/workflow-version-step/utils/__tests__/remove-step.spec.ts +++ b/packages/twenty-server/src/modules/workflow/workflow-builder/workflow-version-step/utils/__tests__/remove-step.spec.ts @@ -1,3 +1,7 @@ +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-nocheck +// Disabled type checking due to tsgo performance issue with deep spread operations +// See: https://github.com/microsoft/typescript-go/issues/2551 import { TRIGGER_STEP_ID } from 'twenty-shared/workflow'; import { removeStep } from 'src/modules/workflow/workflow-builder/workflow-version-step/utils/remove-step';