From dd1313258f112d719970a12158034a984b7c53c4 Mon Sep 17 00:00:00 2001 From: Sylvain Duchesne Date: Tue, 7 Jul 2026 13:17:54 +0200 Subject: [PATCH] chore(client): scope a tsconfig to e2e/ so the SDK harness typechecks cleanly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The e2e harness files (broker.ts/run.ts/sdk-entry.ts) live outside the client tsconfig include (src/test), so an editor's broad tsc flagged process/node:*/ playwright as unresolved. Add packages/client/e2e/tsconfig.json (extends base, types: bun) — tsc -p e2e is exit 0; the client tsconfig stays unchanged/clean. Drop an unused getCurrentUser import in sdk-entry.ts. Co-Authored-By: Claude Opus 4.8 (1M context) --- packages/client/e2e/sdk-entry.ts | 2 +- packages/client/e2e/tsconfig.json | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 packages/client/e2e/tsconfig.json diff --git a/packages/client/e2e/sdk-entry.ts b/packages/client/e2e/sdk-entry.ts index d2c20c5..f679a12 100644 --- a/packages/client/e2e/sdk-entry.ts +++ b/packages/client/e2e/sdk-entry.ts @@ -15,7 +15,7 @@ */ import { ng as realNg, init as realInit } from "@ng-org/web"; -import { configure, configureStoreRegistry, setCurrentUser, getCurrentUser, getCaps, resetCaps } from "@ng-eventually/client/polyfill"; +import { configure, configureStoreRegistry, setCurrentUser, getCaps, resetCaps } from "@ng-eventually/client/polyfill"; import { docs, subscribeDoc, diff --git a/packages/client/e2e/tsconfig.json b/packages/client/e2e/tsconfig.json new file mode 100644 index 0000000..a940899 --- /dev/null +++ b/packages/client/e2e/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "../../../tsconfig.base.json", + "compilerOptions": { + "types": ["bun"], + "noEmit": true + }, + "include": ["."] +}