The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
feat: migrate typecheck to tsgo for faster type checking (#17331)
Félix Malfait8dec37b8267c
diff --git a/.vscode/settings.json b/.vscode/settings.jsonindex 5e9db5cb5e6..2511eb85644 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.jsonindex 62935a607cd..0fa7c84a0cf 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.jsonindex 59692d0a815..4b9c754e287 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.tsindex 7651493ed35..f8b3f3d0605 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/2551import { TRIGGER_STEP_ID } from 'twenty-shared/workflow';import { removeStep } from 'src/modules/workflow/workflow-builder/workflow-version-step/utils/remove-step';