summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk
diff options
context:
space:
mode:
authorDax <[email protected]>2026-01-29 13:17:55 -0500
committerGitHub <[email protected]>2026-01-29 13:17:55 -0500
commit9ed3b0742f3861c5cbb0974329b13a228dcfd1a7 (patch)
treeaaa85ad12d4a2edc82925361bdf29f9a0394cd81 /packages/sdk
parentae9199e1014ca042262f53593167577a4e66f17c (diff)
downloadopencode-9ed3b0742f3861c5cbb0974329b13a228dcfd1a7.tar.gz
opencode-9ed3b0742f3861c5cbb0974329b13a228dcfd1a7.zip
ci (#11149)
Co-authored-by: opencode <[email protected]>
Diffstat (limited to 'packages/sdk')
-rw-r--r--packages/sdk/js/package.json2
-rwxr-xr-xpackages/sdk/js/script/publish.ts3
2 files changed, 1 insertions, 4 deletions
diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json
index 85022e30a..ccd0b6a94 100644
--- a/packages/sdk/js/package.json
+++ b/packages/sdk/js/package.json
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/sdk",
- "version": "1.1.42",
+ "version": "0.0.0-ci-202601291718",
"type": "module",
"license": "MIT",
"scripts": {
diff --git a/packages/sdk/js/script/publish.ts b/packages/sdk/js/script/publish.ts
index 79701b50e..46dd42b70 100755
--- a/packages/sdk/js/script/publish.ts
+++ b/packages/sdk/js/script/publish.ts
@@ -6,13 +6,10 @@ import { $ } from "bun"
const dir = new URL("..", import.meta.url).pathname
process.chdir(dir)
-await import("./build")
-
const pkg = await import("../package.json").then((m) => m.default)
const original = JSON.parse(JSON.stringify(pkg))
for (const [key, value] of Object.entries(pkg.exports)) {
const file = value.replace("./src/", "./dist/").replace(".ts", "")
- /// @ts-expect-error
pkg.exports[key] = {
import: file + ".js",
types: file + ".d.ts",