Skip to content

Commit 3d8697c

Browse files
committed
chore(front): remove vite-plugin-checker background TS/ESLint checks
Background TypeScript and ESLint checks via vite-plugin-checker are no longer needed. Our dev experience now relies on independent linters and type-checkers (npx nx lint and npx nx typecheck) that run separately from the Vite build process, making the in-process checker redundant and an unnecessary memory overhead. Made-with: Cursor
1 parent c53a134 commit 3d8697c

File tree

18 files changed

+5
-75
lines changed

18 files changed

+5
-75
lines changed

nx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"outputs": ["{projectRoot}/{options.output-dir}"],
148148
"options": {
149149
"cwd": "{projectRoot}",
150-
"command": "NODE_OPTIONS='--max-old-space-size=10240' VITE_DISABLE_TYPESCRIPT_CHECKER=true storybook build --test",
150+
"command": "NODE_OPTIONS='--max-old-space-size=10240' storybook build --test",
151151
"output-dir": "storybook-static",
152152
"config-dir": ".storybook"
153153
},

packages/twenty-docs/developers/self-host/capabilities/troubleshooting.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ This should work out of the box with the eslint extension installed. If this doe
6666

6767
#### While running `npx nx start` or `npx nx start twenty-front`, Out of memory error is thrown
6868

69-
In `packages/twenty-front/.env` uncomment `VITE_DISABLE_TYPESCRIPT_CHECKER=true` to disable background checks thus reducing amount of needed RAM.
70-
71-
**If it does not work:**
7269
Run only the services you need, instead of `npx nx start`. For instance, if you work on the server, run only `npx nx worker twenty-server`
7370

7471
**If it does not work:**

packages/twenty-docs/l/ar/developers/self-host/capabilities/troubleshooting.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ git config --global core.autocrlf false
6565

6666
#### أثناء تشغيل `npx nx start` أو `npx nx start twenty-front`، ظهرت خطأ نفاد الذاكرة
6767

68-
في `packages/twenty-front/.env` قم بإزالة تعليق على `VITE_DISABLE_TYPESCRIPT_CHECKER=true` و`VITE_DISABLE_ESLINT_CHECKER=true` لتعطيل فحوصات الخلفية مما يقلل من كمية الذاكرة المطلوبة.
69-
70-
**إذا لم يعمل ذلك:**
7168
قم بتشغيل الخدمات التي تحتاجها فقط، بدلاً من `npx nx start`. على سبيل المثال، إذا كنت تعمل على الخادم، قم بتشغيل `npx nx worker twenty-server` فقط
7269

7370
**إذا لم يعمل ذلك:**

packages/twenty-docs/l/cs/developers/self-host/capabilities/troubleshooting.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ Toto by mělo fungovat přímo s nainstalovaným rozšířením eslint. Pokud to
6666

6767
#### Při spuštění `npx nx start` nebo `npx nx start twenty-front` došlo k chybě nedostatku paměti
6868

69-
In `packages/twenty-front/.env` uncomment `VITE_DISABLE_TYPESCRIPT_CHECKER=true` and `VITE_DISABLE_ESLINT_CHECKER=true` to disable background checks thus reducing amount of needed RAM.
70-
71-
**Pokud to nefunguje:**
7269
Spusťte pouze služby, které potřebujete, místo `npx nx start`. Například pokud pracujete na serveru, spusťte pouze `npx nx worker twenty-server`
7370

7471
**Pokud to nefunguje:**

packages/twenty-docs/l/de/developers/self-host/capabilities/troubleshooting.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ Normalerweise sollte dies sofort mit der installierten eslint-Erweiterung funkti
6565

6666
#### Beim Ausführen von `npx nx start` oder `npx nx start twenty-front` wird ein Speicherfehler angezeigt
6767

68-
Kommentieren Sie in `packages/twenty-front/.env` `VITE_DISABLE_TYPESCRIPT_CHECKER=true` und `VITE_DISABLE_ESLINT_CHECKER=true` aus, um Hintergrundprüfungen zu deaktivieren und den RAM-Bedarf zu reduzieren.
69-
70-
**Wenn es nicht funktioniert:**
7168
Führen Sie nur die Services aus, die Sie benötigen, anstatt `npx nx start`. Wenn Sie zum Beispiel am Server arbeiten, führen Sie nur `npx nx worker twenty-server` aus.
7269

