Dax Raad 10 月之前
父節點
當前提交
38cee3b848
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/opencode/script/build.ts

+ 2 - 2
packages/opencode/script/build.ts

@@ -83,8 +83,8 @@ const targets = singleFlag
 await $`rm -rf dist`
 await $`rm -rf dist`
 
 
 const binaries: Record<string, string> = {}
 const binaries: Record<string, string> = {}
-await $`bun install --os="*" --arch="*" @opentui/core`
-await $`bun install --os="*" --arch="*" @parcel/watcher`
+await $`bun install --os="*" --arch="*" @opentui/core@${pkg.dependencies["@opentui/core"]}`
+await $`bun install --os="*" --arch="*" @parcel/watcher@${pkg.dependencies["@parcel/watcher"]}`
 for (const item of targets) {
 for (const item of targets) {
   const name = [
   const name = [
     pkg.name,
     pkg.name,