From 41678ca16d19409204601e17fed7f53676ba315d Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Sun, 12 Oct 2025 10:50:00 -0700 Subject: [PATCH] chore(sdk): fix cjs support --- sdks/typescript/runner-protocol/package.json | 8 +++++--- sdks/typescript/runner/package.json | 5 +++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/sdks/typescript/runner-protocol/package.json b/sdks/typescript/runner-protocol/package.json index 17319cbac5..dfea8f8891 100644 --- a/sdks/typescript/runner-protocol/package.json +++ b/sdks/typescript/runner-protocol/package.json @@ -14,8 +14,9 @@ } }, "files": [ - "dist/**/*.js", - "dist/**/*.d.ts" + "dist", + "src", + "package.json" ], "scripts": { "build": "tsup src/index.ts", @@ -31,4 +32,5 @@ "tsup": "^8.5.0", "typescript": "^5.9.2" } -} \ No newline at end of file +} + diff --git a/sdks/typescript/runner/package.json b/sdks/typescript/runner/package.json index ac53a8475a..0af6c4c08b 100644 --- a/sdks/typescript/runner/package.json +++ b/sdks/typescript/runner/package.json @@ -12,6 +12,11 @@ "default": "./dist/mod.cjs" } }, + "files": [ + "dist", + "src", + "package.json" + ], "scripts": { "build": "tsup src/mod.ts", "check-types": "tsc --noEmit",