7370
**Wenn es nicht funktioniert:**

packages/twenty-docs/l/es/developers/self-host/capabilities/troubleshooting.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ Esto debería funcionar sin configuración adicional con la extensión de ESLint
6565

6666
#### Al ejecutar `npx nx start` o `npx nx start twenty-front`, se produce un error de falta de memoria
6767

68-
En `packages/twenty-front/.env` descomente `VITE_DISABLE_TYPESCRIPT_CHECKER=true` y `VITE_DISABLE_ESLINT_CHECKER=true` para deshabilitar las comprobaciones en segundo plano y así reducir la cantidad de RAM necesaria.
69-
70-
**Si no funciona:**
7168
Ejecute solo los servicios que necesite, en lugar de `npx nx start`. Por ejemplo, si trabaja en el servidor, ejecute solo `npx nx worker twenty-server`
7269

7370
**Si no funciona:**

packages/twenty-docs/l/fr/developers/self-host/capabilities/troubleshooting.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ Cela devrait fonctionner directement avec l'extension eslint installée. Si cela
6565

6666
#### Pendant l'exécution de `npx nx start` ou `npx nx start twenty-front`, une erreur de mémoire est renvoyée
6767

68-
Dans `packages/twenty-front/.env`, décommentez `VITE_DISABLE_TYPESCRIPT_CHECKER=true` et `VITE_DISABLE_ESLINT_CHECKER=true` pour désactiver les vérifications en arrière-plan, réduisant ainsi la quantité de RAM nécessaire.
69-
70-
**Si cela ne fonctionne pas :**
7168
Lancez uniquement les services dont vous avez besoin, au lieu de `npx nx start`. Par exemple, si vous travaillez sur le serveur, lancez seulement `npx nx worker twenty-server`
7269

7370
**Si cela ne fonctionne pas :**

packages/twenty-docs/l/it/developers/self-host/capabilities/troubleshooting.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ Questo dovrebbe funzionare direttamente con l'estensione eslint installata. Se q
6666

6767
#### Durante l'esecuzione di `npx nx start` o `npx nx start twenty-front`, viene generato un errore di memoria insufficiente
6868

69-
In `packages/twenty-front/.env` decommentare `VITE_DISABLE_TYPESCRIPT_CHECKER=true` e `VITE_DISABLE_ESLINT_CHECKER=true` per disabilitare i controlli in background riducendo così la quantità di RAM necessaria.
70-
71-
**If it does not work:**
7269
Run only the services you need, instead of `npx nx start`. Ad esempio, se lavori sul server, esegui solo `npx nx worker twenty-server`
7370

7471
**If it does not work:**

packages/twenty-docs/l/ja/developers/self-host/capabilities/troubleshooting.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ eslint拡張子がインストールされている場合、これは標準設
6969

7070
#### `npx nx start` または `npx nx start twenty-front` 実行中にメモリエラーが発生
7171

72-
`packages/twenty-front/.env``VITE_DISABLE_TYPESCRIPT_CHECKER=true``VITE_DISABLE_ESLINT_CHECKER=true` をコメント解除して、バックグラウンドチェックを無効化し、必要なRAMの量を減らします。
73-
74-
**うまくいかない場合:**
7572
`npx nx start` の代わりに、必要なサービスだけを実行してください。 例えば、サーバーで作業している場合は、`npx nx worker twenty-server` のみを実行してください。
7673

7774
**うまくいかない場合:**

packages/twenty-docs/l/ko/developers/self-host/capabilities/troubleshooting.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ eslint 확장 프로그램이 설치된 상태에서는 기본 설정으로 작
6565

6666
#### `npx nx start` 또는 `npx nx start twenty-front` 실행 시 메모리 부족 오류 발생
6767

68-
`packages/twenty-front/.env`에서 `VITE_DISABLE_TYPESCRIPT_CHECKER=true``VITE_DISABLE_ESLINT_CHECKER=true`를 주석 해제하여 백그라운드 검사 기능을 비활성화하여 필요한 RAM의 양을 줄입니다.
69-
70-
**작동하지 않는 경우:**
7168
`npx nx start` 대신 필요한 서비스만 실행하십시오. 예를 들어, 서버에서 작업하는 경우, `npx nx worker twenty-server`만 실행하십시오.
7269

7370
**작동하지 않는 경우:**

0 commit comments

Comments
 (0)