Skip to content

Commit f16de3d

Browse files
thdxropencode
authored andcommitted
ci: fix homebrew
1 parent 3b10b16 commit f16de3d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/opencode/script/publish.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ if (!snapshot) {
147147
await $`cd ./dist/aur-${pkg} && git push`
148148
}
149149

150-
/*
151150
// Homebrew formula
152151
const homebrewFormula = [
153152
"# typed: false",
@@ -205,5 +204,4 @@ if (!snapshot) {
205204
await $`cd ./dist/homebrew-tap && git add opencode.rb`
206205
await $`cd ./dist/homebrew-tap && git commit -m "Update to v${version}"`
207206
await $`cd ./dist/homebrew-tap && git push`
208-
*/
209207
}

packages/sdk/js/script/publish.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const pkg = await import("../package.json").then((m) => m.default)
1111
const original = JSON.parse(JSON.stringify(pkg))
1212
for (const [key, value] of Object.entries(pkg.exports)) {
1313
const file = value.replace("./src/", "./dist/").replace(".ts", "")
14+
/// @ts-expect-error
1415
pkg.exports[key] = {
1516
import: file + ".js",
1617
types: file + ".d.ts",

0 commit comments

Comments
 (0)