From 4656469c4739c54deb2a7f5e553cdd620f2ad325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Wed, 24 Jun 2026 10:37:56 +0200 Subject: [PATCH] Drop unused eslint-plugin-relay-types from apps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The @probo/eslint-plugin-relay-types shim only types an `eslint-plugin-relay` import, which no app makes anymore now that linting runs through the single root eslint.config.mjs. The apps' tsconfig.node.json even pulled it in for a per-app eslint.config.mjs that no longer exists. Remove the devDependency and the `types` entry from each app's node tsconfig, and drop the stale eslint.config.mjs include. The shim stays for packages/eslint-config, its real consumer. Signed-off-by: Émile Ré --- apps/compliance-portal/package.json | 1 - apps/compliance-portal/tsconfig.node.json | 5 ++--- apps/console/package.json | 1 - apps/console/tsconfig.node.json | 5 ++--- apps/trust/package.json | 1 - apps/trust/tsconfig.node.json | 5 ++--- package-lock.json | 4 +--- 7 files changed, 7 insertions(+), 15 deletions(-) diff --git a/apps/compliance-portal/package.json b/apps/compliance-portal/package.json index 251e19592..66552bd58 100644 --- a/apps/compliance-portal/package.json +++ b/apps/compliance-portal/package.json @@ -25,7 +25,6 @@ "relay-runtime": "^21.0.1" }, "devDependencies": { - "@probo/eslint-plugin-relay-types": "^1.0.0", "@tailwindcss/vite": "^4.3.1", "@types/node": "^25.9.3", "@types/react": "^19.2.17", diff --git a/apps/compliance-portal/tsconfig.node.json b/apps/compliance-portal/tsconfig.node.json index 537e6f3e1..87ae7cd5e 100644 --- a/apps/compliance-portal/tsconfig.node.json +++ b/apps/compliance-portal/tsconfig.node.json @@ -20,8 +20,7 @@ "noUnusedParameters": true, "erasableSyntaxOnly": true, "noFallthroughCasesInSwitch": true, - "noUncheckedSideEffectImports": true, - "types": ["@probo/eslint-plugin-relay-types"] + "noUncheckedSideEffectImports": true }, - "include": ["vite.config.ts", "eslint.config.mjs"] + "include": ["vite.config.ts"] } diff --git a/apps/console/package.json b/apps/console/package.json index 36420c08d..2e18121fe 100644 --- a/apps/console/package.json +++ b/apps/console/package.json @@ -37,7 +37,6 @@ }, "devDependencies": { "@babel/core": "^7.29.0", - "@probo/eslint-plugin-relay-types": "^1.0.0", "@rolldown/plugin-babel": "^0.2.3", "@tailwindcss/vite": "^4.3.1", "@types/babel__core": "^7.20.5", diff --git a/apps/console/tsconfig.node.json b/apps/console/tsconfig.node.json index 537e6f3e1..87ae7cd5e 100644 --- a/apps/console/tsconfig.node.json +++ b/apps/console/tsconfig.node.json @@ -20,8 +20,7 @@ "noUnusedParameters": true, "erasableSyntaxOnly": true, "noFallthroughCasesInSwitch": true, - "noUncheckedSideEffectImports": true, - "types": ["@probo/eslint-plugin-relay-types"] + "noUncheckedSideEffectImports": true }, - "include": ["vite.config.ts", "eslint.config.mjs"] + "include": ["vite.config.ts"] } diff --git a/apps/trust/package.json b/apps/trust/package.json index a21d02c8e..db07ec260 100644 --- a/apps/trust/package.json +++ b/apps/trust/package.json @@ -30,7 +30,6 @@ }, "devDependencies": { "@babel/core": "^7.29.0", - "@probo/eslint-plugin-relay-types": "^1.0.0", "@rolldown/plugin-babel": "^0.2.3", "@tailwindcss/vite": "^4.3.1", "@types/babel__core": "^7.20.5", diff --git a/apps/trust/tsconfig.node.json b/apps/trust/tsconfig.node.json index 537e6f3e1..87ae7cd5e 100644 --- a/apps/trust/tsconfig.node.json +++ b/apps/trust/tsconfig.node.json @@ -20,8 +20,7 @@ "noUnusedParameters": true, "erasableSyntaxOnly": true, "noFallthroughCasesInSwitch": true, - "noUncheckedSideEffectImports": true, - "types": ["@probo/eslint-plugin-relay-types"] + "noUncheckedSideEffectImports": true }, - "include": ["vite.config.ts", "eslint.config.mjs"] + "include": ["vite.config.ts"] } diff --git a/package-lock.json b/package-lock.json index 97e9c62f4..fb3f95fa5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,6 +32,7 @@ "@base-ui/react": "^1.6.0", "@probo/helpers": "1.0.0", "@probo/react-lazy": "1.0.0", + "@probo/relay": "1.0.0", "@probo/routes": "1.0.0", "@probo/ui": "1.0.0", "i18next": "^26.3.1", @@ -43,7 +44,6 @@ "relay-runtime": "^21.0.1" }, "devDependencies": { - "@probo/eslint-plugin-relay-types": "^1.0.0", "@tailwindcss/vite": "^4.3.1", "@types/node": "^25.9.3", "@types/react": "^19.2.17", @@ -116,7 +116,6 @@ }, "devDependencies": { "@babel/core": "^7.29.0", - "@probo/eslint-plugin-relay-types": "^1.0.0", "@rolldown/plugin-babel": "^0.2.3", "@tailwindcss/vite": "^4.3.1", "@types/babel__core": "^7.20.5", @@ -155,7 +154,6 @@ }, "devDependencies": { "@babel/core": "^7.29.0", - "@probo/eslint-plugin-relay-types": "^1.0.0", "@rolldown/plugin-babel": "^0.2.3", "@tailwindcss/vite": "^4.3.1", "@types/babel__core": "^7.20.5",