diff options
| author | Dax <[email protected]> | 2026-01-29 13:17:55 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-29 13:17:55 -0500 |
| commit | 9ed3b0742f3861c5cbb0974329b13a228dcfd1a7 (patch) | |
| tree | aaa85ad12d4a2edc82925361bdf29f9a0394cd81 /packages/sdk/js/script | |
| parent | ae9199e1014ca042262f53593167577a4e66f17c (diff) | |
| download | opencode-9ed3b0742f3861c5cbb0974329b13a228dcfd1a7.tar.gz opencode-9ed3b0742f3861c5cbb0974329b13a228dcfd1a7.zip | |
ci (#11149)
Co-authored-by: opencode <[email protected]>
Diffstat (limited to 'packages/sdk/js/script')
| -rwxr-xr-x | packages/sdk/js/script/publish.ts | 3 |
1 files changed, 0 insertions, 3 deletions
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", |
