From d84a48d9bb81ac3eeefe02dd7c67d3610538251b Mon Sep 17 00:00:00 2001 From: amilz <85324096+amilz@users.noreply.github.com> Date: Sat, 14 Mar 2026 07:13:46 -0700 Subject: [PATCH] fix: include source files in published package for IDE navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Declaration maps reference `../../src/` but source files were excluded from the npm package. Adding `"./src/"` to the files field enables IDE "Go to Definition" to navigate to actual TypeScript source instead of .d.ts type declarations. Zero impact on app bundle size — bundlers resolve imports via `exports`/`main`/`module` to compiled JS in dist/. --- clients/js/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/js/package.json b/clients/js/package.json index dc726472..22b23dd4 100644 --- a/clients/js/package.json +++ b/clients/js/package.json @@ -16,7 +16,8 @@ }, "files": [ "./dist/src", - "./dist/types" + "./dist/types", + "./src/" ], "scripts": { "build": "rimraf dist && tsup && tsc -p ./tsconfig.declarations.json",