From e50c9293a200bc7acad932ab9ccd3533bccbb87a Mon Sep 17 00:00:00 2001 From: Bilal Godil Date: Sat, 23 May 2026 17:20:59 -0700 Subject: [PATCH] fix(hexclave): update clientApp.version regex for @hexclave/js sentinel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit apps/e2e/tests/js/auth-like.test.ts:68 asserts clientApp.version matches `^js @stackframe/js@…`, but the build-time sentinel is stamped from packages/js/package.json's `name` field (configs/tsdown/plugins.ts:10), which PR 3 renamed @stackframe/js → @hexclave/js. Post-rename the sentinel is `js @hexclave/js@1.0.0` (or 1.0.1 after auto-bump), so the old regex fails. Caught by a follow-up reviewer pass — the published-artifact sentinel is the most direct observable that's affected by a source-name rename, and this is the one e2e test that asserts on it directly. --- apps/e2e/tests/js/auth-like.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/e2e/tests/js/auth-like.test.ts b/apps/e2e/tests/js/auth-like.test.ts index 21116ed19..ca4a8dcb1 100644 --- a/apps/e2e/tests/js/auth-like.test.ts +++ b/apps/e2e/tests/js/auth-like.test.ts @@ -65,7 +65,7 @@ it("clientApp.version should return a valid version string", async ({ expect }) const { clientApp } = await createApp({}); expect(clientApp.version).toBeDefined(); expect(typeof clientApp.version).toBe("string"); - expect(clientApp.version).toMatch(/^js @stackframe\/js@\d+\.\d+\.\d+/); + expect(clientApp.version).toMatch(/^js @hexclave\/js@\d+\.\d+\.\d+/); }); it("serverApp.version should return the same version as clientApp", async ({ expect }) => {