Dax Raad 4 місяців тому
батько
коміт
fa6c060324
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      script/publish.ts

+ 1 - 1
script/publish.ts

@@ -9,7 +9,7 @@ const notes = [] as string[]
 console.log("=== publishing ===\n")
 console.log("=== publishing ===\n")
 
 
 if (!Script.preview) {
 if (!Script.preview) {
-  const previous = await fetch("https://registry.npmjs.org/opencode-ai/latest")
+  const previous = await fetch("https://registry.npmjs.org/opencode-ai/latest-1")
     .then((res) => {
     .then((res) => {
       if (!res.ok) throw new Error(res.statusText)
       if (!res.ok) throw new Error(res.statusText)
       return res.json()
       return res.json()