## Summary - Switch `twenty-server` and `fireflies` typecheck from tsc to tsgo (~75x faster) - Enable tsgo in VSCode via `typescript.experimental.useTsgo` setting - Add `@ts-nocheck` to `remove-step.spec.ts` to work around tsgo performance issue with deep spread operations ## Performance | Package | Before (tsc) | After (tsgo) | |---------|-------------|--------------| | `twenty-server` | ~150s | ~2s | | `twenty-front` | ~40s | ~2s | ## Related - Workaround for: https://github.com/microsoft/typescript-go/issues/2551 ## Test plan - [x] `npx nx typecheck twenty-server` passes - [x] `npx nx typecheck twenty-front` passes - [x] `npx nx run-many --target=typecheck --exclude=fireflies` passes (fireflies has pre-existing type errors)
47 lines
1.0 KiB
JSON
47 lines
1.0 KiB
JSON
{
|
|
"name": "fireflies",
|
|
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/twenty-apps/community/fireflies/src",
|
|
"projectType": "application",
|
|
"tags": [
|
|
"scope:apps"
|
|
],
|
|
"targets": {
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": [
|
|
"{workspaceRoot}/coverage/{projectRoot}"
|
|
],
|
|
"options": {
|
|
"jestConfig": "packages/twenty-apps/community/fireflies/jest.config.mjs",
|
|
"passWithNoTests": true
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"ci": true,
|
|
"coverageReporters": ["text"]
|
|
}
|
|
}
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": [
|
|
"{options.outputFile}"
|
|
],
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"packages/twenty-apps/community/fireflies/**/*.{ts,tsx,js,jsx}"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"fix": {
|
|
"fix": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|