From af30a85b58c2203231d49e2b04d4ba4c5433fc69 Mon Sep 17 00:00:00 2001 From: JF-Cozy Date: Thu, 9 Apr 2026 11:09:55 +0200 Subject: [PATCH 1/2] chore: Add opencode in gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index dbfc00ebd8..3637295756 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ node_modules !.yarn/releases !.yarn/sdks !.yarn/versions +.opencode From 915d7b500625fee31577d3764ebe3b3702ee40fd Mon Sep 17 00:00:00 2001 From: JF-Cozy Date: Thu, 9 Apr 2026 11:12:58 +0200 Subject: [PATCH 2/2] feat: Update tsconfig to avoid deprecation warning --- packages/cozy-tsconfig/tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cozy-tsconfig/tsconfig.json b/packages/cozy-tsconfig/tsconfig.json index a15aa1c996..e3b2ed7545 100644 --- a/packages/cozy-tsconfig/tsconfig.json +++ b/packages/cozy-tsconfig/tsconfig.json @@ -24,12 +24,12 @@ "esnext" ], "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "noFallthroughCasesInSwitch": true, "outDir": "dist", // Best to include it by default to avoid errors like "Cannot write file 'src/foobar.d.ts' because it would overwrite input file." "resolveJsonModule": true, "skipLibCheck": true, "strict": true, // Disable if you have too many errors - "target": "es5" + "target": "ES2020" } }